Perhaps I should have been clearer and asked you at the outset to change the file. I wondered, however, if you just made an error posting it in the forum and if it was, indeed, correct in the actual file.
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.
So near yet so far. great I thought - now I can get on the web etc. Well nearly - I cannot yet get to http://localhost
Last edited by DGortze380; March 29th, 2009 at 07:38 PM.
Registered Linux User: 482377
MacBook (1,1) - OS X Leopard
ASUS P5LD2 - Core 2 Duo 3.0GHz - 2GB Corsair RAM - Nvidia 8800GT - Ubuntu 9.04 / Windows 7 Professional
Hi Dgortze380, here it is
neil@neil-ubuntu3:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 neil-ubuntu3
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Hi.
Sorry for post it here, but I think it's on-topic.
My /etc/resolv.conf file changes himself. I asked a friend to let me see his file and it said:
Mine says:#Generated by network manager
Anyone knows what the problem can be? I don't want it to change alone# Dynamic resolv.conf( 5) file for glibc resolver( 3) generated by resolvconf(8 )
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
I was told that the network manager would overwrite that file and the advice I had was to remove it, bet to read all of this thread first though.
Hi, yoou wrote "weird, what happens if you ping localhost?"
neil@neil-ubuntu3:~$ ping http://localhost
ping: unknown host http://localhost
then I tried
neil@neil-ubuntu3:~$ ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.043 ms
and I get a reply. When I type localhost into my browser it adds the http:// bit.
Bookmarks