FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 05-07-2011, 02:49 PM
Default Network problem (was: cannot resolve hostname)

On Sat, 07 May 2011 15:15:18 +0100, AG wrote:

> On 07/05/11 14:50, Camaleón wrote:


>> 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?
> OK - I want to use a static IP address (easier for a simpleton like me
> to configure the printer client machine to see it). The IP address I
> have customarily used is and that is what is in my
> /etc/hosts file:


Okay, let's forget momentary the "hosts" file and go on with the network
issue which I think is more important here.

> So, I have just done the following:
> (1) I altered the /etc/hosts IP address to *.64
> (2) ensured that the /etc/network/interface file read "static" rather
> than dhcp
> (3) rebooted


Copy/paste what does your "/etc/network/interfaces" look like and also
post the results of "/sbin/ifconfig", "cat /etc/resolv.conf", "ping -c 3" (or whatever the IP of your router is) and just in case "ip
ro" and "dmesg | grep -i eth".



To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.">http://lists.debian.org/pan.2011.

Thread Tools

All times are GMT. The time now is 12:44 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org