Date: Wed, 13 Jan 1999 22:12:32 +0000 From: Brian Somers <brian@Awfulhak.org> To: "Leo Kliger" <leo@astea.com.au> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ppp upgrade hassles Message-ID: <199901132212.WAA01152@keep.lan.Awfulhak.org> In-Reply-To: Your message of "Mon, 11 Jan 1999 10:24:45 %2B1100." <199901102332.KAA02320@astea.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org>
<http://www.Awfulhak.org>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901132212.WAA01152>
