[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PPPD as Server

Hi Jay!

Thanks, between your example and the guy who sent me to the FreeBSD 
example page, I think I have cleared most of the fog. I was not catching 
the idea that I needed a successful dial-in SHELL set up first, then add 
PPPD to it. I was just reading the PPPD stuff and got lost in how the heck 
it answers the phone ;)

My needs are just one, MAYBE two incoming lines to allow my sales staff to 
remote dial in to get their secure internal mail (and to let the tech's 
play Quake 2 from home on Fridays ;) They will get no outside internet 
access, just local SMTP/POP and the Quake ports :) 

Thanks for your example,


> On Thu, 28 May 1998, Nick Ellson wrote:
> >I have read over the man pages to PPPD but I am still a bit fuzzy on how
> >I would set it up as a single line server over a modem. I didn't see
> >anything in the FAQ, are there places I can go to find examples maybe?
> It's not too involved. First, make sure your modem works correctly for
> normal dial-in. Then set up a ppp user. For one user, I'd use the passwd
> file. For example:
> Puser:*:2001:2001:Sample Dialup PPP,,,:/usr/tmp:/usr/local/sbin/ppp-login
> Then, create a ppp-login script that looks like this:
> #!/bin/sh
> /usr/bin/mesg n
> stty -tostop
> exec /usr/sbin/pppd nodefaultroute <your.ip.address>:<his.ip.address>
> Then create an /etc/ppp/options file that looks like:
> modem
> 57600
> crtscts
> lock
> asyncmap 0
> Give your new ppp user a password and have him try a login.
> Two notes. This approach does _not_ scale well. It's for the single
> user problem. It will also not interfere with originating ppp
> connections. Also, you will probably have the best luck using a
> standard getty and turning off echoing and reporting. I always set my
> modems up for hardware flow control, no echoing, DSR follows carrier and
> reset on carrier drop. If I need echoing (for example uucp) I'll turn it
> on in the chat script.
> I've used this approach for single 'service' type ppp connections and it
> works reasonably well. There are much better ways of setting up general
> ppp service if you have multiple lines and a number of users. Try this
> first and I think it will make the man page more understandable.
> Good luck.
> -- Jay
> >Nick
> >
> >--
> >Nick Ellson
> >Customer Support
> >Imagenation           HTTP://www.imagenation.com 

Nick Ellson
Customer Support
Imagenation           HTTP://www.imagenation.com