From owner-freebsd-questions Mon Nov 24 21:02:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA10346 for questions-outgoing; Mon, 24 Nov 1997 21:02:44 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA10333 for ; Mon, 24 Nov 1997 21:02:29 -0800 (PST) (envelope-from brian@awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.7/8.8.7) with ESMTP id EAA12834; Tue, 25 Nov 1997 04:55:46 GMT (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199711250455.EAA12834@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: quiksilver cc: freebsd-questions@freebsd.org Subject: Re: PPP trouble In-reply-to: Your message of "Sat, 22 Nov 1997 20:50:59 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 25 Nov 1997 04:55:45 +0000 From: Brian Somers Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi. Your ppp.linkup entry for your ISP has to many arguments to the add line. It should read add 0 0 HISADDR I'm surprised however that there isn't a second line in your routing table after the link is up. If you "set log local ipcp" before doing the dial, you should see what's going on. > I have read the docs and troubleshooting and I cannot figure out what is > wrong with it. Mabye you can help. When I connect, it disconnects after > about 1 minute. > > netstat -rn (before i use ppp) > Routing Tables > Internet: > Destination Gateway Flags Refs Use Netif Expire > 127.0.0.1 127.0.0.1 UH 0 16 lo0 > > netstat -rn (after i use ppp) > Routing Tables > Internet: > Destination Gateway Flags Refs Use Netif Expire > 127.0.0.1 127.0.0.1 UH 0 32 lo0 > > > copy of my ppp.linkup: > MYADDR: > delete 0 > add 0 0 HISADDR > !bg /usr/X11R6/bin/auphy /etc/ppp/linkup.au (Note: file is not present) > 206.154.70.41: (that is my ISP DNS) > add 206.154.70.0 0 0 HISADDR > pmdemand: > delete ALL > add 0 0 HISADDR > !bg /etc/ppp.etherup.pmdemand (Note: file not present) > min5minutes: > !bg sh -c "sleep 240; ppp ctl -p mypw 3000 set timeout 60" > > copy of ppp.conf > default: > set log Phase Chat Connect Carruer CCP IPCP CCP tun command > set device /dev/cuaa1 > set speed 115200 > deny lqr > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE > 1Q0 \\DATDT\\ T TIMEOUT 40 CONNECT" > ondemand: > set phone 3051860 > set login "TIMEOUT 5 ogin:--ogin: Pquik word: mypwd" > set timeout 120 > set ifaddr 0.0.0.0 206.154.70.41 255.255.255.0 > delete ALL > add 0 0 HISADDR > > > This is a log of how i use ppp: > # ppp > ppp ON uart> load ondemand > ppp ON uart> dial > Dial Attempt 1 of 1 > Phone: 3051860 > dial OK! > login OK! > ppp ON uart> Packet Mode > > I Hope that was enough info. I was quite sure what to take from my > ppp.log file, since it was so large. > -- Brian , , Don't _EVER_ lose your sense of humour....