- 积分
- 87
贡献444
飞刀149 FD
注册时间2021-3-29
在线时间13 小时
|
楼主 |
发表于 2022-5-21 13:57:36
|
显示全部楼层
$adb devices
List of devices attached
13253800e9e60508 device
$ adb shell
evk_8mp:/ $ ifconfig
eth0 Link encap:UNSPEC Driver fec
inet addr:192.168.10.203 Bcast:192.168.11.255 Mask:255.255.252.0
inet6 addr: fe80::ed3f:2505:4370:6f79/64 Scope: Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:730 errors:0 dropped:0 overruns:0 frame:0
TX packets:99 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:114778 TX bytes:14612
lo Link encap:UNSPEC
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:UNSPEC
inet6 addr: fe80::dcec:3eff:fe31:df9f/64 Scope: Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:490
evk_8mp:/ $ ethtool -i eth0
Cannot get driver information: Permission denied
ethtool 工具是不被使用,权限不够
如何才能在adb shell 下使用ethtool |
|