Wifi fails when CIFS mount defined

For topics which do not fit in other specific forums.
kingbuzzo
Posts: 4
Joined: Fri Dec 20, 2024 6:53 pm
Has thanked: 2 times
Been thanked: 1 time

Wifi fails when CIFS mount defined

Unread post 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

dazzer69
Posts: 47
Joined: Fri Jul 03, 2020 8:34 pm
Has thanked: 18 times
Been thanked: 12 times

Re: Wifi fails when CIFS mount defined

Unread post 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.

Bas
Top Contributor
Posts: 660
Joined: Fri Jan 22, 2021 4:36 pm
Has thanked: 86 times
Been thanked: 345 times

Re: Wifi fails when CIFS mount defined

Unread post by Bas »

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

dazzer69
Posts: 47
Joined: Fri Jul 03, 2020 8:34 pm
Has thanked: 18 times
Been thanked: 12 times

Re: Wifi fails when CIFS mount defined

Unread post 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

kingbuzzo
Posts: 4
Joined: Fri Dec 20, 2024 6:53 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Wifi fails when CIFS mount defined

Unread post 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.

Post Reply