断断续续,搞了好些天,一直是那“incorrect signature”错误,晚上就整理一下那源码,再试试编译、放到板上,竟然可以了,太神奇了,不敢相信。(参考的资料都是网上的,因为原厂家的支援跟不上)。
[root@/]#ifconfig wlan0 192.168.21.10 up
[root@/]# ping 192.168.21.190
PING 192.168.21.190 (192.168.21.190): 56 data bytes
64 bytes from 192.168.21.190: seq=0 ttl=128 time=5.699 ms
64 bytes from 192.168.21.190: seq=1 ttl=128 time=0.948 ms
64 bytes from 192.168.21.190: seq=2 ttl=128 time=0.915 ms
64 bytes from 192.168.21.190: seq=3 ttl=128 time=0.973 ms
64 bytes from 192.168.21.190: seq=4 ttl=128 time=0.961 ms
64 bytes from 192.168.21.190: seq=5 ttl=128 time=0.910 ms
64 bytes from 192.168.21.190: seq=6 ttl=128 time=0.973 ms
64 bytes from 192.168.21.190: seq=7 ttl=128 time=0.889 ms
64 bytes from 192.168.21.190: seq=8 ttl=128 time=0.918 ms
64 bytes from 192.168.21.190: seq=9 ttl=128 time=0.963 ms
64 bytes from 192.168.21.190: seq=10 ttl=128 time=0.910 ms
64 bytes from 192.168.21.190: seq=11 ttl=128 time=0.949 ms
64 bytes from 192.168.21.190: seq=12 ttl=128 time=0.977 ms
--- 192.168.21.190 ping statistics ---
96 packets transmitted, 96 packets received, 0% packet loss
96 packets transmitted, 96 packets received, 0% packet loss
[root@/]#route add default gw 192.168.21.190 <-----主机上双网上共享了的
[root@/]#echo nameserver 202.96.134.133>/etc/resolv.conf
[root@/]#echo nameserver 202.96.128.86>>/etc/resolv.conf
[root@/]#get http://www.163.com
Connecting to www.163.com (121.9.238.94:80)
index.html 100% |*******************************| 358k --:--:-- ETA