From owner-freebsd-questions Fri Jun 7 12:28:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from challenger.harlanonline.org (c11b012.neo.rr.com [204.210.203.12]) by hub.freebsd.org (Postfix) with ESMTP id E0E4037B407 for ; Fri, 7 Jun 2002 12:28:34 -0700 (PDT) Received: from challenger.harlanonline.org (localhost [127.0.0.1]) by challenger.harlanonline.org (8.12.3/8.11.6) with ESMTP id g57JSYZe010214 for ; Fri, 7 Jun 2002 15:28:34 -0400 (EDT) (envelope-from mike@harlanonline.org) Received: (from nobody@localhost) by challenger.harlanonline.org (8.12.3/8.12.2/Submit) id g57JSXr6010213; Fri, 7 Jun 2002 15:28:33 -0400 (EDT) (envelope-from mike@harlanonline.org) Date: Fri, 7 Jun 2002 15:28:33 -0400 (EDT) Message-Id: <200206071928.g57JSXr6010213@challenger.harlanonline.org> X-Authentication-Warning: challenger.harlanonline.org: nobody set sender to mike@harlanonline.org using -f From: "Michael D. Harlan" To: freebsd-questions@freebsd.org Subject: Definitive PPP Dial-in Howto? X-Mailer: NeoMail 1.24 X-IPAddress: 65.215.19.194 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 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 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. TIA, Mike -- Michael D. Harlan mike@harlanonline.org http://www.harlanonline.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message