Greetings,
I try from time to time with the newest snapshot to realize multiple SSIDS on my WRT54GL.
It is the version: KAMIKAZE (bleeding edge, r12642), the snapshot from 22.Sept.2008
This time the problem is as follows:
Content of /etc/config/wireless:
config wifi-device wl0
option type broadcom
option channel 9
config wifi-iface
option device wl0
option network llan
option mode ap
option ssid "ABAK"
option encryption psk2
option key "key1key1key1key1key1key1"
config wifi-iface
option device wl0
option network dlan
option mode ap
option ssid "LABAK"
option encryption psk2
option key "key2key2key2key2key2key2"
In the logread after reboot I see this message:
-> Jan 1 00:00:28 router user.info : Command 'set ssid' failed: -1
And when I do this:
#wifi down
#wifi up
-> Command 'set ssid' failed: -1
Here is the output from:
#iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth0.0 no wireless extensions.
eth0.1 no wireless extensions.
eth0.2 no wireless extensions.
eth0.3 no wireless extensions.
br-dlan no wireless extensions.
br-llan no wireless extensions.
wl0 IEEE 802.11-DS ESSID:"ABAK"
Mode:Master Frequency:2.452 GHz Access Point: 00:1C:10:12:66:8B
Bit Rate=54 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Link Quality:5 Signal level:0 Noise level:163
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
wl0.1 IEEE 802.11-DS ESSID:"LABAK"
Mode:Master Channel:9 Access Point: 02:1C:10:12:66:88
Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
ppp0 no wireless extensions.
and here the output from:
#wl status
SSID: "ABAK"
Mode: Managed RSSI: 0 dBm noise: 0 dBm Channel: 9
BSSID: 00:1C:10:12:66:8B Capability: ESS ShortSlot
Supported Rates: [ 1(b) 2(b) 5.5(b) 6 9 11(b) 12 18 24 36 48 54 ]
I tried to understand the concept of bringing up the wifi interfaces, but I have to say the code is to difficult for me. But I can say, that the call:
--->
..
$vif_post_up
..
<----
in /lib/wifi/broadcom.sh
comes to early. I tried something with wlc, and you have to give the vifs their configuration before you bring it up. So I put this call after the call:
-->
$vif_do_up
$vif_post_up
<---
After this, I dont get the errormessage above anymore.
But it doesnt work either. I can connect to the first SSID, but not to the second. I looked into the code of wlc and saw, that setting the ssid for vif0 and vif1,2,3 is different. I dont have any Idea anymore how to fix it. Any help would be fine.
Thanks,
Dietrich