Linux: Encrypted WLAN


Encrypted WLAN that works for Windows and isn’t as bad as WEP: I chose WPA-PSK with TKIP.

Due to some struggle, I will post my config and setup here. I have a bcm43xx device.
First /etc/wpa_supplicant/wpa_supplicant.conf:


ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
eapol_version=1
ap_scan=1
fast_reauth=1
network={
scan_ssid=1
ssid="yourssid"
psk="yourpsk"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
}

Bringing it up:


rmmod bcm43xx
modprobe bcm43xx
ifconfig eth1 up
iwlist eth1 scan
# there should be your net in the list, otherwise start again
iwconfig eth1 essid yourssid
killall dhclient
wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant/wpa_supplicant.conf

If it says something containing “success”, go on with dhclient eth1.
But it seems to be quite random sometimes: It says the key is incorrect, and the authentification is tried again in a loop.
Then I just kill it and start the list over and on the third try or something it works.

  1. No comments yet.
(will not be published)

  1. No trackbacks yet.