Dmitri Pogosyan wrote: > > Did you put defaultroute option into /etc/diald.conf ? > > Please post your /etc/diald.conf when you have configuration > question > yes, defaultroute is set, but not working ... I've tried this also: [root@localhost peter]# route add default gw * tap0 Desktop: Host name lookup failure ain't woking eighter I've sent all the configs yesterday in the 'last 100 meters ...' message. Here is my config only > Petre Rodan wrote: > > > 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]
debug 24 linkname "fx" linkdesc "FX Internet" # Lock in use devices lock #device /dev/ttyS0 device /dev/ttyS1 modem crtscts speed 115200 mode ppp authsimple "/etc/diald/fx/auth" accounting-log "/var/log/diald.fx" pidfile "/var/run/diald.fx" fifo "/var/adm/diald/fx" tcpport 10000 # Use fake addresses initially. Once FX has told us our real # address we know it is static. local 192.168.1.5 remote 192.168.1.10 # Subnet mask for the wan link netmask 255.255.255.0 # The IP addresses will be asigned when connection starts. dynamic # If link goes down by remote end, start it again only if there is # outgoing packets. two-way # When link is up, route directly to the real ppp interface, not the proxy # interface. Not to do this is a performance lost of about 20 per cent. # There are old kernels that do not support reroute. See diald manual for # more information #reroute # Diald will set up the default route the the SLIP interface used as proxy defaultroute #sticky #pppd-options noipdefault # We can reach the world via FX... defaultroute # More or less standard stuff. redial-timeout 30 died-retry-count 0 connect-timeout 600 #retry-count 3 #dial-fail-limit 10 start-pppd-timeout 120 pppd-options noauth user [EMAIL PROTECTED] connect "/usr/share/diald/connect" include "/usr/share/diald/filter/standard"
