Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88703 - Need for both iwconfig and wpa_supplicant with HOSTAP drivers
Summary: Need for both iwconfig and wpa_supplicant with HOSTAP drivers
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-11 05:07 UTC by Matthew Swabey
Modified: 2005-04-12 07:11 UTC (History)
0 users

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


Attachments
calls iwconfig_defaults and iwconfig_user_config if available (wpa.patch,700 bytes, patch)
2005-04-11 12:12 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.