multi-SSID in a Raspberry Pi 3, is that possible?

Hello,

I'm using the Raspberry Pi 3, which has wifi, chipset BCM43438.

Using LuCI, if I go to wireless interfaces and I activate it, then it works, I see the SSID and even have internet (through Ethernet, I changed it to DHCP client).
Now I would like to activate another SSID, I think that is called multi-SSID (for serving a local website), but when I add a new wireless network using radio0, then both stop working and I see in both "Wireless is disabled or not associated" even if they are enabled.
If I remove one of them and I restart, then the one I have works.

Does anyone know the reason?
Does the raspberry pi 3 hardware supports multi-SSID? (I don't see anything about this)
Is this a driver issue?

Thanks in advance.

1 Like

Hey there.

Please share more details about the actual configuration.

Using different SSIDs both appearing as individual access points to your client computer shout be possible.
Using one wifi connction to "connect to another wifi" and another to provide wifi itself is likely not going to work.

But neither of them has to do with "serving a local website".

So please explain what you're actually trying to do and give us the settings that make wifi stop working.

Regards,
Stephan.

Hi, thanks for reply.

Basically, if you install a fresh LEDE in a raspberry pi 3, wireless is deactivated (as expected), if you press enable, then it works.
However, if you go to NETWORK | WIRELESS and press ADD, then after adding another network (now you have 2) the the entire wifi stops working. Instead of seeing 2 SSIDs, you see nothing. You have to remove one and restart the device, otherwise will not start working again.
What I want to achieve is this:
2 SSIDs: One is encrypted using WPA2 and offers internet connection (taken from the ethernet port), the other one is non-encrypted and has a captive portal (basically, a local website) to show some info (no radius at the moment).
I remember 2 years ago I did it using openwrt and a router called MikroTik RB751U.
So, I wonder if there is any kind of hardware limitation in the raspberry pi 3.
Do you know anything about that?
Thanks a lot.

EDIT:
I see in this doc:
https://lede-project.org/docs/user-guide/wifi_configuration
That mentions a daemon called "hostapd" and it says that if the channel and band are the same, it should be possible to setup up to 8 ssids at the same time.

Here this guy does the multi-ssid:
http://wiki.stocksy.co.uk/wiki/Multiple_SSIDs_with_hostapd
But when I list my services (using "services" command), I don't see hostapd.
What am I missing? Thanks.

EDIT 2:
When using command "iw list" (with space), I see:
#{ IBSS, AP } <= 1
That suggests that the hardware or driver does not support multi SSID.

But in:
https://wiki.openwrt.org/doc/uci/wireless
I see:
"A complete wireless configuration contains at least one wifi-iface section per adapter to define a wireless network on top of the hardware. Some drivers support multiple wireless networks per device:

broadcom if the core revision is greater or equal 9 (see dmesg | grep corerev)
madwifi always supports multiple networks
mac80211 STA mode is supported. STA and AP at the same time is supported as well."

As far as I know, the raspberry pi 3 has a broadcom chip, hasn't it?

Thanks for any clarification.

Hello, I think that internal rpi3 wifi doesn't support it...
I used rpi3 some month ago and I added a wifi usb stick to have the second SSID.

Ciao

Thanks for reply.
I tried that right now.
Using lsusb and dmesg I see that the device has been recognised (Ralink)
But when I use "iw list" I don't see it.
Do I have to install a driver manually?
Thanks a lot.

My usb dongle it's a Logilink WL0084B (Railink RT5370), so I had to install some additional packages:

opkg install kmod-rt2800-lib kmod-rt2800-usb kmod-rt2x00-lib kmod-rt2x00-usb

Ciao

Yes you do. Only drivers for the instal pi HW are included.

Try using this site to help ID your adapter and back into the driver. Not all HW is supported.
https://wikidevi.com/wiki/Main_Page

Thanks for reply. Almost there...

With lsusb I get

Bus 001 Device 004: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter

I execute this and reboot:

opkg update
opkg install kmod-rt2500-usb kmod-rt2x00-lib kmod-rt2x00-usb

Then with dmesg I see:

[ 2.726860] usb 1-1.5: new high-speed USB device number 4 using dwc_otg
[ 2.989810] usb 1-1.5: New USB device found, idVendor=148f, idProduct=2573
[ 2.999168] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.009015] usb 1-1.5: Product: 802.11 bg WLAN
[ 3.015869] usb 1-1.5: Manufacturer: Ralink
......
[ 5.851181] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Aug 29 2016 20:48:16 version 7.45.41.26 (r640327) FWID 01-4527cfab
[ 5.877175] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 5.905321] usbcore: registered new interface driver brcmfmac
[ 5.916985] usbcore: registered new interface driver rt2500usb
[ 5.925581] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 7.538551] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup

And with lsmod | grep rt2 I see:

cfg80211 228496 3 brcmfmac,rt2x00lib,mac80211
compat 9928 4 rt2500usb,brcmfmac,mac80211,cfg80211
mac80211 382548 2 rt2x00usb,rt2x00lib
rt2500usb 14849 0
rt2x00lib 28096 2 rt2500usb,rt2x00usb
rt2x00usb 6592 1 rt2500usb

I would say it is working but "wifi config" shows nothing and "cat /etc/config/wireless " shows the same thing before I attached the USB dongle.

It seems this is the proprietary driver, the description says "Ralink RT2573 firmware"
https://lede-project.org/packages/pkgdata/rt73-usb-firmware
I do:
opkg update
opkg install rt73-usb-firmware
But it seems the module is not loaded when doing lsmod.

What am I missing?

Thanks for your time :slight_smile:

Did you managed to get multi-ssid working on the Raspberry Pi 3?