連接iTV的網(wǎng)線,斷開wifi時(shí),
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 ppp0 scope link
10.126.32.1 dev ppp0 proto kernel scope link src 10.126.58.241
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.12
root@zx296702_asic:/ # getprop | grep dhcp
[dhcp.eth0.dns1]: [0.0.0.0]
[dhcp.eth0.gateway]: [10.126.32.1]
[dhcp.eth0.ipaddress]: [10.126.58.241]
[dhcp.eth0.mask]: [255.255.255.255]
[dhcp.wlan0.dns1]: [59.51.78.210]
[dhcp.wlan0.dns2]: [222.246.129.80]
[dhcp.wlan0.gateway]: [192.168.1.1]
[dhcp.wlan0.ipaddress]: [192.168.1.103]
[dhcp.wlan0.leasetime]: [7200]
[dhcp.wlan0.mask]: [255.255.255.0]
[dhcp.wlan0.pid]: [2474]
[dhcp.wlan0.result]: [failed]
[dhcp.wlan0.server]: [192.168.1.1]
[dhcp.wlan0.vendorInfo]: []
[init.svc.zte_dhcp]: [stopped]
root@zx296702_asic:/ # getprop | grep eth
[dhcp.eth0.dns1]: [0.0.0.0]
[dhcp.eth0.gateway]: [10.126.32.1]
[dhcp.eth0.ipaddress]: [10.126.58.241]
[dhcp.eth0.mask]: [255.255.255.255]
[init.svc.net-eth0]: [stopped]
[net.eth.nettype]: [0]
[net.zte.eth.netstate]: [CONNECTED]
[sys.AccessMethod]: [PPPOE]
root@zx296702_asic:/ # getprop | grep ppp
[init.svc.zte_pppoe]: [stopped]
[net.pppoe.errocode]: []
|