The ultimate method to enable Android mobile phones to support IPv6

Source: Internet
Author: User
Tags php editor

The ultimate method to enable Android mobile phones to support IPv6

Test Date:March 29, 2015

Test environment:Android 4.2

Software required:

1. Used 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 testing software:

1. IPv6 permission software ipv6config

2. simpleIP

3. NetworkInof

4. IPV6 addressing software IPv6 and More

The installation address of the software (QQ file) used for communication and uploading between mobile phones and computers:

The modified files are stored here (you no longer need to download the file upload software between other mobile phones and computers.

C: \ Documents ents \ Tencent Files \ your QQ number \ FileRecv \ MobileFile

Or

D: \ Documents ents \ Tencent Files \ your QQ number \ FileRecv \ MobileFile

1. Modify the address:

1. Modify the address: root folder Symbol :/

2. Modify the address: etc Folder: system/etc/

2. Execution 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

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, links: https://docs.google.com/document/d/1-npilXgxxd9TIo_OHCuLHz1jA8U-i5oihTsuKydReNY/

Https://www.editplus.com/javacpp.html 2

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.

Related Article

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.