Date: Wed, 29 Apr 1998 08:32:47 -0500 From: Susie Ward <sward@voltage.net> To: erakupa@kk.etx.ericsson.se (ETX-B-SL Martti Kuparinen), isp@FreeBSD.ORG Subject: Re: pppd troubles in 2.2.6-STABLE Message-ID: <3.0.32.19980429083246.00683c68@mail.voltage.net>
next in thread | raw e-mail | index | archive | help
I'm running a similar setup, but did things slightly different and my wtmp
logs work rather well. Seems like someone else who was starting pppd
directly from /etc/ttys posted having a similar problem.
At 08:52 AM 4/29/98 +0200, ETX-B-SL Martti Kuparinen wrote:
>I am starting pppd directly from /etc/ttys with the following lines
>
>ttyd0 "/usr/sbin/pppd -detach 115200" dialup on insecure
>ttyd1 "/usr/sbin/pppd -detach 115200" dialup on insecure
In my /etc/ttys I have this:
ttyc01 "/usr/libexec/getty std.115200" unknown on insecure
Then in /etc/gettytab:
std.115200|115200-baud:\
:np:sp#115200:pp=/usr/sbin/pppd
The built in getty can now autodetect ppp and start pppd for you (think
this started in 2.2.2 or .5?)
>My pppd configuration file (/etc/options) looks like this:
>
>crtscts # Hardware flow control
>modem # modem line
>passive # wait for LCP
>+pap # Use PAP
>login # Use /etc/passwd in PAP
>domain xxx.xxx # our domain name
>dns1 xxx.xxx.xxx.xxx # our primary DNS server
>dns2 xxx.xxx.xxx.xxx # our secondary DNS server
Add the -detach and 115200 to this file .. I have a couple of other things
in there, but they probably aren't necessary.
>My /etc/ppp/pap-secrets looks like this. Passwords should are verified
>against /etc/passwd (well, that is really master.passwd)
>
>gunnar * ""
>martti * ""
You don't have to put the usernames in pap-secrets, I just have:
* * ""
Hope this helps :)
Susie
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19980429083246.00683c68>
