Date: Tue, 07 Apr 1998 20:50:31 -0300 From: Capriotti <capriotti@geocities.com> To: "Michael P. Sale" <mike@merchantsnet.com>, <freebsd-questions@FreeBSD.ORG> Subject: Re: newbie ppp question. Message-ID: <3.0.32.19980407203130.009394f0@pop.mpc.com.br>
next in thread | raw e-mail | index | archive | help
Have you tried ppp -alias impulse (it should return you a prompt like: ppp ON [your_machine_name] > where you would say : dial <enter> ??? BTW, put "Default:" in lower caps, just in case, ok ? Oh, yes: You can only run ppp when you're root. Belonging to whell does not give you the needed rights to run it or do something else. use su to become root AFTER logging in as your normal user. At 05:10 PM 4/6/98 -0700, Michael P. Sale wrote: >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 > > 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?3.0.32.19980407203130.009394f0>
