From owner-freebsd-questions Wed Oct 7 04:37:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA06278 for freebsd-questions-outgoing; Wed, 7 Oct 1998 04:37:04 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from buffy.tpgi.com.au (buffy.tpgi.com.au [203.12.160.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA06272 for ; Wed, 7 Oct 1998 04:37:01 -0700 (PDT) (envelope-from eirvine@tpgi.com.au) Received: (from smtpd@localhost) by buffy.tpgi.com.au (8.8.7/8.8.7) id VAA22664; Wed, 7 Oct 1998 21:37:48 +1000 Received: from tar-ppp-177.tpgi.com.au(203.26.26.177), claiming to be "tpgi.com.au" via SMTP by buffy.tpgi.com.au, id smtpda22647; Wed Oct 7 21:37:42 1998 Message-ID: <361B525C.38E8B031@tpgi.com.au> Date: Wed, 07 Oct 1998 21:37:00 +1000 From: Eddie Irvine X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: junkmale@xtra.co.nz CC: freebsd-questions@FreeBSD.ORG Subject: Re: Setting up a mini-isp References: <199810061111.AAA16456@witch.xtra.co.nz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Langille wrote: > > I want to try an experiment. Just to know how it's done. I'd like to > give dial-up access to the net to some friends through my home sub-net. > My underutilised ADSL connection can handle the traffic. The FreeBSD box > sure can. > > I can see I'd need to do some adduser stuff. But what would they see on > the other end? Most of these people won't want a shell account. They'll > want PPP (am I using the correct terms here). And most of them will be > Windows users. No problem - I do the same sort of thing at the moment using standard getty. Grab the latest ppp sources from http://www.freebsd.org/~brian There is a section in the man pages about configuring dial-ins, and how to assign IP/DNS (and WINS server if you want) numbers to the dialer. Start by creating a shell script: #!/bin/sh ppp -direct dialup-label-in-ppp.conf Save this as, say, /usr/local/bin/ppp-dialin-shell Then create a new user called, say, "ppp-dialin". Change their shell to "/usr/local/bin/ppp-dialin-shell", add this to the list of valid shells in /etc/shells (??), and you are half way there. I'm at home at the moment so I can't send you an example ppp.conf, but if you make and install the new sources for ppp there are some good examples installed in /etc/ppp for you to have a look at. Eddie. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message