Nintendo Wii: wi-fi instability

Guilherme Janczak <[email protected]> Sat, 17 May 2025 05:33:53 +0000
Newsgroups gmane.os.netbsd.ports.powerpc
Message-ID <xbcm7nddviiidqbn7zqvswo7prsdl2xcvsp7yeauybb5wauwuf@6edz6qk4xb2o>
--fzi2jn2vhdlel3f5
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

Hi. This is on the latest NetBSD 10 daily build:
$ uname -a
NetBSD jan-wii-nbsd 10.1_STABLE NetBSD 10.1_STABLE (WII) #0: Sat May 10 18:12:19 UTC 2025  [email protected]:/usr/src/sys/arch/evbppc/compile/WII evbppc

I have an issue that hasn't been reported yet.

After about 10 hours total of uptime and 8 hours idling without any interactive
use (I was sleeping), restarting the wpa_supplicant service caused my Wii to
lock up for about a minute. When the Wii becomes responsive again, these errors
occupy the entire 64KiB dmesg buffer:
http://paste.debian.net/plainh/7046dde4
I'm including the log as an attachment, it's only 437B compressed.

Afterwards, the wi-fi doesn't work again until reboot. It seems to keep trying
to connect indefinitely, ifconfig keeps alternating between these results:
$ ifconfig
bwi0: flags=0x8803<UP,BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ssid home-network nwkey *****
$ ifconfig
bwi0: flags=0x8803<UP,BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ssid "" nwkey *****



I also have this separate ssh issue that has already been reported (ssh -v log
shows ssh getting stuck in the exact same place):
https://mail-index.netbsd.org/port-powerpc/2025/03/07/msg003676.html
And this workaround (clear all Wii connection settings) doesn't work:
https://mail-index.netbsd.org/port-powerpc/2025/05/06/msg003681.html

This possible solution (hosts file to workaround broken reverse DNS) doesn't
work either:
https://mail-index.netbsd.org/port-powerpc/2025/05/05/msg003680.html
I have an OpenWRT router with reverse DNS working, and I tried disabling UseDNS
in the Wii's sshd_config and restarting sshd after, nothing helped, I don't
believe this is the issue.

Ssh'ing from my desktop to other hosts in the network works, in fact ssh'ing to
the Wii through an USB wi-fi card's IP also works, only the internal wi-fi
card's IP doesn't work. 

--fzi2jn2vhdlel3f5
Content-Type: application/x-bzip2
Content-Disposition: attachment; filename="wii-dmesg.txt.bz2"
Content-Transfer-Encoding: base64

QlpoOTFBWSZTWTEBpucASU5fgAAQQQX/8gAggAo/597AQAMZ0KoCFDDQyZAyMQYmTQ0wYaGT
IGRiDEyaGmBNVIVPZSfqJoNGj1PSHqNlMBSqNI01J6I/VDNRkaZMQbio41HmqMZEMFUsoEyv
EEqyCVZhKvD74CVdQlX3qkPTFUh6fYKHDeSl9Moq7/iEq+tAt4JV2hKvf/NKRfPYJV2AlXIJ
VyqOOMCpghnUZYUMBKsSo/vlmqMQJiowQxiSmKjChoEp+ahDyVSHjpVSGtEWkJZyo8kCcCC0
QJuCVZhQx+EKyiLFUhzQrEoT9EF8qBcqRZIE3gSrAJVzCVcNoJVySLoEqwQXnVFW4SrmEq5g
lWoJVvQLp6ba91AtcFFl1CVcwlXbmEq9OzrQLcJVwCVf+gWnQJV6hKvUJVrgJV1pF3+O1Isq
BZBKsykNgoc1QliqQ2zy/WKpD59NQoYyz5EprCh47VSGVUhyChrVIcOz41SGWnTq1xlxqpDi
FDYKGtVIZVSG/yzoF3Ui21BKtQSrSCVcQoaEpvVIYChrpn+9goadm/AlOlUh1VSHuLuSKcKE
gYgNNzg=

--fzi2jn2vhdlel3f5--