Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news-res.gsl.net!news.gsl.net!news.mathworks.com!newsfeed.internetmci.com!uwm.edu!spool.mu.edu!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!f400.n712!f515.n712!f401.n711!not-for-mail Newsgroups: comp.unix.bsd.freebsd.misc Distribution: world X-Comment-To: brian@awfulhak.demon.co.uk From: Trev Roydhouse <Trev.Roydhouse@f401.n711.z3.fidonet.org> Date: Thu, 11 Jul 96 23:32:00 +1000 Subject: Re: Problem with PPPD dial script(s) Message-ID: <986974774@f401.n711.z3.ftn> Organization: Sentry -- Sydney, New South Wales, Australia X-FTN-AREA: COMP.UNIX.BSD.FREEBSD.MISC X-FTN-Tearline: QM v1.30 X-FTN-Origin: Sentry -- Sydney, New South Wales, Australia (3:711/401.0) X-FTN-SEEN-BY: 711/401 501 712/400 515 X-FTN-PATH: 711/401 712/515 X-FTN-PATH: 712/400 Lines: 50 > : I'm setting up kernel PPP and the sample scripts > : provided in the Handbook don't work. > : More precisely - the kermit.dial script issues the > : "quit" command after dialing in successfully. Using > : stock Kermit, this drpos the connection. So I changed [...] > This is one of the reasons I stopped using it. ijppp > (prog: ppp) is infinitely better - it dials, allows > auto-connection, firewalling etc. I'd advise this man pppd, man chat provided sufficient info to allow me to simply type "pppd" and have it auto-dial, login and setup PPP. Here's my /etc/ppp/options file: /dev/cuaa1 57600 connect "/usr/bin/chat -f /etc/ppp/pppd-login" crtscts # enable hardware flow control modem # modem control line noipdefault # remote PPP server must supply your IP # address. If the remote host doesn't send # your IP during IPCP negotiation , remove # this option passive # wait for LCP packets domain myisp.net.au # put your domain name here :203.60.17.16 # put the IP of remote PPP host here # it will be used to route packets via PPP # link if you didn't specified the # noipdefault option change this line to # <local_ip>:<remote_ip> defaultroute put # this if you want that PPP server will # be your default router ... and my /etc/ppp/pppd-login file (chat script - we don't want it on the command line password and all now do we :-) ABORT BUSY ABORT 'NO CARRIER' "" AT OK /dATDT8888888 CONNECT "" TIMEOUT 10 ogin:-\\r-ogin: my_name TIMEOUT 5 sword: my_password TIMEOUT 5 $ ppp [You'll need to edit the chat script for your ISP. Once I login and get the $ prompt, I simply execute ppp] > If you *really* have a good reason for not using > ijppp, the only satisfactory way I found was to get > your modem not to drop carrier on loss of DTR for a long > time (say 255 hundreths of a second). Yuk! TREV.