Find the answer to your Linux question:
Results 1 to 4 of 4
Im having a problem when i startx,It tells me that gnome cant pick my internet details up and wont work propley unless i add my name to /etc/hosts i have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User mactabilis's Avatar
    Join Date
    Apr 2005
    Location
    moon
    Posts
    379

    hosts


    Im having a problem when i startx,It tells me that gnome cant pick my internet details up and wont work propley unless i add my name to /etc/hosts i have done this on the end of hosts ,
    Hostname <myname> but im still getting the mesage.

  2. #2
    Linux Engineer Nerderello's Avatar
    Join Date
    Apr 2003
    Location
    North East England
    Posts
    1,190
    don't know if this will help, but this is all I have in my /etc/hosts :-

    [root@localhost ~]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    nb. the 127.0.0.1 is the loopback address that all TCP/IP computers have.

    have fun

    Nerderello

    Use Suse 10.1 and occasionally play with Kubuntu
    Also have Windows 98SE and BeOS

  3. #3
    Linux Enthusiast gruven's Avatar
    Join Date
    Dec 2004
    Location
    Arkansas
    Posts
    541
    Quote Originally Posted by mactabilis
    Im having a problem when i startx,It tells me that gnome cant pick my internet details up and wont work propley unless i add my name to /etc/hosts i have done this on the end of hosts ,
    Hostname <myname> but im still getting the mesage.
    In your hosts file, you need your local ip (127.0.0.1), your domainname (if you have one), and your hostname.

    If you only have a hostname, then
    Code:
    127.0.0.1     localhost
    should be enough. I have a small home network, so I add all of my computers on the LAN into the host file, so that I can use the hostnames of them instead of ip addresses.

    Linux User #376741
    Code is Poetry

  4. #4
    Linux User mactabilis's Avatar
    Join Date
    Apr 2005
    Location
    moon
    Posts
    379

    Smile

    Thanks thats done the trick.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •