From owner-freebsd-questions Mon Apr 6 17:14:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA08483 for freebsd-questions-outgoing; Mon, 6 Apr 1998 17:14:09 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.impulse.net (mail.impulse.net [204.188.6.10]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA08447 for ; Mon, 6 Apr 1998 17:13:55 -0700 (PDT) (envelope-from mike@merchantsnet.com) Received: (qmail 12525 invoked from network); 7 Apr 1998 00:13:54 -0000 Received: from sb1-50.impulse.net (HELO 708644668) (204.188.6.50) by mail.impulse.net with SMTP; 7 Apr 1998 00:13:54 -0000 From: "Michael P. Sale" To: Subject: newbie ppp question. Date: Mon, 6 Apr 1998 17:10:45 -0700 Message-ID: <01bd61b9$9c3672e0$3206bccc@708644668> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello all, I am new to freebsd and most of unix. I am trying to get ppp (IPCP) dialout working on a newly installed PII 233 with freebsd 2.2.5 (CD-Rom set). I have set up both ppp.conf and ppp.linkup in the /etc/ppp directory. They are included below in case they may be the problem. When I type in ppp from root ( I know using root is bad, but I can't yet figure out why I don't have access to anything even though my user is part of wheel ), I get the following: User Process PPP. Written by Toshiharu OHNO. According to the book, I should see considerably more here. :-) At this point the box hangs until I do a CTL-C. All advice and suggestions for the clueless would be appreciated. Thanks, Mike ppp.conf starts here------------------------------------------------- # Default setup. Always executed when PPP is invoked. # Default: set device /dev/cuaa1 set speed 57600 set log Phase Chat Connect Carrier hdlc LCP IPCP CCP tun deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" # Example with a login script # # o From PPP prompt, # ppp> dial simplesite # automatically dials and performs the login script. # # ppp> load simplesite # loads and executes commands, but doesn't dial. # # o From shell, invoke as # $ ppp simplesite # to load commands associated with the 'simplesite' label. Use, # ppp> dial # to establish the connection. # impulse: set phone 1234567 set openmode passive set authname login_name set authkey passwd set login "TIMEOUT 5 login:\\r-login: login_name word: passwd" set timeout 120 # Take care of extra stuff # set up for dynamic ip (ipcp) set ifaddr 0 0 # set up for default routing add 0 0 HISADDR ppp.conf ends here-------------------------------------------------- ppp.linkup starts here---------------------------------------------- # Otherwise, simply add peer as default gateway. # MYADDR: delete 0 add 0 0 HISADDR ppp.linkup ends here---------------------------------------------------------- ---------------------------------------------- Michael P. Sale MerchantsNet.Com mike@merchantsnet.com www.merchantsnet.com ---------------------------------------------- "Humility has no equal in the battle for knowledge" -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message