OpenWrt Forum Archive

Topic: Multiple SSIDs on WRT54GL

The content of this topic has been archived on 5 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

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

Fighting a similar problem.   Unable to get wifi configured and working using WPA encryption.   Was able to get wifi to work with WEP.    First problem I found was MD5sum did not match calculated sum on   /downloads.openwrt.org/snapshots/brcm47xx/packages/, package wpa-supplicant_0.6.3-1_mipsel.ipk .   I think you also need a nas package that was not on   /downloads.openwrt.org/snapshots/brcm47xx/packages  and wpa-cli_0.6.3-1_mipsel.ipk (which didn't want to load).

Wix

didiboo - I don't know if this is the issue, but is nas running with the right parameters for each virtual SSID? You can check with "ps w | grep nas". I found that while one instance of nas would start automatically, I had to manually start one for the second SSID if I wanted it. Parameters are at http://wiki.openwrt.org/OpenWrtDocs/nas

Wix - are you using the Atheros wireless, or Broadcom? didiboo is using Broadcom, which uses "nas". Atheros uses wpa_supplicant. (if you have an interface named wl0, you have Broadcom. ath0, Atheros.)

I can confirm multiple SSID's on r12959 and r12642 doesn't work.  It doesn't matter if they're wpa, wep or unencrypted.  Hopefully this can be fixed.

(Last edited by Belfry on 14 Oct 2008, 03:45)

The discussion might have continued from here.