From owner-freebsd-questions Thu Jan 22 20:22:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA24830 for questions-outgoing; Thu, 22 Jan 1998 20:22:01 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA24788 for ; Thu, 22 Jan 1998 20:21:55 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.7/8.8.7) with ESMTP id EAA02604; Fri, 23 Jan 1998 04:15:25 GMT (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199801230415.EAA02604@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: "Rudynell S. Millian" cc: freebsd-questions@FreeBSD.ORG Subject: Re: User PPP (again!)... In-reply-to: Your message of "Thu, 22 Jan 1998 21:24:50 EST." <34C7FF6E.958324F8@espuma.roc.servtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Jan 1998 04:15:25 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk > I've followed the ppp setup instructions in the handbook and the ppp man > page, and I still can't connect on-demand. My modem dials, the script > logs me in, but the connection gets dropped as soon as the ppp > application switches to "Packet mode". > > Below is a copy of my ppp.conf settings. Note: Phone numbers, > IP addresses, and or passwords may have been modified in this example. > > # Default setup. Always executed when PPP is invoked. > # > default: > set device /dev/cuaa1 > set speed 115200 > set log Phase Chat Connect Carrier LCP IPCP CCP tun Error Warning > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK > \\dATDT\\T TIMEOUT 40 CONNECT" > > # Entry for connecting to Servtech. > # > cyberlink: > set phone 5551234 > #set redial 5 5 > set login "TIMEOUT 20 ost:-BREAK-ost: ppp ogin: rmillian word: ******" > set timeout 0 > deny lqr > set ifaddr 204.181.4.49 172.25.22.18/0 > delete ALL > add 0 0 HISADDR > > The contents of my ppp.linkup file is: > > # Per the handbook, use this entry when the host's gateway > # address isn't know until connection is established. > # > cyberlink: > delete ALL > add 0 0 HISADDR > !bg sendmail -bd -q15m Hmm, I suspect the handbook suggests a ``sendmail -q''. -bd puts sendmail in smtp mode. > I won't bore you with the contents of my rc.conf file. Suffice it to say > that it follows the handbook word for word. I can connect using ppp in > manual mode, but I can't even do something like. > > ppp > load cyberlink > ppp > dial > > What am I missing? Dunno. You'll need to supply some log file info. Check out http://www.FreeBSD.org/FAQ/userppp.html for what sort of stuff may be useful. -- Brian , , Don't _EVER_ lose your sense of humour....