I've followed the HOW-TO exactly.
I've got a Netgear WG111v2 USB dongle that I have installed using NDISWRAPPER.
'iwlist scan' shows me the available network:
Code:
anjan@supernal:~$ iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:14:6C:F0:03:06
ESSID:"AnjanWireless"
Protocol:IEEE 802.11bg
Mode:Master
Channel:11
Encryption key:on
Bit Rates:54 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 22 24 36 48 54
Quality:17 Signal level:0 Noise level:2
Extra: Last beacon: 0ms ago
Output of 'iwconfig'
Code:
anjan@supernal:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 802.11b/g link.. ESSID:"AnjanWireless"
Mode:Managed Channel=11 Access Point: Not-Associated
Bit Rate=11 Mb/s
Retry:on Fragment thr: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
sit0 no wireless extensions.
Contents of my 'interfaces' file:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
wireless-essid AnjanWireless
wpa-driver wext
wpa-conf master
wpa-ssid AnjanWireless
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk <hidden>
First, before reading this How-To, I had my 'interfaces' file without all the wpa config commands. Instead I had these two lines:
Code:
pre-up wpa_supplicant -Bw -Dwext -ieth0 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant
Contents of my 'wpa_supplicant.conf' file:
Code:
# Minimal /etc/wpa_supplicant.conf to associate with open
# access points. Please see
# /usr/share/doc/wpasupplicant/wpa_supplicant.conf.gz for more complete
# configuration parameters.
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=2
fast_reauth=1
network={
ssid="AnjanWireless"
scan_ssid=1
key_mgmt=WPA-PSK
proto=WPA
#pairwise=CCMP TKIP
#group=CCMP TKIP
#psk="<hidden>"
psk=<hidden>
}
Everything seems OK to me. But I just cannot hook up to my wireless router, even after disabling my wired connection (eth0) and disconnecting my ethernet cable.
Please, I've spent three days on this now and Ubuntu is really starting to frustrate me. Someone help!
Bookmarks