Re: Is the Wii wifi usable?

Leo Lundberg <[email protected]> Sun, 24 Aug 2025 16:52:20 +0200 (CEST)
Newsgroups gmane.os.netbsd.ports.powerpc
Message-ID <[email protected]>
When doing 'service wpa_supplicant start' I keep getting
'wii syslogd[4160]: ioctl[SIOCS80211], op=20, val=0, 
arg_len=7]: invalid argument
(same as previous line again)
(same as previous line but op=23 arg_len=0)'

Looking in /var/log/messages I see:
"
wii wpa_supplicant[4160]: bwi0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
wii syslogd[4160]: ioctl[SIOCS80211], op=23, val=0,
arg_len=0]: invalid argument 
"
I wrote a fresh image to my sd card and following the email steps from 
Jared exactly but I got the same error when doing 'service wpa_supplicant 
start'.  Doing reload instead at least didnt error, on 
the old image it seems like the bwi0 interface was gone suddenly when I 
double-checked (probably why I got the error). On the fresh image the bwi0 
interface is there when doing 'ifconfig -a'.

/Leo

On Sun, 24 Aug 2025, Harold Gutch wrote:

> On Sun, Aug 24, 2025 at 02:23:25PM +0200, Leo Lundberg wrote:
>> Yes, I've added wpa_supplicant=YES to rc.conf and rebooted it a few times,
>> I also run 'service wpa_supplicant start' which returns that it is already
>> running. But when I do "service wpa_supplicant reload" I get the
>> aforementioned error.
>
> If you have wpa_supplicant=YES and rebooted, it is running and you
> don't have to restart it (as your command tells you).  And if you
> haven't modified wpa_supplicant.conf since starting it (or rebooting
> with wpa_supplicant=YES) you don't need to reload it either, that is
> only needed if you modify the configuration since it started.
>
> With a running wpa_supplicant I can "service wpa_supplicant reload"
> without seeing your error (that is on current on amd64;  I would need
> to dig out the Wii to test evbppc, but I have no reason to assume that
> it would behave differently).
>
> The last time I tested evbppc (Wii) a few weeks ago, I followed
> https://mail-index.netbsd.org/port-powerpc/2025/01/19/msg003669.html
> and that worked for me.  At this point my best suggestion is to:
>
> - service wpa_supplicant stop
> - move /etc/wpa_supplicant.conf aside
> - add configuration to wpa_supplicant.conf with the first command from
>  Jared's mail (replacing "myssid" and "mypassword" with the right
>  values)
> - service wpa_supplicant start
>
> (no need to readd 'wpa_supplicant=YES' to your rc.conf if it's already
> there).
>
>
>  Harold
>