[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A problem:SIOCADDRT :Invalid argument



On Thu, 22 Jul 1999, Paul Miller wrote:

> solar wrote:
> >       default: Host name lookup failure           (problem :()
> 
> Are you connected to the Internet in any way? If so, do you have a
> nameserver supplied in /etc/resolve.conf?

One way to avoid this error is to add a line in /etc/hosts for your
hostname, pointing to 0.0.0.0 or 127.0.0.1 or your static IP address if
any. Some parts of the system depend on knowing how to contact itself via
the network, even if that network is only the 1 machine.

For example:
  0.0.0.0	foobar.nowhere.com	foobar


Reply to: