I'm running Ubuntu 7.04, and I have an Atheros based wi-fi card hence all
the ath0-ing going on below. My situation is that the wireless network I need to connect to requires me to use the second key index, which I can do, but then the connection keeps dying.
Here is how I've got it running on the command line:
ifconfig ath0 down
iwconfig ath0 essid <my network name>
iwconfig ath0 ap <my access point's mac address>
iwconfig ath0 key  <my WEP key>
iwconfig ath0 key 
iwconfig ath0 key open
iwconfig ath0 key on
ifconfig ath0 up
(pings are returned)
The problem: the connection drops after about 10 seconds unless I keep it alive by pinging somewhere.
Have I done something wrong, or is it something to do with the access point? It's not a signal strength problem - iwconfig lists near perfect signal quality and I'm right next to the AP.