From owner-freebsd-questions Thu Aug 10 5:38:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail-smtp01.one.net.au (mail-smtp01.one.net.au [203.101.17.176]) by hub.freebsd.org (Postfix) with SMTP id 09EAD37B9AB for ; Thu, 10 Aug 2000 05:38:40 -0700 (PDT) (envelope-from markhannon@one.net.au) Received: (qmail 23823 invoked from network); 10 Aug 2000 12:38:35 -0000 Received: from async240-mel-isp-13.nas.one.net.au (HELO doorway.home.lan) (61.12.97.241) by mail-smtp01.one.net.au with SMTP; 10 Aug 2000 12:38:35 -0000 Received: from putte (putte.home.lan [192.168.255.2]) by doorway.home.lan (8.9.3/8.8.7) with SMTP id WAA00765 for ; Thu, 10 Aug 2000 22:31:50 +1000 (EST) (envelope-from markhannon@one.net.au) Message-ID: <002c01c002c6$f444bea0$02ffa8c0@home.lan> From: "Mark Hannon" To: Subject: ppp -auto and mgetty on same modem Date: Thu, 10 Aug 2000 22:31:48 +1000 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0028_01C0031A.C5E005C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0028_01C0031A.C5E005C0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0029_01C0031A.C5E005C0" ------=_NextPart_001_0029_01C0031A.C5E005C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I am trying to setup mgetty dialin with autopp for ppp dialins and ppp = -auto on the same modem. I have ppp -auto working. I have mgetty and ppp dialin working.... = However, I have had to resort to some hacks to get the mgetty autoppp script to kill the ppp -auto = before initiating a new ppp session in order to get the dialin to work. When the ppp dialin is = finished I configured ppp.linkdown to restart ppp -auto but it doesn't seem to work and I can't see any = error messages. Setup: FreeBSD 3.4-RELEASE The relevant files: where ppp-dialin is called from mgetty to start the dialin and = ppp.linkdown calls onetel at closure of the dialin ppp session. Anybody got a similar config working? Regards/mark ------=_NextPart_001_0029_01C0031A.C5E005C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I am trying to setup mgetty dialin with = autopp for=20 ppp dialins and ppp -auto on the same modem.
I have ppp -auto working.  I have = mgetty and=20 ppp dialin working....  However, I have had to resort
to some hacks to get the mgetty autoppp = script to=20 kill the ppp -auto before initiating a new ppp
session in order to get the dialin to = work. =20 When the ppp dialin is finished I configured ppp.linkdown
to restart ppp -auto but it doesn't = seem to work=20 and I can't see any error messages.
 
Setup:    FreeBSD=20 3.4-RELEASE
 
The relevant files:
 
where ppp-dialin is called from mgetty = to start the=20 dialin and ppp.linkdown calls onetel at
closure of the dialin ppp = session.
 
Anybody got a similar config = working?
 
Regards/mark
 
 
------=_NextPart_001_0029_01C0031A.C5E005C0-- ------=_NextPart_000_0028_01C0031A.C5E005C0 Content-Type: application/octet-stream; name="ppp-dialin" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="ppp-dialin" #!/bin/sh=0A= #=0A= # This is a pretty fragile script, it kills the ongoing ppp -auto=0A= # session, waits a couple of seconds and then starts ppp. At the=0A= # end of the ppp session the ppp.linkdown file will restart onetel=0A= =0A= killall ppp=0A= sleep 2=0A= exec /usr/sbin/ppp -direct incoming=0A= =0A= ------=_NextPart_000_0028_01C0031A.C5E005C0 Content-Type: application/octet-stream; name="ppp.linkdown" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="ppp.linkdown" =0A= onetel:=0A= !bg /usr/bin/killall fetchmail=0A= =0A= incoming:=0A= !bg /etc/ppp/scripts/onetel=0A= =0A= ------=_NextPart_000_0028_01C0031A.C5E005C0 Content-Type: application/octet-stream; name="onetel" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="onetel" #!/bin/sh=0A= =0A= sleep 10; ppp -auto -nat onetel=0A= =0A= =0A= ------=_NextPart_000_0028_01C0031A.C5E005C0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message