Announcement

Collapse
No announcement yet.

lost host

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    lost host

    I have my Kub8.04/3.5.10 box and an XP box greeting the outside world through an old Dell P11 running Debian (router/firewall). I just tried
    ssh: debianbox: Name or service not known

    I've had this happen before: for some reason the hosts lists gets changed by a distupgrade and I have to edit it back into shape
    problem is I now can't remember which file has that hosts info
    Soooooo ... if someone tells me the file I _PROMISE_ this time I'll record it so I don't have to ask again ...

    [MODIFY]
    now after digging around Search, I've got these in my sights:

    </etc/network/interfaces >
    auto lo
    iface lo inet loopback
    address 127.0.0.1
    netmask 255.0.0.0
    iface eth0 inet static
    address 192.168.1.57
    netmask 255.255.255.0
    gateway 192.168.1.11
    auto eth0

    # I don't see anything blatantly wrong here- address and gateway are as expected

    < /etc/hosts>
    127.0.0.1 localhost
    127.0.1.1 zed

    # 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

    this is odd
    zed is my proper hostname, but it used to have the ip and name of both the debian box, and my wife's xp box. I know this, because I remember typing them in. The date on the file is back beginning of last August, so it doesn't think it got changed since then

    puzzle.

    should I just add them back in

    # ipaddress hostname
    127.0.0.1 localhost
    127.0.1.1 zed
    192.168.1.11 gateway box
    192.168.1.14 wife's xp

    and take notes, or is their something amiss here?
    WE&#39;RE ALL BETTER OFF WHEN WE&#39;RE ALL BETTER OFF<br />User # 17645
Working...
X