Re: can't access localhost

2007-09-21 Thread Martin Marcher
2007/9/21, Liam O'Toole <[EMAIL PROTECTED]>: > The issue is that 'mc' resolves to 127.0.0.1 (the first match), whereas > mc.home.m resolves to 127.0.1.1 (the only match). Thus the canonical > host name and its alias resolve to different IP addresses. uh oh, right, reading in context actually helps

Re: can't access localhost

2007-09-21 Thread Liam O'Toole
On Fri, 21 Sep 2007 12:31:42 +0200 "Martin Marcher" <[EMAIL PROTECTED]> wrote: > 2007/9/21, Liam O'Toole <[EMAIL PROTECTED]>: > > On Fri, 21 Sep 2007 08:32:21 +0100 > > "John O Laoi" <[EMAIL PROTECTED]> wrote: > > > # cat /etc/hosts > > > 127.0.0.1 localhost mc > > > 127.0.1.1 mc.home.m mc > > >

Re: can't access localhost

2007-09-21 Thread Martin Marcher
2007/9/21, Liam O'Toole <[EMAIL PROTECTED]>: > On Fri, 21 Sep 2007 08:32:21 +0100 > "John O Laoi" <[EMAIL PROTECTED]> wrote: > > # cat /etc/hosts > > 127.0.0.1 localhost mc > > 127.0.1.1 mc.home.m mc > > I see that you solved the CUPS problem, but I should point out > that the hosts file above is

Re: can't access localhost

2007-09-21 Thread Liam O'Toole
On Fri, 21 Sep 2007 08:32:21 +0100 "John O Laoi" <[EMAIL PROTECTED]> wrote: [...] > # cat /etc/hosts > 127.0.0.1 localhost mc > 127.0.1.1 mc.home.m mc [...] I see that you solved the CUPS problem, but I should point out that the hosts file above is likely to cause problems elsewhere. You shoul

Re: can't access localhost

2007-09-21 Thread John O Laoi
> > > > Have you tried doing 'ifconfig lo up'? If that works try adding a line > like the following to your /etc/network/interfaces: > > auto lo > > I did just as you suggested above, and it fixed everything. CUPS is working again, and ifconfig reports lo as well as eth1. Thanks everyone for your h

Re: can't access localhost

2007-09-21 Thread Gabriel Parrondo
El vie, 21-09-2007 a las 08:32 +0100, John O Laoi escribió: > When you run /sbin/ifconfig is the interface lo up? Are there > any > messages in /var/log/syslog that might be relevant? > > > No, when I run ifconfig, it only gives details for eth1. > There is nothing much in

Re: can't access localhost

2007-09-20 Thread Mumia W..
On 09/20/2007 02:14 PM, John O Laoi wrote: [...] I also could not ping localhost or 127.0.0.1. So I removed the firewall using # update-rc.d -f firewall.script remove and rebooted. [...] *However, I still can't access CUPS or ping localhost.* What might be wrong? Where do I start to look?

Re: can't access localhost

2007-09-20 Thread Tod Detre
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > *However, I still can't access CUPS or ping localhost.* > > > What might be wrong? > > Where do I start to look? When you run /sbin/ifconfig is the interface lo up? Are there any messages in /var/log/syslog that might be relevant? Regards, Tod D