Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 88703

Summary: Need for both iwconfig and wpa_supplicant with HOSTAP drivers
Product: Gentoo Linux Reporter: Matthew Swabey <mas>
Component: [OLD] baselayoutAssignee: Roy Marples (RETIRED) <uberlord>
Status: RESOLVED WORKSFORME    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: calls iwconfig_defaults and iwconfig_user_config if available

Description Matthew Swabey 2005-04-11 05:07:30 UTC
HOSTAP drivers for the PRISM cards will start the card in "Master" mode, as if an access point. To change this iwconfig needs to be run before wpa_supplicant to set the mode first.

Reproducible: Always
Steps to Reproduce:
1.Setup wpa_supplicant as in the examples in /etc/conf.d/net
2.Plug in PCMCIA card.
3.Card starts in master mode and wpa_supplicant never associates.

Actual Results:  
Card starts in master mode and wpa_supplicant never associates.

Expected Results:  
It needs to set the card to "managed" mode, although wpa_supplicant will respond
according to the detected essid.

hostap-driver-0.2.6-r1
wpa_supplicant-0.2.7
sys-apps/baselayout-1.11.10-r3
Comment 1 Roy Marples (RETIRED) gentoo-dev 2005-04-11 12:12:11 UTC
Created attachment 56013 [details, diff]
calls iwconfig_defaults and iwconfig_user_config if available

This patch will allow to to use iwconfig and iwpriv commands for wpa_supplicant

Patch is for baselayout-1.11.10-r6

Example

iwconfig_eth1="mode managed"
Comment 2 Matthew Swabey 2005-04-12 07:11:13 UTC
Applied patch, works perfectly, thankyou!

Please incorporate this patch into the package.