SMB connections intermittently disconnect

I have an iMac on MacOS Mojave that has SMB connections to our Windows file server. It has been fine up until recently, however. It drops connection every so often and cannot see the server even though it is connected to the internet and on the same local network. It will eventually re-connect after a while, but the drops are very inconvenient and annoying for the user. Usually occurs in the morning and she is the only one having the problem.


I've tried restarting Finder, rebooting, and removing the connection and re-establishing. So far nothing seems to stick as a permanent fix. Any suggestions would be appreciated!

iMac

Posted on Feb 2, 2023 07:11 AM

Reply

Similar questions

2 replies

Feb 2, 2023 03:24 PM in response to USLDtrecc

Are they connecting via Wifi or what?


RichardFoo User level: Level 1 (4 points)

Feb 15, 2019 4:24 PM in response to TimsTech

I've been debugging a problem with my VPN client constantly reconnecting, along with poor WiFi performance. After much digging, I came across an excellent article - although written for Yosemite and iOS8, it still seems to be relevant to Mojave, especially with a newer WiFi chip in the 2018 MacBook Pro. https://medium.com/@mariociabarra/wifriedx-in-depth-look-at-yosemite-wifi-and-awdl-airdrop-41a93eb22e48


The author wrote a program that essentially just issues a command and keeps it enforced. You can try it manually in a terminal window: sudo ifconfig awdl0 down

To reverse the command, type: sudo ifconfig awdl0 up


He gives a great technical explanation, so I won't repeat it here. The command disables a virtual network interface that's used for ad-hoc WiFi by features like Airdrop; I personally won't miss them. So far, I've gone from losing my connection 20 times an hour to being stable for 3+ hours.


netstat -v |grep "CLOSE_WAIT" | grep -i "iphone\|ipad" |awk '{print $9}' |sort |uniq | xargs kill

And curl says "Can't assign requested add… - Apple Community


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

SMB connections intermittently disconnect

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.