iMac Sharing Name Keeps Spontaneously Changing...

My daughter and I both have iMacs which are set up so that her Mac can access mine via smb so we can share files and the printer. 


My issue is that my iMac smb address keeps spontaneously changing from the name I've given it to something along the lines of smb://unknown... following by what looks like an IP address. This means that when my daughter's Mac tries to connect to mine, it can't find it.


If I reboot my iMac, the name comes up correct again and will usually last for a couple of days before spontaneously changing again.


OS on both machines is the last version of Catalina, and the problem has only appeared since I replaced the mechanical hard drive inside my iMac with an SSD. In every other way, the SSD has been incredible - way faster and everything else works perfectly - it's just this network thing that seems to have changed.


Anyone know what could be causing this and how I could fix it?


Thanks in advance.

:)

iMac 21.5″, macOS 10.15

Posted on May 21, 2023 7:00 AM

Reply

Similar questions

9 replies

May 21, 2023 7:50 AM in response to Sabersense

System Preferences>Sharing, you can edit the name there.


Are you running any VPN, Anti-Virus, or Cleaning apps?


This may look difficult to some but is pretty easy taken step by step...


In Ventura exchange Sys Settings for Sis Prefs...


Make a New Location, Using network locations in Mac OS X ...


System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.


System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.


The interface that connects to the Internet should be dragged to the top of the list.


Sys Prefs>Network>highlight the Interface you're using>Advanced>TCP/IP>Configure IPv4: Using DHCP.


If using Wifi, instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.


System Preferences>Network>choose interface>Advanced>Proxies Tab, make sure none are set, like for HTTP & HTTPS.


System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...


8.8.8.8

8.8.4.4

1.1.1.1

9.9.9.9


Apply.

May 21, 2023 10:24 AM in response to Sabersense

Maybe move this file to the Desktop with Sys Prefs not running...


~Library/Preferences/com.apple.systempreferences.plist


~ tilde indicates  your user library folder

Apple hid the Users' Library folders...


Method 1:

  1. From the Finder, select the Go menu at top of the screen, and choose Go to Folder.
  2. In the window that opens, enter ~/Library, and click Go.


May 22, 2023 8:28 AM in response to BDAqua

I don't think there's any automatic syncing going on.

However I've just been messing around with it again, and think I may have been approaching this from the wrong end...


Several years ago I set up an Automater app to run on my daughter's Mac every time she booted it up. This would connect to my computer in order to access a Time Machine drive which would then mount on her desktop for her Mac to back up to.


This worked great for several years until this current episode.


But messing around with it just now, I found that I could manually connect from her computer to mine and mount the TM drive on her desktop, even after my Sharing name had changed itself. But the automater wouldn't achieve the same thing, despite its not having changed, and would throw an error.


When it suddenly occurred to me to try simply dragging and dropping the mounted TM drive to her Startup Items list. And blow me, when I rebooted her computer, it worked!


Time will tell whether it lasts, but it seems I've been using a complicated solution to achieve something that could be achieved much more simply. And switching to the simple solution seems to be working.


As I say, early days, but will monitor things and report back if anything changes.


Thanks for taking the time to help with this. It's much appreciated.

:-)

May 21, 2023 10:15 AM in response to BDAqua

Thanks BD.

Though it's not my internet connection that's the issue - that's all fine.


And no, no anti-virus or cleaning app or anything like that. Etrecheck returns a performance rating of Excellent.



And I can see and change the computer .local name in Preferences>Sharing, but it's the fact that my Mac keeps losing that name in File Sharing without me doing anything that's the issue.


I rebooted my Mac about three hours ago and the name shown in File Sharing was correct straight afterwards, but I've just checked it again and it's now changed to this without me doing anything:



This will likely change to smb://unknown.... followed by some kind of IP address soon, at which point my daughter's Mac won't be able to find my Mac.


I just don't understand why it's happening.

:(

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.

iMac Sharing Name Keeps Spontaneously Changing...

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