Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2001 23:29:14 +0930 (CST)
From:      "Paul A. Hoadley" <paulh@logicsquad.net>
To:        bsd2000au@yahoo.com.au
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cant get it to allow dialins !
Message-ID:  <2966.203.49.60.114.995896754.squirrel@grover.logicsquad.net>
In-Reply-To: <20010723054447.1103.qmail@web12007.mail.yahoo.com>
References:  <20010723054447.1103.qmail@web12007.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> ++++++++++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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2966.203.49.60.114.995896754.squirrel>