Hi there,
i have a issue with my BananaPi R1 router running on OpenWrt 24.10.0.
I have set up my WiFi network and it was running. After a reboot, WiFi was not available anymore. So i connected to the device using LAN. Under Network-->Wireless i have a new radio device and an new standard configuration...
So i had a look into /etc/config/wireless and this is the output of cat:
root@StageRouter:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/soc/1c1c000.usb/usb2/2-1/2-1:1.0'
option band '2g'
option channel '6'
option htmode 'HT20'
option txpower '20'
option country 'DE'
option cell_density '0'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'psk2'
option key 'secret'
config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/soc/1c1c000.usb/usb3/3-1/3-1:1.0'
option band '2g'
option channel '6'
option htmode 'HT20'
option txpower '20'
option country 'DE'
option cell_density '0'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'psk2'
option key 'secret'
config wifi-device 'radio2'
option type 'mac80211'
option path 'platform/soc/1c1c000.usb/usb1/1-1/1-1:1.0'
option band '2g'
option channel '6'
option htmode 'HT20'
option txpower '20'
option country 'DE'
option cell_density '0'
config wifi-iface 'default_radio2'
option device 'radio2'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'psk2'
option key 'secret'
After some reboots i got a third device in the config as you can see.
The only difference seems to be the path value.
Is there a way to define the WiFi device in a differt way? Maybe i can use a udev rule to identify the hardware by using iSerial, idVendor and idProduct. I wasn't able to find something how to define the hardware in the 'wireless' config using '/dev' devices
root@StageRouter:~# lsusb -v
Bus 002 Device 002: ID 0bda:8178 Realtek 802.11n WLAN Adapter
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 [unknown]
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0bda Realtek
idProduct 0x8178 802.11n WLAN Adapter
bcdDevice 2.00
iManufacturer 1 Realtek
iProduct 2 802.11n WLAN Adapter
iSerial 3 00e04c000001
Do you have other ideas how to solve my problem?
Frank