[clue-tech] wireless on Ubuntu

Dennis J Perkins dennisjperkins at comcast.net
Wed Jun 6 20:37:20 MDT 2007


> 
> How about more details about EXACTLY what you did to get this working?
> 
> My laptop (Thinkpad R41) also has an Atheros chip, and I get very poor
> results. I can only get the device working on an older kernel; the
> current kernel doesn't even activate the device.
> 
> BTW, I'm on Ubuntu 7.04 (Feisty) with, you guessed it, Network Manager.
> 

Someone else has that laptop, so I will try to do this from memory.

Ubuntu detected the card and installed madwifi properly, so I assume the
same is true for you.

I used NetworkManager to do the initial setup.  Specify the name of the
wireless network and enter your passphrase.  I already had a 128-bit WEP
key, so I entered that.  If you want to use an ASCII key, I think
prefixing "s:" is all you need for that.  For example,  s:mykey

The network uses restricted mode (I think Windows and some vendors call
this shared mode.), so I selected Connect with encryption enabled.  This
is the pointer where NetworkManager broke.  To make this work, I added
this to the ath0 in /etc/network/interfaces:

pre-up iwpriv ath0 authmode 2


After this, I think all that was left was to stop and restart
networking.  I have a wireless card that does not want to let me change
settings after it is configured at boot, so it's possible you might need
to reboot.  I think this is the command on Ubuntu: 

/etc/init.d/network restart



When I set up the router for that network earlier this year, I entered
an ASCII string and the router returned a hex key.  I don't know if the
ASCII string I entered is equivalent to the ASCII WEP key that you can
use when configuring the card.


At this point, I have no idea how to set Linux up to connect to
different wireless networks.




More information about the clue-tech mailing list