连接wifi无法ping通
-
获取ip地址
root@TinaLinux:/# udhcpc -i wlan0 udhcpc: started, v1.27.2 udhcpc: sending discover udhcpc: sending select for 192.168.100.243 udhcpc: lease of 192.168.100.243 obtained, lease time 43200 udhcpc: ifconfig wlan0 192.168.100.243 netmask 255.255.255.0 broadcast 192.168.100.255 udhcpc: setting default routers: 192.168.100.1
root@TinaLinux:/# ifconfig br-lan Link encap:Ethernet HWaddr 3E:89:D0:BD:72:36 inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0 inet6 addr: fdb2:bc1c:1d47::1/60 Scope:Global UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:1 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:130 (130.0 B) eth0 Link encap:Ethernet HWaddr 3E:89:D0:BD:72:36 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 (0.0 B) TX bytes:0 (0.0 B) Interrupt:62 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:4290 errors:0 dropped:0 overruns:0 frame:0 TX packets:4290 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:335040 (327.1 KiB) TX bytes:335040 (327.1 KiB) wlan0 Link encap:Ethernet HWaddr 78:99:9C:CF:40:46 inet addr:192.168.100.243 Bcast:192.168.100.255 Mask:255.255.255.0 inet6 addr: fe80::7a99:9cff:fecf:4046/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2222 errors:0 dropped:0 overruns:0 frame:0 TX packets:37 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:740457 (723.1 KiB) TX bytes:5166 (5.0 KiB)
其中wlan0得ip地址确实配置上了,但是无法ping同。使用有线网是能ping通的。使用的镜像版本是通过v1.01的SDK编译的。
-
其他interface都down了,只留wlan0试一试。
-
-
-
@rcfly 感谢日初飞,下次统计FAQ的时候记得报数+1
-
@rcfly 学习了
-
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号