Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Destination Host Unreachable

  1. #11
    Join Date
    Dec 2007
    Location
    The last place I look
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Unreachable Host--NO user logged in

    ok,
    if you have a network card, you always have at least 2 interfaces listed: the physical nic, and the loopback. you want to configure the nic, not the loopback, so leave interface lo alone.

    first you need to find the name of your interface. it is usually eth0, eth1, etc.
    login and run
    Code:
    ifconfig
    to list your interfaces. look for the one with an ipaddress as that is likely the one you want.

    lets assume that your interface is eth0. if you wanted to set the interface for DHCP, then use this:
    Code:
    auto lo
    iface lo inet auto 			 		
    
    auto eth0
    iface eth0 inet dhcp
    now if you want a static IP of 192.168.100.2 and your gateway address is 192.168.100.1
    then you want to use this:
    Code:
    auto lo
     iface lo inet auto 			 		
    
    auto eth0
    iface eth0 inet static
    address 192.168.100.2
    netmask 255.255.255.0
    gateway 192.168.100.1

  2. #12
    Join Date
    Jul 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Unreachable Host--NO user logged in

    Quote Originally Posted by guitar_man View Post
    should I set the unterface loopback or auto?
    Ang sagot sa iyong tanong...neither.

    The loopback is as doas777 stated (e.g. the internal interface). The auto that you refer to tells the specific interface to automatically come up upon booting.

    Once again, as doas777 stated, use the physical interface on the NIC (usually designated eth0, eth1, etc.)
    Last edited by redmk2; November 5th, 2009 at 10:15 PM.

  3. #13
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Destination Host Unreachable

    On newer (Ubuntu) systems, Network Manager doesn't set up internet until a user logs in. On Jaunty (at least), an interface configured via /etc/network/interfaces activated on machine boot. On my older Gutsy-class machines - all network configuration was via the interfaces file.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  4. #14
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Destination Host Unreachable

    Please don't double post, I have merged your two threads

  5. #15
    Join Date
    Nov 2008
    Location
    Bulacan
    Beans
    658

    Re: Destination Host Unreachable

    Quote Originally Posted by cariboo907 View Post
    Please don't double post, I have merged your two threads
    forgive me.


    Thank you everyone for the help.
    Coffee drinkers don't get dehydrated...

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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