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

Re: cannot resolve hostname



On Sat, 07 May 2011 14:14:39 +0100, AG wrote:

> In what seems to be a string of related issues having to do with
> networking, I now find that not only has my IP address been changed from
> 192.168.1.40 to 192.168.1.64 but also that my machine's name (valhalla)
> cannot be resolved.
> 
> This is the output of ifconfig:
> $ sudo ifconfig
> sudo: unable to resolve host valhalla 

(...)

:-)

First, resolve your network layout by either using a dynamic setup (your 
IP address could change on every reboot) or by using a static 
configuration.

http://wiki.debian.org/NetworkConfiguration

Then, review your "/etc/hosts" file.

Do you see the same error if you run "/sbin/ifconfig", that is, using not 
"sudo" at all?

Greetings,

-- 
Camaleón


Reply to: