From owner-freebsd-questions Fri Feb 20 19:00:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA09392 for freebsd-questions-outgoing; Fri, 20 Feb 1998 19:00:10 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jaguar.ir.miami.edu (jaguar.ir.miami.edu [129.171.32.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA09384 for ; Fri, 20 Feb 1998 19:00:04 -0800 (PST) (envelope-from marcus@miami.edu) Received: from localhost by jaguar.ir.miami.edu (PMDF V5.1-10 #24029) with SMTP id <0EOP00701I1A6X@jaguar.ir.miami.edu> for freebsd-questions@FreeBSD.ORG; Fri, 20 Feb 1998 21:10:22 -0500 (EST) Date: Fri, 20 Feb 1998 21:10:21 -0500 (EST) From: "Joe \"Marcus\" Clarke" Subject: Re: ppp In-reply-to: <34EE330A.85E4ECAD@wilmington.net> To: Mike Poore Cc: freebsd-questions@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Okay, here are a few things. Move the stuff about ifaddr and add to the pmdemand header. Then add a space in front of each line except the headers. I know this sounds a little strange, but I was getting the same errors you were, and this solved it. Also, comment lines MUST begin with the '#', thus no space. Here is an example: default: set device /dev/cuaa0 set speed 115200 deny lqr disable lqr ... pmdemand: set phone 1234567 set openmode active set ifaddr 10.0.1.0/0 192.168.100.1 255.255.255.0 add 0 0 HISADDR ... That should work for you. Good luck...also, make sure you modem init string is on ONE line...no line break...this will cause a big error. Joe Clarke On Fri, 20 Feb 1998, Mike Poore wrote: > ok im desperate to start ppp i went to that page "none of this helps im > desperate" so here u go: > > > ppp.conf > > > default: > set device /dev/cuaa0 > set speed 115200 > disable lqr > deny lqr > set dial "ABORT BUSY ABORT NO\CARRIER TIMEOUT %\"\" ATE1Q0 > OK-AT-OK \\dATDT \\T TIMEOUT 40 CONNECT" > set ifaddr 10.0.01/0 255.255.255.0 > add 0 0 HISADDR > > > pmdemand: > set phone 7632393 > set login "TIMEOUT 5 ogin:-\\r-ogin: michaelp word: password" > disable pred1 > set timeout 0 > set redial 1 10 > > > ------- i am calling it up by ppp -auto -alias pmdemand > > i have freebsd 2.2.2-RELEASE > > # ppp -auto -alias pmdemand > User Process PPP. Written by Toshiharu OHNO. > Packet Aliasing enabled. > Warning: No password entry for this host in ppp.secret > Warning: All manipulation is allowed by anyone in the world > Log level is 281 > Using interface: tun0 > Automatic Dialer Mode > Must specify dstaddr with auto or ddial mode. > > > -Mike > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message