You are not logged in.
Hi all,
My problem is quite simple: when my network connection is down, every application I try to launch take ages before the new window appear (whatever the application is: xterm, firefox, ...).
I suppose that it's due to a bad configuration of my local loop but I can't understand where is the problem. I'm behind a NAT, here is what ifconfig says:
eth0 Link encap:Ethernet HWaddr 00:0E:2E:33:1F:92
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: 2a01:5d8:52e7:d503:20e:2eff:fe33:1f92/64 Scope:Global
inet6 addr: fe80::20e:2eff:fe33:1f92/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1497227 errors:0 dropped:0 overruns:0 frame:0
TX packets:114370 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2044338948 (1949.6 Mb) TX bytes:11746171 (11.2 Mb)
Interrupt:10 Base address:0xc000lo 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:350 errors:0 dropped:0 overruns:0 frame:0
TX packets:350 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:30454 (29.7 Kb) TX bytes:30454 (29.7 Kb)
and route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.0.254 0.0.0.0 UG 0 0 0 eth0
(Note that I don't have any idea of why the 169.254.0.0/16 route is there as it's absolutely not a part of my network).
I tried to add a route for localhost using lo but nothing changes.
my hosts.allow contains all my local IP addresses (127.0.0.1, 192.168.0.2) and all the iptables policy are ACCEPT without any other rules.
Can someone explain to me why I can't use my computer when my network is down ?
Last edited by [The_Real_Neo] (2007-12-14 21:05:15)
Offline
Do you have a proper localhost entry in /etc/hosts?
Like
127.0.0.1 localhost.localdomain localhost hostname_of_your_pc
Offline
I added my hostname and it's now working. Thank you very much for your help.
Offline