The ultimate solution for enabling Android mobile phones to support ipv6: Android ipv6

Source: Internet
Author: User
Tags php editor

The ultimate solution for enabling Android mobile phones to support ipv6: Android ipv6
The ultimate method to enable Android mobile phones to support ipv6: July 22, March 29, 2015 | classification: Network Technology Test Date: July 15, March 29, 2015 test environment: Android 4.2 required software: 1 for management: smanager (script manager) 2, for editing: Smeditor (script manager and Editor) 3 for browsing and addressing: ES File manager 4: QQ file transfer 5, linux File Editor: EDITPLUS other test software: 1, IPv6 permission software ipv6config2, IPV6 detection software simpleIP3, network status monitoring software NetworkInof 4, IPV6 addressing software IPv6 and More for mobile phone and computer communication upload software (QQ files) installation address: the modified files are stored here (you no longer need to download the file upload software between other mobile phones and computers. C: \ Documents \ Tencent Files \ your QQ number \ FileRecv \ MobileFile or D: \ Documents \ Tencent Files \ your QQ number \ FileRecv \ MobileFile 1. Modify the address to 1, modify address: root folder Symbol:/2, modify address: etc Folder: system/etc/2, run address: 1, root folder Symbol:/2, etc Folder: system/etc/Android File Modification basic Tutorial: http://man.chinaunix.net/linux/how/Linux-IPv6-HOWTO-11.html
Set an IPV6 control value and use "echo" to set a value.

# echo "1" >/proc/sys/net/ipv6/conf/all/forwarding

Use "sysctl"

Using "sysctl" to set the core is a popular method, you can also use it. If/proc-filesystem is not mounted, you can only access/proc/sys /*

The "sysctl" program is in the "procps" installation package. (Red Hat Linux systems)

Sysctl-interface needs to be activated in the core, and can be completed through the following options during compilation:


1. Use EDITPLUS to edit the text in Link (1) as the SH (***. sh) file of the UNIX line break ,. 2. Download the UNIX nx. stxi syntax file required by the Link (2) on the EditPlus official website and open the EDITPLUS software for configuration import. Tool -- parameter settings -- file -- setting syntax. File Extension: sh syntax file: import the nix. stx file in the local folder (note 2) 1, link: https://docs.google.com/document/d/1-npilXgxxd9TIo_OHCuLHz1jA8U-i5oihTsuKydReNY/2,https://www.editplus.com/javacpp.html

1. EditPlus is a text editor, HTML editor, PHP editor, and Java editor in Windows. It is not only a good replacement tool for notepad, but also provides many powerful functions for webpage authors and programmers.

2. nix. stx is the linux File character and encoding support library.


  • Solution

If the cause is found, the problem is solved. Set the value in the/proc/sys/net/ipv6/conf/*/accept_ra_defrtr file to 1. You can choose one of the following three methods:


1. Modify the ROM package

1. Modify the/init. qcom. sh file in boot. img In the rom package, and change echo 0> $ file/accept_ra_defrtr to echo 1> $ file/accept_ra_defrtr.

Ii. Update the ROM package

Then update the rom package. You can use the "android kitchen" tool to modify the ROM package, which requires a certain degree of linux basics and hands-on capabilities. There is a modified version on the Internet. It is applicable to M1 Standard Edition and is modified based on MIUI 3.38.

3. Modified files:

Download link: http://yunpan.cn/Q9uLckp6JwuKH (download later or visit https://docs.google.com/document/d/1-npilXgxxd9TIo_OHCuLHz1jA8U-i5oihTsuKydReNY/) download.


3. Use third-party software

1. One disadvantage of method 1 is that if you need to upgrade the system, you need to modify the rom package every time, which is troublesome.

2. Use the script file: (Click here to download) and run the script using "terminal Simulator" and other software. Then, ipv6 will be normal.

3. If you are in trouble, you can install a "script manager" software and set this script to start at startup. That's enough.

Required programs and commands:

3-1. The commands are as follows: Open smanager (script manager)

3-2, edit, copy the text in the link: https://docs.google.com/document/d/1-npilXgxxd9TIo_OHCuLHz1jA8U-i5oihTsuKydReNY/

3-3. Click "help" and there are 10 options: You can select:

(3-3-1) Run as root, (3-3-2) Run a boot (3-3-3) Run in Background

3-4. OK.

3-5, Run

3-6: Execute init. qcom. post_boot_boot.sh so that the system executes all the files in etc once. Finally exit.

 

Result:

Testing with third-party software is feasible. For example, ipv6config, simpleIP, NetworkInof, IPv6 and More.

If the IPv6 and More check URL is TYPE: Global Unicast, it is correct.

IPV6 addressing software IPv6 and More


Summary

The above methods have been tested to be truly available.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.