Manual WPA networks doesn't connect at boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ifupdown (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
netbase (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
udev (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
wpasupplicant (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
Bug Description
When configuring a wireless network to use WPA outside Gnome Network-manager applet, the network will not reconnect after a reboot without a "/etc/init.
I moved over to nw-manager for the time being. I set up /etc/network/
iface ath0 auto
iface ath0 inet dhcp
wpa-driver madwifi
wpa-ssid homezone
wpa-psk "quoted passphrase"
# wpa-psk 0001231203
Renaming the file /etc/udev/
description: | updated |
Changed in wpasupplicant: | |
status: | Confirmed → Triaged |
description: | updated |
Changed in udev: | |
importance: | Undecided → High |
What worked for me (I have an atheros chipset, using madwifi) is a /etc/wpa_ supplicant. conf like this:
ctrl_interface= /var/run/ wpa_supplicant group=0
ssid=" YOUR-SSID"
key_mgmt= WPA-PSK
pairwise= TKIP
ctrl_interface_
eapol_version=1
ap_scan=2
fast_reauth=1
network={
proto=WPA
group=TKIP
psk=(fill in this using wpa_passphrase)
}
And a wpa_supplicant start up script in /etc/init.d like this:
#!/bin/sh supplicant ]; then
/sbin/ wpa_supplicant -B -c/etc/ wpa_supplicant. conf -iath0 -Dmadwifi -w
# wifi wpa_supplicant init
echo "* [Wifi] enabling wpa_supplicant..."
if [ -x /sbin/wpa_
fi
You then have to:
sudo chmod +x /etc/init. d/wifi_ wpa.sh (or whatever you called it)
sudo ln -s /etc/init. d/wifi_ wpa.sh /etc/rcS. d/S40netwifiwpa
Yes, this should probably be automated.