From owner-freebsd-questions Fri Nov 8 18:18:41 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA29276 for questions-outgoing; Fri, 8 Nov 1996 18:18:41 -0800 (PST) Received: from seabass.progroup.com (catfish.progroup.com [206.24.122.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA29271 for ; Fri, 8 Nov 1996 18:18:38 -0800 (PST) Received: from seabass.progroup.com (seabass.progroup.com [206.24.122.1]) by seabass.progroup.com (8.7.5/8.6.12) with SMTP id SAA02197; Fri, 8 Nov 1996 18:15:57 -0800 (PST) Message-ID: <3283E95D.41C67EA6@progroup.com> Date: Fri, 08 Nov 1996 18:15:57 -0800 From: Craig Shaver Organization: Productivity Group, Inc. X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.1.0-RELEASE i386) MIME-Version: 1.0 To: Shawn Murphy CC: FreeBSD Support Subject: Re: My PPP interface. References: <7819590AA6@auc.atlanticuc.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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