[OpenWrt-Devel] Mikrotik RB951Ui-2HnD: Wireless config missing on new hardware
Nishant Sharma
codemarauder at gmail.com
Thu Feb 20 13:27:09 EST 2020
Hello,
[Unable to post on forum (error 502 bad gateway), hence posting here.]
It seems something has changed in the hardware. I have "Type: INTL"
devices here.
I have already tried the following firmwares:
1. custom compiled 19.07.0
2. openwrt 19.07.0
3. custom compiled 18.06.2
4. custom compiled 17.02.4
I have tried these firmware on multiple (5+) old and new devices.
On newer hardware, wifi config only touches the /etc/config/wireless and
there is no configuration inside.
Below is the output on older hardware with 17.02.4, which has wifi working:
```
root at HBCC2DE061D01A:~# iw dev wlan0 info
Interface wlan0
ifindex 6
wdev 0x1
addr cc:2d:e0:61:d0:25
type managed
wiphy 0
txpower 20.00 dBm
root at HBCC2DE061D01A:~# dmesg | grep ath
[ 22.885162] ath: EEPROM regdomain: 0x0
[ 22.885182] ath: EEPROM indicates default country code should be used
[ 22.885191] ath: doing EEPROM country->regdmn map search
[ 22.885212] ath: country maps to regdmn code: 0x3a
[ 22.885224] ath: Country alpha2 being used: US
[ 22.885233] ath: Regpair used: 0x3a
root at HBCC2DE061D01A:/sys/devices/platform# ls -1
ag71xx-mdio.1
ag71xx.0
ag71xx.1
alarmtimer
ar934x-nfc
ar934x_wmac
ath79-gpio
ath79-wdt
ehci-platform
leds-gpio
regulatory.0
serial8250
serial8250.0
uevent
```
And below is the output on new hardware with 17.02.4:
```
root at OpenWrt:~# iw dev wlan0 info
command failed: No such device (-19)
root at OpenWrt:~# dmesg | grep ath
root at OpenWrt:~#
root at OpenWrt:/sys/devices/platform# ls -1
ag71xx-mdio.1
ag71xx.0
ag71xx.1
alarmtimer
ar934x-nfc
ath79-gpio
ath79-wdt
ehci-platform
leds-gpio
regulatory.0
serial8250
serial8250.0
uevent
```
Unloading or loading ath9k module adds following line to dmesg:
```
root at OpenWrt:~# dmesg | grep ath
[ 1175.108742] ath9k: ath9k: Driver unloaded
```
The above behaviour is same with 19.07.0 on the new hardware.
I do not see ar934x_wmac in /sys/devices/platform on new hardware, but
it is present on older hardware.
Does anyone has a clue about what could be going on?
I have access to both the types of numerous devices, so I can provide
further debugging information as and when required.
Thanks in advance.
Regards,
Nishant
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list