|
【Android】
Android无法使用USB网卡上网
发表于 2023-5-10 09:24:29
浏览:4583
|
回复:1
打印
只看该作者
[复制链接]
楼主
问题描述及复现步骤:
USB网卡使用的是RTL8152
使用ifconfig指令可以看到eth1 已经link了
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope: Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 TX bytes:0
- dummy0 Link encap:Ethernet HWaddr c6:15:76:35:c3:48
- inet6 addr: fe80::c415:76ff:fe35:c348/64 Scope: Link
- UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 TX bytes:350
- eth0 Link encap:Ethernet HWaddr d2:13:ab:8b:bc:df Driver rk_gmac-dwmac
- UP BROADCAST MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 TX bytes:0
- Interrupt:75
- ip_vti0 Link encap:UNSPEC
- NOARP MTU:1480 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 TX bytes:0
- ip6_vti0 Link encap:UNSPEC
- NOARP MTU:1364 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 TX bytes:0
- sit0 Link encap:IPv6-in-IPv4
- NOARP MTU:1480 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 TX bytes:0
- ip6tnl0 Link encap:UNSPEC
- NOARP MTU:1452 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 TX bytes:0
- wlan0 Link encap:Ethernet HWaddr 68:4e:05:05:d0:77 Driver rtl8821cu
- BROADCAST MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 TX bytes:0
- p2p0 Link encap:Ethernet HWaddr 6a:4e:05:05:d0:77 Driver rtl8821cu
- BROADCAST MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 TX bytes:0
- eth1 Link encap:Ethernet HWaddr 00:e0:4c:36:01:d6 Driver r8152
- inet addr:172.16.151.37 Bcast:172.16.151.255 Mask:255.255.255.0
- inet6 addr: fe80::c1d3:ca43:41b0:1238/64 Scope: Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:208 errors:0 dropped:0 overruns:0 frame:0
- TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:15124 TX bytes:1864
复制代码
|
|