From owner-freebsd-questions Mon Dec 7 15:07:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA29280 for freebsd-questions-outgoing; Mon, 7 Dec 1998 15:07:56 -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 PAA29250 for ; Mon, 7 Dec 1998 15:07:35 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id VAA05126; Mon, 7 Dec 1998 21:36:42 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.1/8.9.1) with ESMTP id SAA05373; Mon, 7 Dec 1998 18:17:10 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199812071817.SAA05373@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Bruce Ordway" cc: freebsd-questions@FreeBSD.ORG Subject: Re: PPP In-reply-to: Your message of "Sun, 06 Dec 1998 14:30:39 CST." <001001be2157$4c0dd980$e100000a@bruce> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 07 Dec 1998 18:17:10 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'd suggest avoiding using HTML to format mail - it just causes problems.... > HI, > I'm trying to get PPP to work. Here is what I've done so far. > > Using minicom, so now at least I know my modem is talking. > > Now for PPP. I followed the instructions on the FreeBSD > site called "Pedantic PPP". I've edited the ppp.conf: > > ************************************************************* > default:set device /dev/cuaa0 Are you really missing the linefeed ? > set speed 57600 I assume these lines are indented..... > disable pred1 > deny pred1 > disable lqr > deny lqrset=20 Never heard of this command.... > dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0 > OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT"set redial 3 10## Sigh. I have no idea what your config file says - perhaps you mean set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT set redial 3 10 (Isn't ascii wonderful :-I) > #interactive mode Invoke with `ppp -alias interactive > interactive: > set authname MyUserName > set authkey MyPassword > set phone 123-4567 > set timeout 300 > set openmode active > accept chap All commands indented ? > #demand-dial (automatic) mode Invoke with: 'ppp -auto -alias demand > demand: > set authname MyUserName > set authkey MyPassword > set phone 123-4567 > set timeout 300 > set openmode active > accept chap > set ifaddr 127.1.1.1/0 204.73.244.1/0 255.255.255.0 > add 0 0 204.73.244.1 > ********************************************************* > The IP addresses above are real I think. > My ISP assigns an adress when I log on. Their > IP address is 204.73.244.1 > > and I've edited ppp.linkup: > ***************************************************** > demand:=20 > delete ALL=20 > add 0 0 HISADDR > MYADDR: > add 0 0 HISADDR :-/ > ****************************************************** > > Now when I enter the command: > ppp -auto -alias demand > > I see this: > Working in auto mode > Wsing Interface: tun0 > Warning: Add route failed: 0.0.0.0 already exists > > Do you have any ideas for me? Remove your default route setting from /etc/rc.conf. > Thanks. > Bruce -- 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