Bug 387751 - a fix for the /etc/rc.d/init.d/wpa_supplicant script
a fix for the /etc/rc.d/init.d/wpa_supplicant script
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: wpa_supplicant (Show other bugs)
8
All Linux
low Severity urgent
: ---
: ---
Assigned To: Dan Williams
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-16 17:27 EST by Khusro Jaleel
Modified: 2007-12-03 13:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-12-03 13:12:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
a patch (389 bytes, patch)
2007-11-16 17:27 EST, Khusro Jaleel
no flags Details | Diff

  None (edit)
Description Khusro Jaleel 2007-11-16 17:27:05 EST
Description of problem:
When I try to start up wpa_supplicant from 'Services' it starts up as:

wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf eth1 wext -B -u -f

Notice that the '-i' for the interface and the '-D' for the driver are missing?

I fixed the /etc/rc.d/init.d/wpa_supplicant script and it now starts correctly.

I have attached a patch.


Version-Release number of selected component (if applicable):
wpa_supplicant v0.5.7
Copyright (c) 2003-2006, Jouni Malinen <jkmaline@cc.hut.fi> and contributors

How reproducible:
Always

Steps to Reproduce:
1. edit /etc/wpa_supplicant/wpa_supplicant.conf 
2. go to 'System / Administration / Services'
3. scroll down to wpa_supplicant and start it
4. now go to a terminal and do 'ps ax | grep wpa_supplicant'
5. you will see that it has been started without these 2 options
  
Actual results:
wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf eth1 wext -B -u -f

Expected results:
wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i eth1 -D wext -B -u -f

Additional info:
Comment 1 Khusro Jaleel 2007-11-16 17:27:05 EST
Created attachment 261911 [details]
a patch
Comment 2 Dan Williams 2007-12-03 13:12:12 EST
What you really want to do is to modify your /etc/sysconfig/wpa_supplicant like
this:

INTERFACES="-ieth1"
DRIVERS="-Dwext"

I'll add a comment to the default config file in sysconfig to clarify this.  I
don't believe that specifying more than one interface works the way you've
patched it, I'm pretty sure that wpa_supplicant would require "-ieth1 -iwlan0"
instead of "-i eth1 wlan0".  Could be wrong though.

Note You need to log in before you can comment on or make changes to this bug.