Same Version, same HW, but one of them has `radio2`?

hi there

Vs.

WTF is that s**t?!? (I'm sry.!!) Same device "Western Digital N750", same SW "OpenWrt 19.07.3 r11063-85e04e9f46"

How inconsistent is that..?

ifconfig shows not 1 (!!!) WLAN device...



BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.3, r11063-85e04e9f46
 -----------------------------------------------------
root@OpenWrt:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 12:90:97:C9:26:52
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fd3c:3d71:3b71::1/60 Scope:Global
          inet6 addr: fe80::1090:97ff:fec9:2652/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:77537 errors:0 dropped:0 overruns:0 frame:0
          TX packets:262023 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9087942 (8.6 MiB)  TX bytes:337328180 (321.7 MiB)

eth0      Link encap:Ethernet  HWaddr 12:90:97:C9:26:52
          inet6 addr: fe80::1090:97ff:fec9:2652/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:333954 errors:0 dropped:0 overruns:0 frame:0
          TX packets:334655 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:345519603 (329.5 MiB)  TX bytes:347267915 (331.1 MiB)
          Interrupt:4

eth0.1    Link encap:Ethernet  HWaddr 12:90:97:C9:26:52
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:76573 errors:0 dropped:2 overruns:0 frame:0
          TX packets:261514 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8922859 (8.5 MiB)  TX bytes:336804492 (321.2 MiB)

eth0.2    Link encap:Ethernet  HWaddr 00:90:A9:09:BF:D0
          inet addr:192.168.254.2  Bcast:192.168.254.255  Mask:255.255.255.0
          inet6 addr: 2001:1a88:183:1000:290:a9ff:fe09:bfd0/64 Scope:Global
          inet6 addr: fe80::290:a9ff:fe09:bfd0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:257350 errors:0 dropped:0 overruns:0 frame:0
          TX packets:73121 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:330583567 (315.2 MiB)  TX bytes:9123063 (8.7 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2857 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2857 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:226723 (221.4 KiB)  TX bytes:226723 (221.4 KiB)

root@OpenWrt:~#
root@OpenWrt:~#
root@OpenWrt:~#
root@OpenWrt:~#

vs.



BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.3, r11063-85e04e9f46
 -----------------------------------------------------
root@OpenWrt:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:90:A9:09:BF:D1
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::290:a9ff:fe09:bfd1/64 Scope:Link
          inet6 addr: fd77:46e1:31f2::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:57157 errors:0 dropped:0 overruns:0 frame:0
          TX packets:231214 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5294946 (5.0 MiB)  TX bytes:312281773 (297.8 MiB)

eth0      Link encap:Ethernet  HWaddr 5A:A5:B1:15:B3:B5
          inet6 addr: fe80::58a5:b1ff:fe15:b3b5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:285173 errors:0 dropped:0 overruns:0 frame:0
          TX packets:284375 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:317586949 (302.8 MiB)  TX bytes:318768969 (304.0 MiB)
          Interrupt:4

eth0.1    Link encap:Ethernet  HWaddr 00:90:A9:09:BF:D1
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:57226 errors:0 dropped:69 overruns:0 frame:0
          TX packets:231214 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5311269 (5.0 MiB)  TX bytes:312281773 (297.8 MiB)

eth0.2    Link encap:Ethernet  HWaddr 00:90:A9:09:BF:D0
          inet addr:192.168.1.131  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fd3c:3d71:3b71:0:290:a9ff:fe09:bfd0/64 Scope:Global
          inet6 addr: fe80::290:a9ff:fe09:bfd0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:227937 errors:0 dropped:2 overruns:0 frame:0
          TX packets:53143 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:307140956 (292.9 MiB)  TX bytes:5347980 (5.0 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1658 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1658 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:134723 (131.5 KiB)  TX bytes:134723 (131.5 KiB)

root@OpenWrt:~#```

Rebuild the wifi configuration by rm /etc/config/wireless then reboot. The radios are detected again if they're not in the file. If you save settings during a major upgrade you may end up with "extra radios" where one or more of them are just a defunct configuration of one of the original two.

wifi interfaces do not show up in ifconfig until they are configured and enabled. iw dev and iw list are useful to see if your wifi drivers are in order.

2 Likes

thx. where can i submit a bug?

the problem is that i NEED to update because there are many (public) servers on it. can't reinstall the whole openwrt. (and i have a special script on start with iptables rules, and the need additiona packages... so customized)

Clearly the two boxes have seen some different things since the last clean flash then.

Compare the two /etc/config/wireless files, particularly the option path line within the wifi-device sections which define a radio. One of the configs on the one showing three must have a path that doesn't lead to a real radio. Delete that whole section then renumber the others.

In order to report a bug you need to be able to describe something that can be clearly reproduced in a few steps starting from a new clean flash. Not an old install with a bunch of cruft on it.

1 Like

yes now it works, same screen on both devices.

thank you very very much!!

are there other point where the update causes inconsistency, maybe you know? (i'm nearly 100% sure that not the only one thing, that's not pessimistic, that realistic..:frowning:

so better "never change a running system" in future hmmm.... makes more stress than advantages so it seems.

but i still think the OpenWRT should try to fix or avoid that kind of issue...

maybe its an idea to compare ALL files (recursively) from both devices via SSH..? To find the inconsistencies...

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.

i don't know it's solved and it's "clean" now, because of that:

are there other point where the update causes inconsistency, maybe you know? (i'm nearly 100% sure that not the only one thing, that's not pessimistic, that realistic..:frowning:

things like that make me very very uncomfortable, i don't want to have buggy sw on my server systems...!!

It's not buggy if you flash and keep old configs witch don't work with the updated SW. When updating to new builds of OpenWrt like jumpping from 17 to 19 it is best not to save config files.

1 Like