Date: Wed, 07 Oct 1998 21:37:00 +1000 From: Eddie Irvine <eirvine@tpgi.com.au> To: junkmale@xtra.co.nz Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Setting up a mini-isp Message-ID: <361B525C.38E8B031@tpgi.com.au> References: <199810061111.AAA16456@witch.xtra.co.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?361B525C.38E8B031>