各位大佬,我用自己编译的tina,网络连接失败,无论wifi还是有线连接都不行。
板子无线模组是RTL8723ds的。源码中已经没有这个驱动了,驱动是自己按照网上教程改的。
通过无线扫描,日志如下,没有报错,就是扫描不到网络,已连接天线
root@TinaLinux:/# wifi_scan_results_test
*********************************
***Start scan!***
*********************************
bssid / frequency / signal level / flags / ssid
******************************
Wifi get_scan_results: Success!
******************************
通过ifconfig 能看到接口:
root@TinaLinux:/# ifconfig
br-lan Link encap:Ethernet HWaddr 22:74:77:FE:45:80
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2074:77ff:fefe:4580/64 Scope:Link
inet6 addr: fdea:9b58:4a7e::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7117 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:373407 (364.6 KiB) TX bytes:5008 (4.8 KiB)
eth0 Link encap:Ethernet HWaddr 22:74:77:FE:45:80
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9271 errors:0 dropped:0 overruns:0 frame:0
TX packets:120 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1278194 (1.2 MiB) TX bytes:27884 (27.2 KiB)
Interrupt:9
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:13835 errors:0 dropped:0 overruns:0 frame:0
TX packets:13835 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:1079504 (1.0 MiB) TX bytes:1079504 (1.0 MiB)
wlan0 Link encap:Ethernet HWaddr 7C:A7:B0:25:9D:4A
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)
有线连接路由器,使用命令配置ip:
root@TinaLinux:/# ifconfig eth0 192.168.31.222
root@TinaLinux:/# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 22:74:77:FE:45:80
inet addr:192.168.31.222 Bcast:192.168.31.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9906 errors:0 dropped:0 overruns:0 frame:0
TX packets:121 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1354041 (1.2 MiB) TX bytes:27970 (27.3 KiB)
Interrupt:9
配置完之后还是ping不通路由器。
配置自动获取ip,输出三句之后就卡了,没有后续了。
root@TinaLinux:/# udhcpc -i eth0
udhcpc: started, v1.27.2
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
我怀疑还是驱动有问题,但是不知道怎么看日志,排查了,向各位大佬请教下该怎么查。
驱动查看:
root@TinaLinux:/# lsmod
8723ds 1445136 0
bnep 11548 0
btintel 8089 1 btusb
btusb 30816 0
fuse 85019 0
hidp 16957 0
ipt_REJECT 1646 0
iptable_filter 1514 0
tlsc6x 68595 0
xt_LOG 1467 0
xt_TCPMSS 2753 0
xt_comment 1116 0
xt_limit 2265 0
xt_mac 1236 0
xt_mark 1398 0
xt_multiport 1847 0
xt_time 2307 0
最近编辑记录 gaoer (2024-09-29 10:05:20)
离线
离线