random findings by wt8008
RSS icon Home icon
  • Ubuntu Resolve Hostname

    Posted on February 7th, 2009 wt8008 1 comment

    I wanted to ping my vmware-player system using its hostname. The easiest way to do this is to install samba on the server computer, and let samba announce to the network my hostname.

    Everyone on the network that can pick up and process those packets will know about the hostname.

    Playing with /etc/nsswitch.conf and /etc/dhcp3/dhclient.conf does not make an effect that I can notice.

    Edit: Apparently I only tested from my laptop. My Desktop (the host system for vmware) cannot ping the hostname of my vmware-client directly, but it can reach it via .local from avahi. Some weird configuration somewhere. I should try with a livecd.

    Edit: Samba worked fine for Ricky’s Windows PC to Ricky’s eee running Ubuntu.