Secondary (unused) wifi is not disabled for IPv6 in Ropieee

@spockfish - Another wifi query for you.

It looks like the handling of multiple wireless cards isn’t fully disabling the unused wifi adapter. It does so for IP4 but not IP6. For my particular wifi network (Google Nest Wifi) this is leading to the unused wifi adapter still connecting via IPv6. It doesn’t cause any actual problems, but is confusing as I have two instances of my streamer on the network.

wlan0 is onboard wifi, RPi 3b, unused in Ropieee config
wlan1 is external USB Realtek adapter, configured in Ropiee

Results of ifconfig on the Pi:

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::ba27:ebff:fece:f8c8  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:ce:f8:c8  txqueuelen 1000  (Ethernet)
        RX packets 784  bytes 69977 (68.3 KiB)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 15  bytes 1761 (1.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet  netmask  broadcast
        inet6 fe80::1ebf:ceff:fe11:35c9  prefixlen 64  scopeid 0x20<link>
        ether 1c:bf:ce:11:35:c9  txqueuelen 1000  (Ethernet)
        RX packets 8840  bytes 9160291 (8.7 MiB)
        RX errors 0  dropped 151  overruns 0  frame 0
        TX packets 4020  bytes 1237426 (1.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

As you can see, the onboard wlan0 is connecting and picking up an IPv6 address.
In case it is relevant, this interface was configured and used previously, but then stopped being used once I added the external adapter.

I can run ifconfig wlan0 down which solves this, but it would be great to have it sorted at source if you are able to resolve at some point. Many thanks.

Thanks for spotting. I’ll fix this in the next release.

Fantastic - thanks Harry

Well that was fast - confirmed fixed in 3.012 beta

1 Like