The ultimate solution for enabling Android phones to support IPv6

Source: Internet
Author: User
Tags php editor

The ultimate way to enable Android phones to support IPv6March 29, 2015| classification: Network TechnologyTest Date:March 29, 2015test Environment: Android 4.2Required 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 transmitter 5,Linux FilesEditor:EditPlusInstallation Address: C:\Documents\Tencent files\ your QQ number \filerecv\mobilefile or D:\Documents\Tencent files\ your QQ number \filerecv\ Mobilefile One, modify address: 1,Modify Address:Root folder symbol:/2,Modify Address:Etc folder: system/etc/Two, 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 a 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 the current popular method, you can also use. If/proc-filesystem is not attached, then 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, which can be done at compile time with the following options:


One, the link (1) in the text, edited with EditPlus for Unix newline character sh (***.sh) file,. Two, will link (2) the requiredUnix'sNx.stxi syntax file inEditPlus official website After the download opens EditPlus software to set up the import. Tool--Parameter settings--FILE--set syntax. File extension: SH syntax file: Import from a native foldernix.stx file (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 under Windows. It is not only a good substitute for Notepad, but it also provides many powerful functions for Web page authors and programmers.

2,Nix.stx is a Linux file character and encoding support library


    • Workaround

The reason is found, it is good to solve, is to set the value of the/proc/sys/net/ipv6/conf/*/accept_ra_defrtr file to 1. There are three ways you can choose one of the following:


One, modify the ROM package

1. Modify the/init.qcom.sh file in the boot.img in the ROM package to change the echo 0 > $file/accept_ra_defrtr to echo 1 > $file/accept_ra_ DEFRTR.

two, update ROM package

Then update this ROM package. The modified ROM package can be modified using the "Android Kitchen" tool, which requires a certain Linux base and hands-on capabilities. Online has a modified, applicable to the M1 standard version, is based on MIUI 3.38 modified.

3, changed the file:

Download link: Http://yunpan.cn/Q9uLckp6JwuKH (download later or visit Https://docs.google.com/document/d/1-npilXgxxd9TIo_ ohculhz1ja8u-i5oihtsukydreny/) Download.


third, the use of software

1. One drawback of the method is that if you need to upgrade the system, you need to modify the ROM package every time, more trouble.

2, using script files: (click here to download), using "terminal emulator" and other software to execute this script, IPv6 is normal.

3, if you feel trouble, you can install a "script manager" software, set this script to boot. Once and for all.

Required programs and commands:

3-1, the command is: 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, there are 10 options: You can choose:

(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, execution init.qcom.post_boot_boot.sh allows the system to execute all of the files in etc. Finally exits.



Summarize

The above method has been tested for real availability.


The ultimate solution for enabling Android phones to support IPv6

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.