D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Debian Testing, localhost:631 and update problem

 

On 11/09/10 21:16, Henry Bremridge wrote:
> $ ping localhost
> PING localhost (127.0.0.1) 56(84) bytes of data.
> ^C
> --- localhost ping statistics ---
> 5 packets transmitted, 0 received, 100% packet loss, time 4018ms

100% packet loss to 127.0.0.1 - well that is your problem.

Suggests the loopback interface is broken or missing. Does
/etc/network/interfaces have the three lines:

# The loopback network interface
auto lo
iface lo inet loopback

If not add them back and reboot.

Does "/sbin/ifconfig" report an entry for "lo"?

Mine has two.

$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0c:f1:c9:a9:67
          inet addr:10.254.239.1  Bcast:10.254.239.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:f1ff:fec9:a967/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:235979 errors:0 dropped:0 overruns:0 frame:0
          TX packets:204628 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:230547260 (219.8 MiB)  TX bytes:20932990 (19.9 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:9769 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9769 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1926872 (1.8 MiB)  TX bytes:1926872 (1.8 MiB)

If yes, as Dan suggests probably wacky firewall rules.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq