Re: fedora 7 wpa_supplicant/ath0 booting problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Wolfgang S. Rupprecht" <wolfgang.rupprecht+gnus200706@xxxxxxxxx>
writes:
> Fedora 7 broke the automatic ath0/wpa_supplicant startup.  It is still
> possible to get the network working by restarting wpa_supplicant,
> doing an ifconfig down/up on ath0, and then restarting ntpd (which
> fails in a way that causes it not to recover).  Does anyone have
> fedora-7 booting with an automatic wpa wifi connection yet?  What is
> the secret?

Playing around it seems that the only way to keep wpa_supplicant happy
is to start it after the interface is brought up but before dhclient
is started on the interface.  The simplest way to hack this was to put
this at the end of /etc/sysconfig/network-scripts/ifup-wireless:

# wsrcc hack start
if [ ! -S /var/run/wpa_supplicant/$DEVICE ]
then
    wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i$DEVICE -Dmadwifi -B
fi
# wsrcc end end

That did the trick and the ath0 now starts up faster in F7 than it did
under FC6.  Hardwiring "madwifi" is obviously grotty, but this is just
a proof of concept.

-wolfgang
-- 
Wolfgang S. Rupprecht                http://www.wsrcc.com/wolfgang/
Hints for IPv6 on FC6 http://www.wsrcc.com/wolfgang/fedora/ipv6-tunnel.html


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux