Second wifi as AP seems to switch off first wifi as client

Hello everyone, please notice I'm a very much newbie here; Thanks for your understanding :slight_smile:

Installed successfully OpenWrt 19.07 under Raspberry Pi (B) - first wifi OK, creates interface radio0 and connects to hotspot no problem.

Added a second card, drivers OK but interface radio1 not created and when forced into /etc/config/wireless , LuCI shows "device not active".
Drivers are indeed OK because LuCI->Scan can effectively pick up signals and allows to connect hotspots BUT when set itself as AP, connection to first wifi is inevitably lost.

Reverting roles, same story.

Any idea?

[As a side question, it comes totally as a surprise how radio0 manages to become wlan0 under iwconfig // and how to show actual wireless cards attached, besides lsusb. Magic?].

Thanks in advance for any hint.


lsusb output:


Bus 001 Device 016: ID 0bda:0179 Realtek Semiconductor Corp. RTL8188ETV Wireless LAN 802.11n Network Adapter
Bus 001 Device 018: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 005: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 017: ID 0e8f:0040 GreenAsia Inc.
Bus 001 Device 015: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Remove /etc/config/wireless then reboot with both cards plugged in to create a proper configuration. Keep the cards plugged in to the same USB ports don't move them.

Simultaneous AP and STA on the same radio is not supported on most USB radios.

The wlanX names are not created in a determinat way, so don't refer to them in /etc/config/network. The option network setting in /etc/config/wireless is used to attach a wireless interface to a network.