cashwl
发表于 2016-11-3 09:49
本帖最后由 cashwl 于 2016-11-3 10:58 编辑
111111
cashwl
发表于 2016-11-3 10:09
本帖最后由 cashwl 于 2016-11-3 11:07 编辑
22222
cashwl
发表于 2016-11-3 10:28
连接iTV的网线,断开wifi时,
root@zx296702_asic:/ # ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1452 qdisc pfifo_fast state UP qlen 1000
link/ether 90:d8:f3:67:96:4e brd ff:ff:ff:ff:ff:ff
inet 192.168.1.12/24 brd 192.168.1.255 scope global eth0
inet6 fe80::92d8:f3ff:fe67:964e/64 scope link
valid_lft forever preferred_lft forever
3: tunl0: <NOARP> mtu 1480 qdisc noop state DOWN
link/ipip 0.0.0.0 brd 0.0.0.0
4: sit0: <NOARP> mtu 1480 qdisc noop state DOWN
link/sit 0.0.0.0 brd 0.0.0.0
5: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
link/ether 3c:33:00:45:d6:78 brd ff:ff:ff:ff:ff:ff
6: p2p0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1452 qdisc mq state DORMANT qlen 1000
link/ether 3e:33:00:45:d6:78 brd ff:ff:ff:ff:ff:ff
7: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1452 qdisc pfifo_fast state UNKNOWN qlen 3
link/ppp
inet 10.126.58.241 peer 10.126.32.1/32 scope global ppp0
root@zx296702_asic:/ # ip route
default via 10.126.32.1 dev ppp0
10.126.32.1 dev ppp0scope link
10.126.32.1 dev ppp0proto kernelscope linksrc 10.126.58.241
192.168.1.0/24 dev eth0proto kernelscope linksrc 192.168.1.12
root@zx296702_asic:/ # getprop | grep dhcp
:
:
:
:
:
:
:
:
:
:
:
:
:
: []
:
root@zx296702_asic:/ # getprop | grep eth
:
:
:
:
:
:
:
:
root@zx296702_asic:/ # getprop | grep ppp
:
: []
cashwl
发表于 2016-11-3 10:47
本帖最后由 cashwl 于 2016-11-3 10:52 编辑
我手动关闭有线开WIFI 的时候 提示
[ 1654.391000] RTL871X: rtw_set_802_11_connect(wlan0)fw_state=0x00000008
[ 1654.461000] RTL871X: start auth
[ 1654.466000] RTL871X: auth success, start assoc
[ 1654.470000] RTL871X: assoc success
[ 1654.906000] RTL871X: recv eapol packet
[ 1654.911000] RTL871X: send eapol packet
[ 1655.917000] RTL871X: recv eapol packet
[ 1655.918000] RTL871X: send eapol packet
[ 1655.920000] RTL871X: set pairwise key camid:4, addr:e0:05:c5:ca:28:9a, kid:0, type:AES
[ 1655.957000] RTL871X: set group key camid:5, addr:e0:05:c5:ca:28:9a, kid:2, type:AES
手动关闭WIFI连接有线 提示
[ 1963.789000] RTL871X: module exit start
[ 1963.800000] RTL871X: rtw_ndev_uninit(wlan0)
[ 1963.837000] RTL871X: rtw_ndev_uninit(p2p0)
[ 1963.860000] RTL871X: rtw_cmd_thread: DriverStopped(1) SurpriseRemoved(0) break at line 478
[ 1963.869000] RTL871X: rtw_dev_unload: driver not in IPS
[ 1964.096000] RTL871X: module exit success
cashwl
发表于 2016-11-3 10:58
连接iTV的网线,同时连接wifi
root@zx296702_asic:/ # ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1452 qdisc pfifo_fast state UP qlen 1000
link/ether 90:d8:f3:67:96:4e brd ff:ff:ff:ff:ff:ff
inet6 fe80::92d8:f3ff:fe67:964e/64 scope link
valid_lft forever preferred_lft forever
3: tunl0: <NOARP> mtu 1480 qdisc noop state DOWN
link/ipip 0.0.0.0 brd 0.0.0.0
4: sit0: <NOARP> mtu 1480 qdisc noop state DOWN
link/sit 0.0.0.0 brd 0.0.0.0
11: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 3c:33:00:45:d6:78 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.103/24 brd 255.255.255.255 scope global wlan0
inet6 fe80::3e33:ff:fe45:d678/64 scope link
valid_lft forever preferred_lft forever
12: p2p0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1452 qdisc mq state DORMANT qlen 1000
link/ether 3e:33:00:45:d6:78 brd ff:ff:ff:ff:ff:ff
root@zx296702_asic:/ #ip route]
Object "route]" is unknown, try "ip help".
1|root@zx296702_asic:/ #ip route
default via 192.168.1.1 dev wlan0
192.168.1.0/24 dev wlan0scope link
192.168.1.0/24 dev wlan0proto kernelscope linksrc 192.168.1.103
192.168.1.1 dev wlan0scope link
root@zx296702_asic:/ # getprop | grep dhcp
:
:
:
:
:
:
:
:
:
:
:
:
:
: []
:
root@zx296702_asic:/ # getprop | grep eth
:
:
:
:
:
:
:
:
root@zx296702_asic:/ # getprop | grep ppp
:
: []
cashwl
发表于 2016-11-3 11:01
我想请教下楼主另外的教程是 编辑 vi /system/bin/netchang.sh 您的是 vi /system/bin/netchange.sh这个没影响吧?
cashwl
发表于 2016-11-3 11:17
按楼主教程再试了一次有一个错误
root@zx296702_asic:/ # mount -o rw,remount /system
root@zx296702_asic:/ # vi /system/bin/netchange.sh
root@zx296702_asic:/ # chmod 0755 /system/bin/netchange.sh
sh &" >> /system/bin/init.zte.post_boot.sh <
root@zx296702_asic:/ # /system/bin/netchange.sh
Package com.ztestb.upgrade new blocked state: true
/system/bin/netchange.sh: syntax error: 'while' unmatched (这里好像提示错误)
1|root@zx296702_asic:/ # /system/bin/netchange.sh
Package com.ztestb.upgrade new blocked state: true
/system/bin/netchange.sh: syntax error: 'while' unmatched
cashwl
发表于 2016-11-3 16:08
重启之后手动执行 /system/bin/netchange.sh 与47楼的兄弟情况有些像 结果是导致WIFI 连不上有线也连不上
root@zx296702_asic:/ # /system/bin/netchange.sh
Package com.ztestb.upgrade new blocked state: true
=itv stopped...
RTNETLINK answers: No such process
RTNETLINK answers: File exists
200 0 Resolver command succeeded
200 0 Resolver command succeeded
200 0 Resolver command succeeded
=switched to wlan0...
=gateway:192.168.1.1 dns:59.51.78.210
UMP<2>: New session opened
UMP<2>: New session opened
UMP<2>: New session opened
NadOo
发表于 2016-11-3 19:11
已加QQ,另外,请再执行 getprop | grep dns 看看结果
lvye0451
发表于 2016-11-6 22:54
弄完后点ITV连接不上,出现错误代码20141.我的盒子是电信B860A1.1,PPPOE方式
页:
1
2
3
4
5
6
7
8
[9]
10
11
12
13
14
15