|
|
|
|
|
|
|
[Original]
[Print]
[Top]
|
具体情况是这样的
我家有D-LINK的无线路由 SSID为hippo 用WEP加密
地址192.168.0.2
现在有一个无线网卡,驱动是ndiswrapper-0.8装的
搜寻网络能够找到
[root@localhost ~]# iwlist wlan0 scanning
wlan0 Scan completed :
Cell 01 - Address: 00:1C:F0:4A:44:34
ESSID:"hippo"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.417 GHz (Channel 2)
Quality:65/100 Signal level:-54 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
我用ifconfig wlan0 192.168.0.8 up 启动过了
也用过iwconfig wlan0 ap 00:1C:F0:4A:44:34
iwconfig wlan0 key s:密码
iwconfig wlan0 mod Ac-Hoc
然后有个问题 用 iwconfig wlan0 essid hippo 或者iwconfig wlan0 essid "hippo"执行 没有任何返回错误
但是用iwconfig看 ESSID没有改变还是ESSID:off/any
不知道为什么????
还有就是ping 不到192.168.0.2或者其他该网段的地址啊,不知道为什么
列一些信息,不知道有用没
[root@localhost ~]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:off/any
Mode:Ad-Hoc Frequency:2.417 GHz Cell: Not-Associated
Bit Rate:54 Mb/s Tx-Power:20 dBm Sensitivity=0/3
RTS thr:off Fragment thr:off
Encryption key:3330-3231-3532-3130-3833-7763-7A Security mode:open
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[root@localhost ~]#
[root@localhost ~]# iwlist encryption
lo no encryption keys information.
eth0 no encryption keys information.
wlan0 2 key sizes : 40, 104bits
4 keys available :
[1]: 3330-3231-3532-3130-3833-7763-7A (104 bits)
[2]: off
[3]: off
[4]: off
Current Transmit Key: [1]
Security mode:open
[root@localhost ~]#
[root@localhost ~]# iwlist wlan0 event
wlan0 Wireless Events supported :
0x8B04 : Set Frequency/Channel (kernel generated)
0x8B06 : Set Mode (kernel generated)
0x8B13 : Spy threshold crossed
0x8B15 : New Access Point/Cell address - roaming
0x8B19 : Scan request completed
0x8B1A : Set ESSID (kernel generated)
0x8B2A : Set Encoding (kernel generated)
0x8C00 : Tx packet dropped - retry exceeded
0x8C02 : Custom driver event
0x8C03 : Registered node
0x8C04 : Expired node
[root@localhost ~]# iwlist wlan0 key
wlan0 2 key sizes : 40, 104bits
4 keys available :
[1]: 3330-3231-3532-3130-3833-7763-7A (104 bits)
[2]: off
[3]: off
[4]: off
Current Transmit Key: [1]
Security mode:open
[root@localhost ~]#
有谁用无线上网过的???指导下
|
|
|
[Original]
[Print]
[Top]
|
|
|