Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67797 - linux-wlan-ng is unable to connect to different ssids
Summary: linux-wlan-ng is unable to connect to different ssids
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Mobile Herd (OBSOLETE)
Depends on:
Reported: 2004-10-16 10:55 UTC by Nikov Kalasch
Modified: 2005-10-05 14:10 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Nikov Kalasch 2004-10-16 10:55:00 UTC
The error occours when wlan_scan=y is set in the wlan.conf and multible ssids are configured for the same device (e.g. SSID_wlan0="SSID1 SSID2 SSID3 ...").

Reproducible: Always
Steps to Reproduce:
1. edit wlan.conf
2. set wlan_scan=y (in /etc/wlan/wlan.conf)
3. set ssid_wlan0="ssid1 ssid2 ssid3"
4. /etc/init.d/wlan restart (restart the wlan device by the init script)

Actual Results:  
the init script sets the ssid to <ssid>:<bssid> so the card can't connect to the
access point

Expected Results:  
set the ssid correct

the error is caused by misusing the wlan_source_config_for_ssid function in line 47:
wlan_source_config_for_ssid "$ssid:$bssid"
should be
wlan_source_config_for_ssid "$ssid" "$bssid"

(two arguments instead of two)
Comment 1 Henrik Brix Andersen 2005-10-05 14:10:07 UTC
Please test if this problem still exists with linux-wlan-ng-0.2.2

Awaiting feedback from reporter.