Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jun 2002 16:04:04 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        "Michael D. Harlan" <mike@harlanonline.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Definitive PPP Dial-in Howto?
Message-ID:  <3D0111B4.6050409@potentialtech.com>
References:  <200206071928.g57JSXr6010213@challenger.harlanonline.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D0111B4.6050409>