Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168271 - net-wireless/wpa_supplicant-0.5.7 fails to associate from init script
Summary: net-wireless/wpa_supplicant-0.5.7 fails to associate from init script
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-24 22:29 UTC by Martin Kolleck
Modified: 2007-02-25 08:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Kolleck 2007-02-24 22:29:44 UTC
When letting wpa_supplicant go into the background with -B switch it never associates with the access point. However when keeping wpa_supplicant as a foreground process, it can associate with the AP just fine. I am using the following command line:

wpa_supplicant -ieth1 -Dwext -c/etc/wpa_supplicant.conf -dt [-B]

The only difference being the -B switch. Unfortunately, when running with -B, the debugging output stops when the process goes into background.

Since the daemonized process does not associate with an AP, using the init script does not work either.

My wpa_supplicant.conf:

  ctrl_interface=/var/run/wpa_supplicant
  ctrl_interface_group=wheel

  network={
    ssid="my ssid"
    key_mgmt=WPA-PSK
    psk="my secret key"
  }


Reproducible: Always

Steps to Reproduce:
Comment 1 Martin Kolleck 2007-02-24 22:44:37 UTC
I changed the summary information. I'm sorry for that. I should have tested a little more before submitting the bug report.

Anyways, wpa_supplicant does its job fine when I invoke it from the command line  - also in daemon mode. I then do the network setup manually. However, using the init script does not work. It will not associate with the AP.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-25 07:58:47 UTC
Eh, the configuration file belongs to /etc/wpa_supplicant/wpa_supplicant.conf as the ebuild told you.
Comment 3 Martin Kolleck 2007-02-25 08:58:59 UTC
Thank you for the hint. That indeed fixed the issue. I must have missed the notice from the ebuild during the last update.