Subject: Re: dial up connection
To: Guy Santiglia <netbsd-help@netbsd.org>
From: Mike Pelley <mike@pelley.com>
List: netbsd-help
Date: 05/24/1999 12:36:56
>   I would like to be able  dial up my computer's modem
> from a remote location, ( like at work)  and have the modem answer and
> them I want log onto my system like I can do with my
> ISP.  Can someone point me in the right direction to learn
> how to do this.

It's been a while, but here's how mine's set up and my best memories of why
;o)

You need to create a couple of files - the first would be /etc/ppp/options
and look something like this:

lock
/dev/tty02
115200
crtscts
modem
noipdefault
holdoff 5
proxyarp
ms-dns 10.0.0.1
10.0.0.2:10.0.0.3
idle 360
auth -chap +pap
login

Where /dev/tty02 is your modem, ms-dns is the ip of your dns server (which
could be your netbsd box, only useful if you are dialing up with
windows95/98/NT), 10.0.0.2 is the IP of your ppp0 interface on your netbsd
box, 10.0.0.3 is the IP you want to give to your dial up machine.  man pppd
will explain the rest ;o)

The other file you'll need is /etc/ppp/pap-secrets.  The permissions on this
file must be 600 (or 400), and should look something like this:

* rossem "" *

Where rossem is the name of your netbsd box.  That should allow you to log
in via ppp with any valid account in your password file.

Someone please correct me if I've left something out.

CU!  Mike.