2回答

0收藏

ad hoc wifi组网

无线通信 无线通信 3358 人阅读 | 2 人回复 | 2008-10-11

服务器端:
[root@WEIYAN /]$ insmod rt73.ko ??加载驱动
rtusb init ====>
usbcore: registered new driver rt73
[root@WEIYAN /]$ usb 1-1: new full speed USB device using s3c2410-ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
idVendor = 0x148f, idProduct = 0x2573
idVendor2 = 0x4600, idProduct2 = 0xc3f0
idVendor = 0x148f, idProduct = 0x2573
[root@WEIYAN /]$ ifconfig rausb0 up??打开无线网卡
rt73 driver version - 1.0.4.0
[root@WEIYAN /]$ ifconfig eth0 down?关闭以太网
[root@WEIYAN /]$ iwconfig rausb0 mode ad-hoc??设置AD-HOC模式
[root@WEIYAN /]$ iwconfig rausb0 essid weiyan??设置接入点
[root@WEIYAN /]$ iwconfig rausb0
rausb0??? RT73 WLAN? ESSID:"weiyan"?
????????? Mode:Ad-Hoc? Frequency=241.2 MHz? Cell: BE:5C:23:88:5C:75??
????????? Bit Rate=11 Mb/s??
????????? RTS thrff?? Fragment thrff
????????? Encryption keyff
????????? Link Quality=87/100? Signal level:-52 dBm? Noise level:-79 dBm
????????? Rx invalid nwid:0? Rx invalid crypt:0? Rx invalid frag:0
????????? Tx excessive retries:0? Invalid misc:0?? Missed beacon:0
[root@WEIYAN /]$ ifconfig rausb0 192.168.2.33??设置无线网络IP
[root@WEIYAN /]$ ping 192.168.2.22?????测试与客户端的连接状态
PING 192.168.2.22 (192.168.2.22): 56 data bytes
64 bytes from 192.168.2.22: seq=0 ttl=64 time=4.369 ms
64 bytes from 192.168.2.22: seq=1 ttl=64 time=4.310 ms
64 bytes from 192.168.2.22: seq=2 ttl=64 time=3.774 ms
64 bytes from 192.168.2.22: seq=3 ttl=64 time=4.109 ms
--- 192.168.2.22 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 3.774/4.140/4.369 ms
[root@WEIYAN /]$ httpd -h /bin/????打开httpd服务,指定路径为/bin目录
分享到:
回复

使用道具 举报

回答|共 2 个

倒序浏览

沙发

wave1

发表于 2009-3-11 13:37:17 | 只看该作者

RE:ad hoc wifi组网

Thank you very much,that's good.
回复 支持 反对

使用道具 举报

板凳

gzweiyan-44649

发表于 2010-12-23 20:10:21 | 只看该作者

WY S5PV210

WY S5PV210 V1.0 开发板
http://www.gzweiyan.com/html/products/20101120/88.html
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /3 下一条