Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421835 - wpa_supplicant will only work with wlan0, not wpi0
Summary: wpa_supplicant will only work with wlan0, not wpi0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: x86 FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-06-18 19:51 UTC by Andy Gebauer
Modified: 2012-06-18 21:03 UTC (History)
1 user (show)

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


Attachments
wlanchange init.d script (wlanchange,368 bytes, text/plain)
2012-06-18 19:59 UTC, Andy Gebauer
Details
wlanchange init.d script (attachment.cgi.txt,373 bytes, text/plain)
2012-06-18 21:01 UTC, Andy Gebauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Gebauer 2012-06-18 19:51:55 UTC

    
Comment 1 Andy Gebauer 2012-06-18 19:59:30 UTC
Created attachment 315705 [details]
wlanchange init.d script
Comment 2 Andy Gebauer 2012-06-18 20:02:02 UTC
wpa_supplicant will not work with wpi0 (or any other wireless interface) unless the interface is renamed to wlan0.

In FreeBSD 9.0, the interface will be renamed to wlan0 after every reboot.
This is not working in Gentoo/FreeBSD.

The attached init file will rename the wpi0 interface (in my case) to wlan0 at every start.
Comment 3 Andy Gebauer 2012-06-18 21:01:17 UTC
Created attachment 315715 [details]
wlanchange init.d script

Change from net.wlan0 to wpa_supplicant
Comment 4 Andy Gebauer 2012-06-18 21:03:19 UTC
To make wpa_supplicant work to, add 

wpa_supplicant_args="-Dbsd"

to /etc/conf.d/wpa_supplicant