waproamd and encryption key

From: Barry Samuels (bog.off_at_closedworld.com)
Date: 06/01/05


Date: Wed, 01 Jun 2005 21:17:33 +0100

I have waproamd installed on Sarge/Testing and everything seems to work
except for assigning a key automatically.

I have a file in /etc/waproamd/keys of the form 00:00:00:00:00:00.wep
which contains one key. The key _is_ correct as I can copy and paste it
onto the command line and it works.

However although my wireless card connects I cannot reach the network
until I type iwconfig wlan0 key xxxxxxxxxxx.

I have discovered, by running waproamd in the foreground, that the script
in /etc/waproamd/scripts is being run and that it extracts and applies the
correct encryption key.

dhclient is then run which contacts the DHCP server on my network and is
assigned an IP address. I assume from this that at this point the wireless
network link is made - otherwise how could the DHCP server be contacted?

However when this processing has finished the network encryption key
appears to have been lost, iwconfig shows 'enc: off', and the network
connection is no longer active. The light on the wireless Cardbus card is
glowing steadily through all this. If I then set the key with iwconfig as
mentioned above everything starts working.

I don't understand why this is happening - can anyone help?

I'm running Debian Sarge/Testing
                kernel 2.4.27
                waproamd 0.6-7
                hotplug 0.0.2004032
                ndiswrapper

-- 
Barry Samuels
http://www.beenthere-donethat.org.uk - The Unofficial Guide to Great Britain
My real email address is barry (AT) realbritain (DOT) plus (DOT) com


Relevant Pages

  • waproamd and encryption key
    ... except for assigning a key automatically. ... However although my wireless card connects I cannot reach the network ... until I type iwconfig wlan0 key xxxxxxxxxxx. ...
    (Debian-User)
  • waproamd and encryption key
    ... However although my wireless card connects I cannot reach the network ... until I type iwconfig wlan0 key xxxxxxxxxxx. ... My real email address is barry realbritain (DOT) plus com ...
    (comp.os.linux.misc)
  • Wireless network help
    ... Netgear Model WG111US wireless adapter. ... Using iwconfig I get the following results: ... Have you configured your network interface under the ... I prefer static for security reasons. ...
    (Ubuntu)
  • TidBITS#785/27-Jun-05
    ... Jeff Carlson continues his exploration of computerized poker ... and Adam examines both the Canary Wireless ... Rogue Amoeba's Audio Hijack Pro ... A Canary in the Network ...
    (comp.sys.mac.digest)
  • Re: Linksys NAS200 Network Storage adapter
    ... The only two wireless network settings that are of any consequence are the SSID and the encryption method and password. ... either click the "Print Network Settings" button on the final screen of the Wizard or simply access the appropriate XML file and get at them that way and then use the information to configure the router manually as I explained earlier. ... I've read thru some of the MS web site on that product and it appears to do everything a NAS will do plus other cool features, such as, with an xbox360 with the wireless adapter, I can stream my video/pics to my TV for family viewing. ...
    (microsoft.public.windowsxp.network_web)