Originally Posted by SlowJet
He means to find the other computer by hostname and get the ip resolved on his lan.
Work uses DHCP. The IP addresses change, on average twice a week. I guess they like to prune stale leases or something. So I can't use hosts file. I also can't use just the IP address since they change.
When I have my work desktop booted to Windows, from itself or my laptop I can ping the desktop's fully resolved hostname and get back the IP address on my company's intranet. If the desktop is booted into Linux, I can't. So Windows is somehow registering its hostname with the DCHP server. I need to be able to resolve the hostname as I use the desktop to export an NFS share and want to script and schedule a backup on the laptop.
This isn't an SMB issue. If the desktop is booted to Windows, my laptop running Linux can resolve the hostname with a simple ping. I am not running SMB on the desktop anyway, my company doesn't allow it.
I will check on which client I am using and see what options there are.
---------- Post added at 09:55 AM CDT ---------- Previous post was at 09:43 AM CDT ----------
Ok this looks like what I want:
I am working remotely today but will try this tomorrow and see what happens.
Thanks for the suggestion.