Background: The wireless in the dormitory is in bridging mode. Using the school’s DHCP server, another Android device (Zhai board, 4.4, Intel 3735) can happily surf the Internet; this device was also available before and after a ROM update, Maybe it was the time when 5.1 came out but no one in the CM team updated the LG G2.
Symptoms: ip addr
tells me that the school has indeed sent a real IPV6 address (starting with 2402), but ping6 google.com
shows Network unreachable
, and I continue to search and find that ip -6 route
has no default gateway, just like this ISSUE said the same.
Solution: Just change the kernel parameters. After su, sysctl -w net.ipv6.conf.wlan0.accept_ra_defrtr=1
can persist until the next startup.
See here for more detailed instructions. To briefly summarize, you need to add in /etc/sysctl.conf
net.ipv6.conf.wlan0.accept_ra_defrtr=1
This line, and then run sysctl -p
as su as late as possible every time you start, because /init_qcom.sh
runs quite late, so writing it directly in /etc/init.d/
is not acceptable.
In addition, this time it should be that Qualcomm didn’t know what user space was thinking about, and Xiaomi was just taking the blame.
In addition, although it may not be obvious, the background of this blog has been changed.
This article is reproduced from: https://blog.heysh.xyz/2015/08/23/%E4%B8%BA%E4%BB%80%E4%B9%88%E6%88%91%E7%9A%84% E6%89%8B%E6%9C%BA%E7%94%A8%E4%B8%8D%E4%BA%86ipv6%EF%BC%9F/
This site is only for collection, and the copyright belongs to the original author.