Date: Fri, 08 Nov 1996 18:15:57 -0800 From: Craig Shaver <craig@progroup.com> To: Shawn Murphy <smurphy@atlanticuc.edu> Cc: FreeBSD Support <questions@FreeBSD.ORG> Subject: Re: My PPP interface. Message-ID: <3283E95D.41C67EA6@progroup.com> References: <7819590AA6@auc.atlanticuc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Shawn Murphy wrote: > > I configured my FreeBSD to use my second serial port as a ppp link. > How can I get it to dial-up on startup? > > Thank you for your time, > -Shawn Murphy > Atlantic Union College I got this from someone else, but it works for me: ==================================================== {5} /etc/ppp> less ppp0.start #!/bin/sh # # PPPD Auto-Dialer script # # Note: # You *MUST* use -detach mode or else the pppd process will fork # into the background and you will get hundreds of pppd processes trying # to connect to the remote site. The current behavior causes the line to # re-dial when pppd fails, so it acts like a auto-dialer. # DEVICE=cuaa1 while `true`; do /usr/sbin/pppd -detach \ connect 'chat -v -f /etc/ppp/isp.chat' $DEVICE 115200 # If we fail, wait a little while for the line to settle down sleep 5 done ================================================== {6} /etc/ppp> less isp.chat ABORT "NO CARRIER" ABORT BUSY "" A\pA\pA\pT OK ATZ0 OK ATM1&C1&D2S95=3&W0 OK ATDT19995551234 CONNECT "" ogin: alogin ssword: apassword {7} /etc/ppp> ==================================================== isp.chat is actually all one line. your modem may vary -- Craig Shaver (craig@progroup.com) (415)390-0654 Productivity Group POB 60458 Sunnyvale, CA 94088
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3283E95D.41C67EA6>