sudo aptitude install winbindI did it but the problem did not go away. Later I found elsewhere on the net that /etc/hosts needs an entry 127.0.1.1 myhostname for the name resolution to work.
Then edit /etc/nsswitch.conf by type in "sudo gedit /etc/nsswitch.conf" without the "quote" in the terminal and add wins to the hosts line in the position shown
here:
Code:
hosts: files mdns4_minimal [NOTFOUND=return] wins dns mdns4
Stuckness shouldn't be avoided. It's the psychic predecessor of all real understanding. An egoless acceptance of stuckness is a key to an understanding of Quality, in mechanical work as in other endeavors. It's this understanding of Quality as revealed by stuckness which so often makes self-taught mechanics so superior to institute-trained men who have learned how to handle everything except a new situation. - Robert Pirsig, Zen and the Art of Motorcycle Maintenance
Sunday, March 21, 2010
Hostname in Ubuntu
"ping myhostname" was not working on my Ubuntu machine. I found on the net, for example here that I need to perform the following to get it working:
Subscribe to:
Post Comments (Atom)
2 comments:
Post a Comment