Can the phone support ipv6_ to introduce the ipv6 function of the Android phone?

Nowadays, IPv6 is becoming more and more popular, and many universities support the IPv4/IPv6 dual stack protocol. At the same time, IPv6 routers within 100 yuan have also been listed. However, most Android phones now do not support IPv6 by default. By simple means, you can enable Android phones to support IPv6.

The origin of IPv6 network

Since the birth of the Internet in 1968, the Internet has been rapidly developed based on the TCP/IP network protocol. As the number of hosts on the Internet continues to increase, more and more hosts need to allocate network addresses for interconnection. IPv4 The shortcomings of the insufficient number of network address resources have gradually begun to be exposed. In view of this, the IETF (Internet Task Engineering Group) began to plan and design a next-generation IPv6 network protocol technology solution for iterative IPv4 protocol. The implementation and commissioning of the IPv6 network protocol solution successfully solved the lack of IP addresses. Network equipment access to the Internet is not compatible

Introduction to Android platform architecture

The Android system platform is a Linux-based embedded operating system platform specially designed for mobile portable devices developed by Google and the Open Handset Alliance. Based on the Linux kernel architecture, the Android system not only uses the Yaffs2 file system, but also adds drivers specially written for related mobile devices, and also optimizes the relevant source code in the Linux system, making it more suitable for mobile portable terminals.

The framework of the Android system is roughly divided into four levels, namely the ApplicaTIon layer, the ApplicaTIon Framework layer, the Librarys layer and the Linux Kernel layer.

The Linux Kernel layer is mainly used to provide some services related to the interaction between the upper layer system and the underlying hardware, including hardware security protection mechanism, memory allocation policy management, operating system process management, network connection management, and related hardware driver module implementation. Wait.

Turn on IPv6 for Android phones

The phone first needs to obtain root privileges. Use the normal one-click root tool, recommend "perfect Root".

Install the "ES File Browser". Open the Root Toolbox and mount the file system as "readable and writable" (RW).

Install "SManager".

Open notepad++ on your computer, copy and paste the following:

#! /system/bin/sh

For file in /proc/sys/net/ipv6/conf/*

Do

Echo 1 》 $file/accept_ra_defrtr

Done

Then save the file as "EnableIPv6.sh".

Note that the encoding is UTF8 and the newline is UNIX.

Copy "EnableIPv6.sh" to your phone and use the ES file browser to move it to the /etc directory.

Execute the script using SManager. Now your Android phone can get the IPv6 address via DHCP. Wait a few minutes, open http://ipv6.tsinghua.edu.cn/, you can see your IPv6 address on the right side of the page.

Precautions

The above method was tested on Android 4.0 (ICS).

If the script execution is invalid, check if the file system is mounted as RW.

Both ISP and router must support IPv6, and the router must enable DHCP.

Android IPv6 connection experiment process

hardware equipment

1. The Huawei IPv6 router was purchased. The parameter verification confirmed that the device can be built based on the IPv6 protocol and used as the network signal access source in the experiment.

2. The mobile phone used in the experiment is Xiaomi 4 mobile phone, and the mobile phone model is MI 4LTE. The complete mobile phone parameter diagram is shown in Figure 1 below. After the parameter verification, the mobile phone system and baseband module have experimental conditions.

Can the phone support ipv6_ to introduce the ipv6 function of the Android phone?

Control Relay

Control relay is a classification of Signal Relay, is commonly used in automatic control system devices, generally used to connect and disconnect the circuit, is an important component of automatic control and remote control circuit.

Control Relay,Control Latching Relay,Industrial Control Relays,Control Equipment Relay

Ningbo Xingchuangzhi Electric Appliance Co.,Ltd. , https://www.xingchuangzhi.com

Posted on