Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179061 - wpa_supplicant-0.5.7 and ndiswrapper-1.44 does not work well with hidden essid
Summary: wpa_supplicant-0.5.7 and ndiswrapper-1.44 does not work well with hidden essid
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-18 23:13 UTC by Stian Skjelstad
Modified: 2009-09-27 14:28 UTC (History)
2 users (show)

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


Attachments
wpa_supplicant-0.5.7-scanessid.patch (wpa_supplicant-0.5.7-scanessid.patch,749 bytes, patch)
2007-05-18 23:14 UTC, Stian Skjelstad
Details | Diff
ndiswrapper-1.44-scanessid.patch (ndiswrapper-1.44-scanessid.patch,597 bytes, patch)
2007-05-18 23:14 UTC, Stian Skjelstad
Details | Diff
ap_scan=2 output (log,3.27 KB, text/plain)
2007-05-19 21:30 UTC, Stian Skjelstad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stian Skjelstad 2007-05-18 23:13:19 UTC
ndiswrapper (upto 1.44 atleast) does not support IW_SCAN_THIS_ESSID (it actually ignores the flag) and wpa_supplicant dislikes that.

You can go around this if you by hand

iwconfig wlan0 essid MYHIDDENESSID

before you run wpa_supplicant, but that is annoying if you have a queue of hidden essid you want it to test

Reproducible: Always

Steps to Reproduce:
1. iwconfig wlan0 essid RANDOMSTRING
2. try to use a hidden essid with wpa_supplicant in mode    ap_scan=1
Actual Results:  
it fails to find the AP when it tries to scan for it specifically

Expected Results:  
To find the AP with the hidden ESSID
Comment 1 Stian Skjelstad 2007-05-18 23:14:26 UTC
Created attachment 119658 [details, diff]
wpa_supplicant-0.5.7-scanessid.patch
Comment 2 Stian Skjelstad 2007-05-18 23:14:54 UTC
Created attachment 119660 [details, diff]
ndiswrapper-1.44-scanessid.patch
Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-05-19 08:17:43 UTC
Could you post this up to the hostap mailing please please?
http://lists.shmoo.com/mailman/listinfo/hostap

Once upstream thinks it's OK then I'll add it to wpa_supplicant.
Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-05-19 17:31:59 UTC
wpa_supplicant upstream have indicated this is a bad patch as it breaks current association.

Use ap_scan=2 instead.
Comment 5 Stian Skjelstad 2007-05-19 21:29:32 UTC
ap_scan=2

does not work. I'll attach the output log (This happens on both my dongles, and same issue with the systems I have access to)
Comment 6 Stian Skjelstad 2007-05-19 21:30:36 UTC
Created attachment 119743 [details]
ap_scan=2 output

output from wpa_supplicant with ap_scan=2
Comment 7 Roy Marples (RETIRED) gentoo-dev 2007-05-22 16:47:19 UTC
Do versions of ndiswrapper later than 1.44 support IW_SCAN_THIS_ESSID?
Comment 8 Stian Skjelstad 2007-05-23 16:08:28 UTC
I can't see any relevant in the Changelog for the comming 1.45 release, and I'm not able to login/create an account on their forum either.
Comment 9 Markus Ullmann (RETIRED) gentoo-dev 2007-05-31 11:20:58 UTC
now that 1.45 is out, does it work for ya?
Comment 10 Stian Skjelstad 2007-05-31 13:35:50 UTC
No changes that I could notice.
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2009-09-27 14:28:16 UTC
1.55-r1 is current stable as of today. Since last comment is from 2007, closing as TEST-REQUEST. Reopen if it's still a issue.