|
6#
楼主 |
发表于 2020-4-22 19:15:43
|
只看该作者
你好,我看到文档调整了,按照现在的做了一遍,结果还是一样,日志如下:帮忙再看一下,谢谢。
ps:我之前也用过cfgainetd.sh和ethtool做过,但是也没效果,这个脚本和另一个configAndroidNet.sh原理是一样的,只是这个自动帮我们选择网络比较方便,add了所有的LOCAL_NET,是这样的吧。
k62v1_64_bsp:/ # ndc list
500 0 Command not recognized
k62v1_64_bsp:/ # ndc tether interface list
111 0 rndis0
111 0 rndis0
200 0 Tether operation succeeded
k62v1_64_bsp:/ # ndc tether status
210 0 Tethering services started
k62v1_64_bsp:/ # ndc tether dns list
115 0 101
112 0 221.130.33.52
112 0 192.168.1.1
200 0 Tether operation succeeded
k62v1_64_bsp:/ # ip route
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.141
192.168.180.0/24 dev rndis0 proto kernel scope link src 192.168.180.1
k62v1_64_bsp:/ # ip rule
0: from all lookup local
9999: from all oif rndis0 lookup local_network
10000: from all fwmark 0xc0000/0xd0000 lookup legacy_system
10500: from all iif lo oif rndis0 uidrange 0-0 lookup local_network
10500: from all iif lo oif wlan0 uidrange 0-0 lookup wlan0
13000: from all fwmark 0x10063/0x1ffff iif lo lookup local_network
13000: from all fwmark 0x10065/0x1ffff iif lo lookup wlan0
14000: from all iif lo oif rndis0 lookup local_network
14000: from all iif lo oif wlan0 lookup wlan0
15000: from all fwmark 0x0/0x10000 lookup legacy_system
16000: from all fwmark 0x0/0x10000 lookup legacy_network
17000: from all fwmark 0x0/0x10000 lookup local_network
18000: from all iif rndis0 lookup 1032
18000: from all iif rndis0 lookup wlan0
19000: from all fwmark 0x65/0x1ffff iif lo lookup wlan0
22000: from all fwmark 0x0/0xffff iif lo lookup wlan0
32000: from all unreachable |
|