From owner-freebsd-questions Mon Jul 23 6:59:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from grover.logicsquad.net (CPE-61-9-135-142.vic.bigpond.net.au [61.9.135.142]) by hub.freebsd.org (Postfix) with SMTP id 062CE37B406 for ; Mon, 23 Jul 2001 06:59:18 -0700 (PDT) (envelope-from paulh@logicsquad.net) Received: (qmail 69002 invoked by uid 65534); 23 Jul 2001 13:59:14 -0000 Received: from 203.49.60.114 (SquirrelMail authenticated user paulh) by grover.logicsquad.net with HTTP; Mon, 23 Jul 2001 23:29:14 +0930 (CST) Message-ID: <2966.203.49.60.114.995896754.squirrel@grover.logicsquad.net> Date: Mon, 23 Jul 2001 23:29:14 +0930 (CST) Subject: Re: Cant get it to allow dialins ! From: "Paul A. Hoadley" To: bsd2000au@yahoo.com.au In-Reply-To: <20010723054447.1103.qmail@web12007.mail.yahoo.com> References: <20010723054447.1103.qmail@web12007.mail.yahoo.com> Cc: freebsd-questions@freebsd.org Reply-To: paulh@logicsquad.net X-Mailer: SquirrelMail (version 1.0.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > ++++++++++gettytab++++++++++++++++++++++ > default:\ > :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) > (%t)\r\n\r\n:sp#1200:\ > :if=/etc/issue: You need to add: :pp=/usr/local/bin/ppplogin: to tell the tty what to do when it determines it's getting a PPP login attempt. > ttyd0 "/usr/libexec/getty std.19200" dialup on It's irrelevant to your current problem, but make that std.115200 -- there's no point having the serial port run slower than your modem. Then, you need to create a file called /usr/local/bin/ppplogin which contains: #!/bin/sh /usr/sbin/ppp -direct ttyd0 where 'ttyd0' refers to the label in your ppp.conf called 'ttyd0'. There's nothing special about naming it 'ttyd0'. -- Paul. mailto:paulh@logicsquad.net mailto:paul.hoadley@student.adelaide.edu.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message