Skip to main content

Activare wireless network +wpa on boot instead of throughNetw...

Popularity Report

Total Popularity Score: 0

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Rank

URL Tag Cloud

Bookmark History

Saved by 1 people (0 private), first by anonymouse user on 2006-11-19


Public Sticky notes

- --- ifup-wireless 2005-04-15 15:56:36.000000000 -0400
+++ ifup-wireless 2006-03-08 13:01:12.000000000 -0500
@@ -97,3 +103,11 @@
# use any essid
iwconfig $DEVICE essid any
fi
+
+# use wpa_supplicant for connecting to WPA enabled APs
+WPA_SUPPLICANT=3D/usr/sbin/wpa_supplicant
+WPA_SUPPCONFIG=3D/etc/wpa_supplicant/wpa_supplicant.conf
+if [ "$WPA" =3D "yes" -a -n "$WPADRIVER" -a -x $WPA_SUPPLICANT ]; then
+ $WPA_SUPPLICANT -Bw -c$WPA_SUPPCONFIG -i$DEVICE -D$WPADRIVER
+fi
+

I also created a wpa_supplicant.conf file using the examples from the
wpa_supplicant docs. It looked like this:

# allow frontend (e.g., wpa_cli) to be used by all users in =E2=80=99whee=
l=E2=80=99 group
ctrl_interface=3D/var/run/wpa_supplicant
ctrl_interface_group=3Dwheel
#
# home network
network=3D{
ssid=3D"home_net_ssid"
scan_ssid=3D1
key_mgmt=3DWPA-PSK
pairwise=3DTKIP
group=3DTKIP
psk=3D"ultra-secret-passphrase"
}
[color=blue]
> or should I use WEP-encryption instead (which s-c-network can handle
> automatically)[/color]

Highlighted by pankaj

Readers (1)