I had removed network-manager as soon as I installed Ubuntu 10.04.
Earlier I used to do the following to connect (successfully) on command line:
iwconfig eth2 essid NASA
Now that WPA2 encryption is enabled, I tried this, but failed:
iwconfig eth2 essid NASA key hunter2
Error for wireless request "Set Encode" (8B2A) :
invalid argument "hunter2"
Where am I going wrong?
02:00.0 Network controller: Broadcom Corporation Device 4727 (rev 01)
lshw -C network gives:
description: Wireless interface
product: Broadcom Corporation
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth2
width: 64 bits
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=wl0 driverversion=220.127.116.11 ip=18.104.22.168 latency=0 multicast=yes wireless=IEEE 802.11
resources: irq:17 memory:56000000-56003fff
Edit 1: As suggested by CYREX, I tried WPA directions given in:
In the command:
sudo wpa_supplicant -D wext -i eth2 -c /etc/wpa_supplicant.conf
I used wext as the driver.
When I run this command, the following happens:
Trying to associate with 00:24:b2:39:f4:c6 (SSID='NASA' freq=2462 MHz) ioctl[SIOCSIWAP]: Device or resource busy
Association request to the driver failed
Associated with 00:1b:2f:a8:da:cc
WPA: Key negotiation completed with 00:1b:2f:a8:da:cc
[PTK=TKIP GTK=TKIP] CTRL-EVENT-CONNECTED - Connection to 00:1b:2f:a8:da:cc
completed (auth) [id=0 id_str=]
I tried both his WPA1 and WPA2 stuff. In either case
iwconfig eth2 gives
Encryption key: off.