Hi folks,
I am a newbie to wireless networking and I would like to seek help. Hopefully I can set up my wireless network successfully.
Here is the situation.
I bought a Linksys WRT54G router and WUSB54G USB reciever. I set up the device and test successfully in windowz (WTF?!). And then I boot into linux, downloaded and compiled ndiswrapper 1.1 (1.3rc1) and wpa_supplicant 0.3.9. Nothing is wrong up till now, i go to modprobe ndiswrapper as root. installed the USB reciever driver for windows using command ndiswrapper -i <path to driver>. ndiswrapper -l show everything is ready. But when I dhcpcd wlan0, it hangs there. nothing is shown until I send Ctrl-C to xterm.
tsun@killa:~$ sudo /sbin/modprobe ndiswrapper
tsun@killa:~$ /usr/sbin/ndiswrapper -l
Installed ndis drivers:
rt2500usb driver present, hardware present
tsun@killa:~$ sudo /sbin/iwlist scanning
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:E0:98:4E:9A:6E
ESSID:"rebby"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:0/100 Signal level:-91 dBm Noise level:-256 dBm
Encryption key
ff
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 02 - Address: 00:14:BF:16:87:00
ESSID:"homenet_w"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-53 dBm Noise level:-256 dBm
Encryption key
n
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:54 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:48 Mb/s
Extra:bcn_int=100
Extra:atim=0
Extra:wpa_ie=dd180050f20101000050f20401000050f20401000050f2020000
Cell 03 - Address: 00:12:17:C9:3F:C0
ESSID:"LittleMonsters"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-93 dBm Noise level:-256 dBm
Encryption key
n
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:54 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:48 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 04 - Address: 00:13:10:4A:4E:A5
ESSID:"linksys"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-93 dBm Noise level:-256 dBm
Encryption key
ff
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:54 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:48 Mb/s
Extra:bcn_int=100
Extra:atim=0
tsun@killa:~$ sudo /sbin/iwconfig wlan0
wlan0 IEEE 802.11g ESSID
ff/any Nickname:"killa"
Mode:Auto Frequency:2.412 GHz Access Point: 00:00:00:00:00:00
Bit Rate=11 Mb/s Tx-Power:20 dBm Sensitivity=-121 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key
ff
Power Management
ff
Link Quality:100/100 Signal level:135/154 Noise level:0/154
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:8553 Missed beacon:0
tsun@killa:~$ sudo /sbin/iwconfig wlan0 essid homenet_w
tsun@killa:~$ sudo /sbin/iwconfig wlan0 mode managed
tsun@killa:~$ sudo /sbin/iwconfig wlan0 key asas
Error for wireless request "Set Encode" (8B2A) :
invalid argument "asas".
tsun@killa:~$ sudo /sbin/iwconfig wlan0 enc asas
Error for wireless request "Set Encode" (8B2A) :
invalid argument "asas".
I tried 2.4.31 stock kernel, 2.6.13.2 and 2.6.12.6 vanilla self-made kernels on Slackware 10.2.
No luck.
Anyone can figure it out?
Thanks.