Sybren Stuvel wrote:

> Hi there!
>
> I've been using a PPP-connection with my ISP for quite some time without any
> problems. I removed Linux to gain harddisk space. Now I'm using Linux again
> (of
> course :-)), but PPP gives problems. I can connect, and I can ping the
> gateway-IP-address. The DNS-server seems to be a problem: a ping reports 100%
> loss. I've included various files that may contain an error (or more). My
> fully
> qualified domain name is wirl.demon.nl. Of course, I've left my password
> out...
> I've also included a ping from WinBlows '98 to my DNS-server. My
> internet-connection runs smooth using Win98 (I'm ashamed to say...)
> I hope you can help!
>
> Greetings & thanx in advance,
>
> Sybren Stuvel
> <http://sybren.isfun.net/>http://sybren.isFun.net
>
> ============================================================
> My connect script:
> ------------------------------------------------------------
> #!/bin/sh
>
> printf  "\033[31m\033[1mLogin naar Demon Internet\033[0m\n"
>
> /usr/sbin/pppd connect '/usr/sbin/chat -v -f  /root/connect/pppscript'  115200
> /dev/ttyS3 defaultroute lock mru 576 mtu 576 195.173.253.92: &
>
> #test if all is well
>
> CONNECTED=`ifconfig | grep ppp0 | awk '{print $1}' `
>
> while [ "$CONNECTED" != "ppp0" ] ; do
>  CONNECTED=`ifconfig | grep ppp0 | awk '{print $1}' `
> done
>
> route add default ppp0
>
> printf "\033[32m\033[1mConnected!!!\033[0m\n"
> printf "Login:`date`\n" >> telephone.stats
>
> ============================================================
> /root/connect/pppscript
> ------------------------------------------------------------
> ABORT BUSY ABORT 'NO CARRIER' '' ATS11=55DT0w8800808
> ogin: 'wirl'
> word: '<my password>'
> rotocol: ppp
> HELLO ''
>
> ============================================================
> /etc/host.conf
> ------------------------------------------------------------
> order hosts,bind
> multi on
>
> ============================================================
> /etc/resolv.conf
> ------------------------------------------------------------
> domain demon.nl
> #search 194.159.73.222
> search 195.173.253.92
>
> nameserver 194.159.073.135
> nameserver 194.159.073.136
>
> ============================================================
> output of 'ifconfig'-command
> ------------------------------------------------------------
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
>           UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
>           RX packets:34 errors:0 dropped:0 overruns:0
>           TX packets:34 errors:0 dropped:0 overruns:0
>
> ppp0      Link encap:Point-Point Protocol
>           inet addr:195.173.253.92  P-t-P:194.159.73.222 Mask:255.255.255.0
>           UP POINTOPOINT RUNNING  MTU:576  Metric:1
>           RX packets:6 errors:0 dropped:0 overruns:0
>           TX packets:6 errors:0 dropped:0 overruns:0
>
> ============================================================
> output of 'route -n'-command
> ------------------------------------------------------------
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 194.159.73.222  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        1 lo
> 0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        1 ppp0
> 0.0.0.0         194.159.73.222  0.0.0.0         UG    0      0        0 ppp0

You appear to have two default routes! I don't have time right now to look closer,
but I suspect you don't need th explicit rouet add default etc as pppd will do
that anyway if there is no default route.

RJM


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to