[GRLUG] WPA supplicant in Linux
geektoyz at gmail.com
Wed Jun 21 20:11:54 EDT 2006
A question came up today on using/setting up wpa in linux... I just have a
quick minute so I'll post on the Wiki later, but.... here's the nitty
gritty... (obvious security items changed...) Setup your AP for WPA/TKIP
and MAC address filters, etc, etc.
In Linux convert the passphrase from plain text and add it to the conf
file. I have an intel 2200bg internal card on my laptop and eventhough
there's a specific driver for the 21xx/22xx intel based cards, this one
seems to work best with the generic *wext* driver (last lines).
godwin at runabout:~$ wpa_passphrase oceanside MyW1f1p4ss
godwin at runabout:~$ sudo cat /etc/wpa_supplicant.conf
godwin at runabout:~$
root at runabout:/home/godwin# cat /etc/rc.local
# Turn on wifi
wpa_supplicant -Bw -c/etc/wpa_supplicant.conf -Dwext -ieth1
Setup your interface with DHCP and you should be browsing in no time. I
have a Linksys WRT54GC with dhcp turned off and plugged in one of the 4 LAN
ports to my switch (fed off my linux router). Set that interface (on the
linux router) as a DMZ to protect your LAN and you're all set (though you
really don't have to).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grlug