Page 1 of 1

Wifi fails when CIFS mount defined

Posted: Fri Dec 27, 2024 6:45 pm
by kingbuzzo

I have been running with a wired ethernet connection for quite a while. Recently I have been working on setting up a second Mister in a JAMMA cab that I planned to use wifi for the first time, but I have been pulling my hair out trying to get it configured. No matter if I went through the wifi setup script or manually edited the wpa file, it would not connect. The setup script would always see the available SSIDs fine. Password entered was correct. The script would show "Saving" for some time and then always report that it couldn't connect.

After plenty of trial and error I figured out that it has something to do with my defined cifs mount. I have a separate cifs_mount.ini file that defines a local network share which I have been using when connected via eth0. However for some reason, having this defined prevents wifi from connecting. If I remove the cifs_mount.ini file, wifi connects without a hitch. Obviously it is trying to establish a mount to an unavailable IP address while at the same time attempting to negotiate with the router. I am not sure if this is problem with a setting in my ini file, or maybe a more fundamental wifi/cifs timeout race condition? I would be happy to get input as I ultimately do want my network mount available with wifi.

Thanks in advance.
-Rob


Re: Wifi fails when CIFS mount defined

Posted: Sat Dec 28, 2024 3:04 pm
by dazzer69

If it’s any consolation I have the same problem after doing a fresh install. All good wired but won’t connect wireless.


Re: Wifi fails when CIFS mount defined

Posted: Sat Dec 28, 2024 4:09 pm
by Bas

Looks like a race. If nobody is looking into this yet, I may have some time next week.


Re: Wifi fails when CIFS mount defined

Posted: Sat Dec 28, 2024 4:15 pm
by dazzer69

A bit of googling reveals it's a somewhat known issue and is wifi adapter dependent. I've just switched to TP Link Archer T2 Nano and the problem goes away. See here: https://github.com/MiSTer-devel/Scripts ... /issues/88


Re: Wifi fails when CIFS mount defined

Posted: Sat Dec 28, 2024 8:12 pm
by kingbuzzo

Good find. That is it. I am using the wifi dongle from the first batch of the Mister Pi kit (Taki Udon supplied) which is mentioned in bug report. Conceptually it seems it could be straight forward to fix.