Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jun 2002 09:42:24 -0600
From:      James Earl <jamesearl@telusplanet.net>
To:        freebsd-questions@FreeBSD.org
Subject:   Re: Definitive PPP Dial-in Howto?
Message-ID:  <20020609094224.47e09b9e.jamesearl@telusplanet.net>
In-Reply-To: <3D0111B4.6050409@potentialtech.com>
References:  <200206071928.g57JSXr6010213@challenger.harlanonline.org> <3D0111B4.6050409@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 07 Jun 2002 16:04:04 -0400
Bill Moran <wmoran@potentialtech.com> wrote:

> 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.

If you're using user-ppp like me, the ppp manpage is pretty helpful too.  One area of my setup that I would like to fix, or improve is my connection setup so I get a better connection speed.  I have it setup as a 'matched-speed' setup as it talks about in the handbook.  Despite having two of the same modems (USR 56K) on each end, the remote machine always seems to throw me down to 19200 at best!  I would like to have a locked-speed setup that worked, but I ended up with a match-speed setup, because I was getting tired of getting away from the office, only to find I couldn't login to the remote machine.

I'm probably doing something wrong... (like my IP settings!).  Does anyone have any definitive answers on getting modems to communicate properly?  It seemed a lot easier back in the BBS days.

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?20020609094224.47e09b9e.jamesearl>