7831 Views 6 Replies Latest reply: Nov 25, 2008 10:32 PM by Spectre
Well interesting question. I found this site which offers some tips about disabling netbios: http://www.broadbandreports.com/forum/r19785490-OS-X-Disabling-NetBIOS-broadcast s-in-Leopard
Not sure if that helps or if you saw that yet but its all I could find right now.
first of all thank you for your help.
I have checked the two links you found, and have tried the suggestions there, plus some more.
After blocking all incoming and outgoing NetBIOS/WINS traffic (ports 135, 137-139, 445, 1512, each TCP and UDP), the hostname still is changed when I plug in the network cable and get a DHCP address.
It seems that although the new hostname is displayed in the WINS section of the network configuration, it is not received via WINS, but via DHCP.
So, there is a new and different question now: is there a way to configure the OSX dhcp client to not receive a hostname from the network?
BTW: system log says:
configd: setting hostname to "rtgnb209.intranet.local"
after doing a little more research now that the "Spotlight turned to DHCP", I figured out that adding the following line to /etc/hostconfig prevents the DHCP client from updating the hostname:
HOSTNAME=<desired permanent hostname>
It seems that in either previous OSX versions or with specific configurations, a line is present that reads "HOSTNAME=-AUTOMATIC-". If that is the case, or with 10.5.5 if a dedicated hostname is missing, DHCP client is allowed to update the systems hostname.
Thanks again for your help.