Bug 520269
Summary: | wpa_supplicant and network service synchronization won't support static wireless network configurations | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Randy Yates <yates> | ||||||||||
Component: | wpa_supplicant | Assignee: | Dan Williams <dcbw> | ||||||||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | low | ||||||||||||
Version: | 11 | CC: | dcbw, pb, yates | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | x86_64 | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2009-11-29 22:23:30 UTC | Type: | --- | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Randy Yates
2009-08-30 00:05:56 UTC
Created attachment 359176 [details]
wpa_supplicant init script
Created attachment 359177 [details]
working wpa_supplicant.conf file
Created attachment 359178 [details]
working /etc/sysconfig/network-scripts/ifcfg-wlan0 script
I got around this issue by turnning the network service off and then created my own service that does nothing but start and stop the network service. I established the service with a priority and run-level that ensure it starts after the wpa_supplicant service. See attached init serice script "airlink". Created attachment 359284 [details]
new airlink service
See also https://bugzilla.redhat.com/show_bug.cgi?id=154348 Still happen on F12 BTW: a small patch will solve this issue: --- ifup-wireless 2008-02-17 13:18:59.000000000 +0100 +++ ifup-wireless 2007-06-10 15:16:07.000000000 +0200 @@ -108,3 +100,7 @@ # use any essid iwconfig $DEVICE essid any >/dev/null 2>&1 fi + +if [ "$WPA" = "yes" -a ! -f /var/lock/subsys/wpa_supplicant ] ; then + service wpa_supplicant start +fi it need only to add a line WPA=yes to ifcfg-WIRELESSINTERFACE there's more comments about how initscripts should be integrated with wpa_supplicant in this thread. That basically means using the ifcfg-wlan0 to construct a wpa_supplicant config file so that we can preserve the normal, well-known mechanisms that Fedora/Red Hat admins know for network configuration in /etc/sysconfig/network-scripts, and the normal ifup/ifdown commands. *** This bug has been marked as a duplicate of bug 154348 *** |