查看: 3172|回复: 2

ad hoc wifi组网

[复制链接]

该用户从未签到

发表于 2008-10-11 21:57:25 | 显示全部楼层 |阅读模式
分享到:
服务器端:
[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目录
回复

使用道具 举报

该用户从未签到

发表于 2009-3-11 13:37:17 | 显示全部楼层

RE:ad hoc wifi组网

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

使用道具 举报

该用户从未签到

 楼主| 发表于 2010-12-23 20:10:21 | 显示全部楼层

WY S5PV210

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

使用道具 举报

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

本版积分规则

关闭

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



手机版|小黑屋|与非网

GMT+8, 2024-11-24 13:41 , Processed in 0.135308 second(s), 19 queries , MemCache On.

ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

苏公网安备 32059002001037号

Powered by Discuz! X3.4

Copyright © 2001-2024, Tencent Cloud.