Hi!
It's me again. This is the 4'th national day of Diald Configuration ;)
Thanks for all of you who helped me so far, your help is greatly
appreciated.
I think the problem is with the default gateway setting.
I've found some scripts in /etc/sysconfig/network-scripts (ifup,
ifup-aliases, ifup-plip) which uses 'route' to set up the default
gateway. Probably these scripts are run at login (after my eth0 is
detected) and a default gateway (other than what should diald use) is
set.
Is this a known problem ?
It looks like this on my system:
1. without diald loaded (no tap0 device)
[root@localhost peter]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.4 * 255.255.255.255 UH 0 0 0 eth0
192.168.0.0 192.168.0.4 255.255.255.0 UG 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
2. with diald loaded
[root@localhost peter]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.4 * 255.255.255.255 UH 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 tap0
192.168.0.0 192.168.0.4 255.255.255.0 UG 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
How Should This Look Like ?
3. after connection with diald
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.4 * 255.255.255.255 UH 0 0 0 eth0
193.231.222.0 * 255.255.255.0 U 0 0 0 ppp0
192.168.0.0 192.168.0.4 255.255.255.0 UG 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
Why is the internet not working now? The netscape error is: 'Unable to
determine IP address from host name for www.netscape.com'
my resolv.conf is:
nameserver 127.0.0.1
search localdomain
nameserver 193.231.208.1
I also run 'dnsserver -s 193.231.208.1' started by squid. (ver
2.2STABLE5)
If I start kppp and connect this line getts added to the route table:
default 193.231.222.78 0.0.0.0 UG 0 0 0 ppp0
probably this is why it works ;)
please please please please please please please please please please
If you have a working diald and a LAN, please run 'route' as I did
(before and after startind diald and send me the output. I think this is
where the poblem of 'connect: Network is unreachable' is.
Many thanks,
Peter
PS
any other ideas why is diald not starting as it should (ping *) ?
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]