On 2005.05.31 18:49, Brett Parker wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Barry Samuels bjsamuels@beenthere-donethat.org.uk wrote:
I now seem to have most things sorted out now except passing the encryption key automatically. The link is made but I am unable to access the network.
If you drop a file in /etc/waproamd/keys/accesspointmacaddress.wep containing just the wep key then it'll automagically do that step for you.
I have to admit that I took that filename literally at first (blush) but realisation dawned later. However now that I have a file of the format 00:00:00:ab:cd:00.wep, containing the *correct key*, in /etc/ waproamd/keys it still doesn't work until I type iwconfig wlan0 key blahblahblah
Hmm, well, looking at my system, I've got a file called 00:0f:b5:15:5e:6c.wep, the script reads it and through magic I get a connection. The wep key needs to be formatted with no spaces and followed by a blank line, AFAICT, in the file.
So, for example...
- ---Start 00:00:00:ab:cd:00.wep---
1A2B3C4D5E6F7A8B9C0D1E2F34
- --- End 00:00:00:ab:cd:00.wep---
Hope that helps,
Brett Parker
I knew someone would say that :-)
Mine is exactly the same but doesn't work. I wonder where I go from here. Is there any way of telling if the script actually reads the key file?
Barry Samuels http://www.beenthere-donethat.org.uk The Unofficial Guide to Great Britain