-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cifs_mount.sh kills wifi if MOUNT_AT_BOOT is set #88
Comments
Was there ever a fix to this ? I’m having this problem after recent update |
Not that I'm aware of. What adapter do you have? It may be that chipset at fault. Plug into a PC and follow this guide: https://kb.synology.com/en-ph/DSM/tutorial/How_do_I_check_the_PID_VID_of_my_USB_device Post the result here, I'll do the same and it may shed some light on the issue. |
So I'm running into this issue after the 230423 update. I'm using this card https://misteraddons.com/collections/parts/products/wifi-bt-usb-adapter?variant=39654352060549 and https://www.amazon.com/gp/product/B07YDFZWT8/. lsusb shows Bus 001 Device 005: ID 0bda:c820 Realtek Semiconductor Corp. 802.11ac NIC I've also figured out it's actually WAIT_FOR_SERVER="true" in the cifs_mount.sh that causes it for me. If I set MOUNT_AT_BOOT="true" but WAIT_FOR_SERVER="false", Wifi works as expected. The share is not mounted but that is expected. It seems to only affect this card and when I use a TP-Link T2U Nano, wifi and cifs_mount.sh works as expected. Here is my dmesg when it fails: [ 4.370183] usb 1-1.4: USB disconnect, device number 3 |
May be mount script should be called at other time of boot. |
My adapter takes a good 30 seconds to come up, maybe it should wait for this before mounting if possible? |
wait for 30seconds after each reboot doesn't look good. I don't know.. all these network mounts originally is wrong.. MiSTer is created to be local and offline actually.. |
It's not ideal. Maybe it's more an issue with the driver than an issue with the script? I get that MiSTer was designed to have local files hosted but given the large amount of data mister now potentially has available to it, it's easy to see the appeal of central storage, especially given that can also host a lot of data for other platforms in most user's cases. It works fine and is extremely convenient if mounted manually. Automation would be nice but if it's not within the script's scope then maybe certain devices should just be avoided. |
Anyway to implement the original Wi-Fi start up before the recent update? |
Must have been this one: I'd assume if you download this and test it should be ok, assuming it definitely worked ok before the latest update: |
I'm having the exact same issue as OP and it's solved by disabling cifs_mount and removing the relevant entries from the if-up.d and if-down.d directories. Of course everything works fine over ethernet. Has anyone got this working with this wifi dongle? https://www.amazon.com/gp/product/B07YDFZWT8/ I'm about to buy the Archer T2U Nano but would rather avoid the purchase if I can. |
I had three of those , all stopped working with mount_at_boot. With 5/1 update replaced them with this |
Thanks! Just ordered one. EDIT: The Archer T2U Nano (https://www.amazon.ca/gp/product/B07PB1X4CN/) arrived yesterday and all works fine now with Wifi and the cifs_mount script! |
I fear this problem might become more wide-spread as the Taki Udon package for their FPGA includes a USB Wifi/Bluetooth dongle that seems to exhibit this exact issue. It seems to a 'no-name' brand device but I've spoken with a few other users who are seeing this issue. Is there any other options vs replacing the Wifi card? |
I don't use wifi but my bluetooth won't come up on the Taki adapter if the ethernet cable is unplugged. The only way I can get it to work "offline" is to whack the cifs mounting scripts in /etc/network/if-up.d. |
Glad I came across this report, since I am one of those with the Taki Udon MiSTer and supplied WiFi/BT dongle who's seeing exactly this problem. Can confirm the dongle works perfectly when |
Bumping this to say I already had the TP-Link Nano AC600 and when running the cifs_mount script it still killed my Wifi capabilities. I am worried it doesn't matter what adapter you have, whatever is plugged in at the time when the script is run ceases to work. |
As above. Not sure why this happens but when it does, the ONLY way to get wifi to work again is to overwrite the linux.img file in /linux
To recap, wifi is super reliable and always comes up at boot, but as soon as I launch cifs_mount.sh with "MOUNT_AT_BOOT=true", wifi stops working until I overwrite linux.img with a fresh copy.
Setting "MOUNT_AT_BOOT=false" and manually starting the share works reliably.
The text was updated successfully, but these errors were encountered: