From owner-freebsd-questions Wed Jan 13 15:40:41 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA21366 for freebsd-questions-outgoing; Wed, 13 Jan 1999 15:40:41 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA21342 for ; Wed, 13 Jan 1999 15:40:36 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id XAA16481; Wed, 13 Jan 1999 23:27:17 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.1/8.9.1) with ESMTP id WAA01152; Wed, 13 Jan 1999 22:12:32 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199901132212.WAA01152@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Leo Kliger" cc: freebsd-questions@FreeBSD.ORG Subject: Re: ppp upgrade hassles In-reply-to: Your message of "Mon, 11 Jan 1999 10:24:45 +1100." <199901102332.KAA02320@astea.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 13 Jan 1999 22:12:32 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi All, > i'm going through som real grief upgrading ppp on my 2.1.5 FBSD box...... > the old version of ppp (0.94) worked in terms of logging on but the line > keeps dropping.... > i've attached the ppp.conf & linkup files which were okay for ver0.94 but > stop working for the latest ppp version....... i've edited them this way > and that to get them to work to no avail....... does anyone have any > ideas???....... > the only error message i get is as follows..... > "default route already exist: add route failed"...... > thanks in advance..... First, go through the README.changes file. It should detail all the possible bits in old configurations that might have been broken while I've been maintaining ppp. Second, read through the man page. Not all of it will make sense the first few times, but it should at least give you a feel for how ppp is controlled and configured. > leo > default: > set phone 1234567 > # set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp" > set timeout 0 > # set ifaddr 192.244.185.226 192.244.176.44 255.255.255.0 > # add 0 0 192.244.176.44 Good so far. [.....] > hutchison: > set line /dev/cuaa2 > set phone 84256000 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 25 \"\" ATZ OK-AT-OK ATE1&Q3&B1 OK-AT-OK \\dATDT\\T TIMEOUT 70 CONNECT" > set timeout 0 > set openmode active > disable pap > disable chap > disable lqr > disable vjcomp > deny lqr > deny vjcomp > accept pap > accept chap > set authname asteai > set authkey ******** > set ifaddr 203.12.80.119 203.12.80.247 > add 0 0 203.12.80.247 With the latest ppp, you're better off saying ``add 0 0 HISADDR'' or ``add default HISADDR''. Refer to the bit on ``sticky routes'' in the man page for a description of what this means. This however shouldn't matter as you've got a static IP address. So, this configuration is saying that you've got a modem on COM3 (``dmesg | fgrep sio2'' should show that your UART was probed), your ISP is to be dialed and ppp should enter negotiations immediately, responding to any PAP or CHAP requests from your ISP with the given authname & authkey (you should have blanked out the authkey!). [.....] ppp.linkup: > hutchison: > delete ALL > # add default HISADDR > add 0 0 HISADDR This isn't necessary with the latest ppp if you use HISADDR in ppp.conf. So, AFAICT, your configuration is fine. Your next step should be to add this line to the start of your default section: set log phase chat lcp ipcp command and post the resulting log. Make sure you've got syslog.conf set up as per the ppp man page. Cheers. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message