[Debian-eeepc-devel] Bug#487349: eeepc-acpi-scripts: Fails to switch wifi on with wpa_supplicant
Damyan Ivanov
dmn at debian.org
Sat Sep 27 07:01:14 UTC 2008
tags 487349 moreinfo
thanks
-=| Seesharp, Sat, Jun 21, 2008 at 07:13:58AM +0200 |=-
> Package: eeepc-acpi-scripts
> Version: 1.0.3
> Severity: normal
>
> Hello,
>
> When using wpa_supplicant (in roaming mode), Fn+F2 doesn't fully
> bring
> up the wireless interface.
>
> Here is the relevant part in /etc/network/interfaces:
> .
> .
> auto ath0
> iface ath0 inet manual
> wpa-driver wext
> wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
> .
> .
>
> For the moment I use this (dirty) workaround:
>
> # adding a sleep here, due to some bug the driver loading
> is not atomic here
> # and could cause ifconfig to fail
> sleep 1
> - if ! ifconfig ath0 up; then exec $0 off; fi
> + if ! ifup ath0; then exec $0 off; fi
As Nico said, the code just brings the hardware up. The rest is
someone else's job.
I for one use
allow-hotplug ra0
iface ra0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
and it works OK. (worked on the 701 with ath0 too).
> ifdown --force ath0
> modprobe -r ath_pci
> echo 0 > $wlan_control
> + killall wpa_supplicant
This should not be necessary. wpa_supplicant usually detects that the
interface has gone and quilts. It it doesn't for you, please, report
a bug in wpa_supplicant.
--
dam JabberID: dam at jabber.minus273.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20080927/a9d5e0dc/attachment.pgp
More information about the Debian-eeepc-devel
mailing list