[Linux-wlan-ng-devel] Re: [Fwd: [lwlan-user] errors while attempting to run "make"]

Robert Chéramy robert at cheramy.net
Mon Sep 12 20:29:44 UTC 2005


Hi,

(I maintain linux-wlan-ng-devel in Cc as it may interest other people.)

Dan Finn wrote:
> Do you know where I could find insturctions on setting my
> /etc/network/interfaces file, or perhaps could you show me yours so that
> I could get this card working.  Is there any way to do scanning with
> this driver?

Sure!

My config looks like this:

auto wlan0
#iface wlan0 inet dhcp
iface wlan0 inet static
        address 192.168.0.10
        netmask 255.255.255.0
        gateway 192.168.0.1
        wireless_mode managed
        wireless_essid tibob
#       wireless_enc off
        wireless_enc on
        wlan_ng_priv_key128 true
        metric 5
#       wlan_ng_priv_genstr 1234567890123
        wlan_ng_key0 31:32:33:34:35:36:37:38:39:30:31:32

Some explanations here:
- The config format is explained in
/usr/share/doc/linux-wlan-ng/README.Debian.gz
- I use an Access Point (use "ad-hoc" instread of managed if you make a
p2p conection. And notice:
# For ad-hoc mode, you must specify a channel.
#       wireless_channel 1
)
- Getting WEP encryption to work was a big problem until I found out
that linux-wlan-ng uses another encoding for the passkey (defined in
wlan_ng_priv_genstr 1234567890123) that windows XP and my AP do.
You can switch to the 13 digits (and define them using wlan_ng_key0).
You can generate them using wepenc.c from the patch in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=280013 . Avoid
non-ascii caracters in the passkey as every OS encode them in another way...

Well, I hope it helps :-)

tibob

PS: I have no idea what scanning is...



More information about the Linux-wlan-ng-devel mailing list