Complete.Org: Mailing Lists: Archives: freeciv: September 1999:
[Freeciv] Re: 'Failed looking up host' error

[Freeciv] Re: 'Failed looking up host' error

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "'freeciv@xxxxxxxxxxx'" <freeciv@xxxxxxxxxxx>
Subject: [Freeciv] Re: 'Failed looking up host' error
From: "Edman, Tom R (MN65)" <Edman_Tom@xxxxxxxxxxxxxxxxx>
Date: Sat, 25 Sep 1999 13:38:05 -0500

Excellent help!

The problem was that the localhost mapping to in /etc/hosts was
commented out.

I'm now up and running.

Thanks very much.

tom e.

-----Original Message-----
From: lloy0076 [mailto:lloy0076@xxxxxxxxxxxx]
Sent: Friday, September 24, 1999 10:42 PM
To: Edman, Tom R (MN65)
Cc: 'freeciv@xxxxxxxxxxx'
Subject: [Freeciv] Re: 'Failed looking up host' error

> The entries in the dialogue box are:
> user is set to my login name
> host is set to 'localhost'
> port is set to '5555'
> I'm suspecting that the problem is with my Linux environment, but any
> helps or clues would be greatly appreciated.

Firstly you need to have the interface called "lo" up. Check this with
[you should be root]

<~># ifconfig

lo        Link encap:Local Loopback  
          inet addr:  Mask:
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

If it's not up bring it up like this:

<~># ifconfig lo up

After that edit your /etc/hosts file. Add a line like this       localhost

THEN the game should run. Your error is caused because freecive expects
a network style connection. The loopback device - i.e. a network style
device connected to your own machine - masquarades so to speak for it.

I hope you understand this. Check out some manuals if you need to get lo
(the looopback device) up at start up.


Subscribe to the Linux C Mailing Lists Today!

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv] Re: 'Failed looking up host' error, Edman, Tom R (MN65) <=