From owner-freebsd-questions Fri Jun 7 12:58:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from infinity.aesredfish.net (ns1.aesredfish.net [65.168.0.12]) by hub.freebsd.org (Postfix) with ESMTP id 8B36737B41E for ; Fri, 7 Jun 2002 12:58:30 -0700 (PDT) Received: from potentialtech.com (mhope-dhcp-65-168-1-181.dashfast.com [65.168.1.181]) by infinity.aesredfish.net (8.11.6/8.11.0) with ESMTP id g57Jw7U18221; Fri, 7 Jun 2002 15:58:07 -0400 Message-ID: <3D0111B4.6050409@potentialtech.com> Date: Fri, 07 Jun 2002 16:04:04 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc1) Gecko/20020502 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Michael D. Harlan" Cc: freebsd-questions@freebsd.org Subject: Re: Definitive PPP Dial-in Howto? References: <200206071928.g57JSXr6010213@challenger.harlanonline.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Michael D. Harlan wrote: > Hi all, > > I've been reading a lot lately on setting up a dial-in PPP server on > FreeBSD, but I haven't found a really thorough document. > > Here's my setup: > > * I have a FreeBSD 4.6-RC box up and running with a Time Warner Cable > modem attached to NIC1. I have a NIC2 attached to a 100Mbps hub. I > have natd running, so several other internal machines use the FreeBSD > box on a daily basis as a gateway to the Internet. This works fine. > > * I have an external 56k US Robotics modem attached to COM2 on the > FreeBSD box. It is configured correctly: I can talk to it through tip. > > * I'd like to use a Windows 2000 laptop with a PCMCIA modem to dial > into my FreeBSD box and establish a PPP connection, then be able to use > the cable modem to get out to the Internet. > > > I have read several documents on the web as to setting this up. About > 50% say to use mgetty and the other 50% say not to, that it's evil. I > still haven't gotten things to work right, so maybe mgetty *is* evil. > I have been able to get mgetty to pick up the modem on the correct ring > (I even got ringback to work), but once the modem picks up, it almost > immediately hangs up. Using the "terminal window" on the Win2k box, > instead of getting "login:", I get garbage. > > There could be a dozen things wrong with my setup, from permissions to > syntax, to overall layout of things. If I had a definitive guide to > setting this up, I'd just follow the recipe and be off and running. > > The FreeBSDDiary site has an article on this, but I'm not sure that it > works. Even the author of the site said he hadn't tried it out yet. > > I have read about using PAP, CHAP, and plain old /bin/login. What do > you suggest? From Windows 2000's standpoint, I don't think I really > need PAP or CHAP, but maybe I'm being naive. > > At any rate, if anyone knows of a good document for setting up dial-in > PPP (dialing into the FreeBSD box, not into another ISP), I'd be VERY > appreciative. I won't be so arrogant as to call this article "definitive", but hopefully it will help you out: http://www.daemonnews.org/200105/dialup1.html The handbook also has an excellent walk-through on setting up a dial-in server - without using mgetty, if you decide that it's evil. -- Bill Moran Potential Technology http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message