802.11b, Ubuntu Linux, Airport and You

If by any chance you happen to be trying to get a Ubuntu system (or probably any Linux system) to talk to an Apple Airport (in my case the original 802.11b UFO style), don't try to use the plain ASCII password for the WEP key – Linux and Apple seem to have different algorithms for converting the password to the actual HEX key.

Instead, open the Airport Admin Utility, double click on the base station in the list to open its configuration interface and then choose "Network Equivalent Password…" from the "Base Station" menu. Enter the hex key it gives you into the Ubuntu networking dialog as a Hexadcimal key type.

Alternatively, just enter the HEX password as the value for wireless-key without prefixing "s:" in /etc/networks/interfaces

The same technique will also be very useful for problematic Windows boxes which seem to have a different text to HEX algorithm to Apple as well.

4 Responses to “802.11b, Ubuntu Linux, Airport and You”

  1. tachyon Says:

    That worked. Thanks! I forgot all about that, I was trying to use WEP Key Maker, and the Hex it generated is completely different to Apple’s. Wonder whats up with that?


  2. lindsay Says:

    Hi! I’m trying to connect to my cousin’s airport and I’m running Ubuntu 7.04. Their passphrase is CJT2244 and they NEP is 75366A5883. When I connect to their wireless, entering either CJT2244 as the passphrase doesn’t work and the NEP as a HEX doesn’t work. What am I missing?


  3. Bullus Says:

    Hi Adrian, could you plse send me the procedure to install and configure the Aplle Airport on my Linux Ubuntu PC ? Which SW , driver etc should I use ? Thanks for your help !


  4. JC Says:

    I have this exact same problem trying to connect my Ubuntu laptop to a mac mini’s airport.

    Any idea how I can figure out what the proper HEX key should be?

    I tried following this advice but it didn’t help. Actually turning off encryption didn’t help either so maybe not a key related issue after all?

    http://blog.braceta.com/mac-os-x-airport-internet-sharing-with-ubuntu-with-wep/comment-page-1/#comment-65

    Jc


Leave a Reply

(Valid OpenIDs will skip moderation)

Alternatively, subscribe to the Atom feed.