Unable to resolve host by name
Nils Kassube
kassube at gmx.net
Wed Nov 26 06:23:18 UTC 2008
Bob Cortez wrote:
> media at media:~$ hostname
> media
>
> I can ping localhost from media
>
> media at media:~$ cat /etc/hosts
> 127.0.0.1 localhost media
> 127.0.1.1 media
> 192.168.0.109 media
Maybe I'm wrong because it is a bit difficult to follow this thread, but
it seems to me that your entry for 192.168.0.109 is in the wrong hosts
file. For the media machine the file should be like this:
127.0.0.1 localhost
127.0.1.1 media.local media
And on your machine mystic-laptop the file should look like this:
127.0.0.1 localhost
127.0.1.1 mystic-laptop.local mystic-laptop
192.168.0.109 media.local media
Of course there could be other entries for static IPs if you want but
these are the ones you need if your "Remote Desktop Viewer" wants to
find "media.local::5900".
Nils
More information about the ubuntu-users
mailing list