Date: Mon, 6 Apr 1998 17:10:45 -0700 From: "Michael P. Sale" <mike@merchantsnet.com> To: <freebsd-questions@FreeBSD.ORG> Subject: newbie ppp question. Message-ID: <01bd61b9$9c3672e0$3206bccc@708644668>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bd61b9$9c3672e0$3206bccc>