From owner-freebsd-isp Fri May 30 08:47:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA21693 for isp-outgoing; Fri, 30 May 1997 08:47:23 -0700 (PDT) Received: from netcomsv.netcom.com (uucp3.netcom.com [163.179.3.3]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id IAA21687 for ; Fri, 30 May 1997 08:47:20 -0700 (PDT) Received: from svr.UUCP by netcomsv.netcom.com with UUCP (8.6.12/SMI-4.1) id IAA21929; Fri, 30 May 1997 08:27:49 -0700 Received: from tabdp.tabfs.com by svr.tabfs.com id aa17119; 30 May 97 8:27 PDT Message-Id: <3.0.32.19970530082730.0069df94@svr.tabfs.com> X-Sender: dphillip@svr.tabfs.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Fri, 30 May 1997 08:27:32 -0700 To: freebsd-isp@freebsd.org From: Dale Phillips Subject: Re: Dialin PPP Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 12:20 PM 5/3/97 -0500, you wrote: Take a look at the setups for win95 at http://www.facetcorp.com/ they have a smb (samba like) server for all sorts of flavors of unix. I agree the hard part is the win95 stuff. Check which protocols you are using. >This is what works for me. On the server, I use the normal getty and >create a ppp user like: > >Puser:*:1000:1000:PPP User:/tmp:/usr/local/libexec/ppp-login > >The ppp-login script looks like this: > >#!/bin/sh >/usr/bin/mesg n >stty -tostop >exec /usr/sbin/pppd proxyarp 192.168.1.1:192.168.1.2 > >The client dials in using a script that looks like this: > >#!/bin/sh >/usr/sbin/pppd connect '/usr/bin/chat -v ABORT BUSY "" \ > \\d\\dAT\\sE0\\sQ0 OK \\dATS7=60\\sS38=40 OK \ > \\dATDT3262964 CONNECT "" ogin: Puser word: Ppasswd' \ > /dev/cuaa1 115200 crtscts \ > modem lock debug netmask 255.255.255.0 \ > noipdefault defaultroute :192.168.1.1 >exit 0 > >I have all my modems set up to be absolutely quiet -- no echo no >reporting. Also set up for hardware flow control and reset on carrier >loss. > >There an infinite variety of ways in the login script to do IP >assignment -- or create one ppp-login.x script for each port. I know >nothing of Win95 and intend keeping it that way, but I assume the >"dial up networking" includes a script mechanism. I would suggest >using it. Use the terminal for debugging. If you can login normally >and get a bunch of garbage with braces in it, your server is working >fine. > >-- Jay > >On Fri, 2 May 1997, Gary D. Margiotta wrote: > >->Hello, >-> >->I am sorry if I am wasting your time with this, since it is probably some >->stupid little file I missed, but I don't know who else to ask, and was >->referred here. >-> >->I recently purchased a Cyclades 8Yo multiport serial card, and am trying >->to set up a terminal server with FreeBSD using mgetty. I have compiled >->the new kernel for the Cyclades card, made the device nodes and have been >->successful in getting mgetty compiled and running. I am at the point now >->that if I dial in with a modem under Win95, with a direct connection to >->the machine (hyperterminal or even a terminal window using dial-up >->networking), I can get a prompt and login with no problem. When I dial in >->using dial-up networking, I bring up a terminal window to see how far I >->get. It connects, negotiates, and goes through the normal login >->procedure, and when I choose to have it start the ppp session, it does the >->usual verifying username and password and minimizes as if I had acheived a >->clean connect. When I go to do something, such as even pinging the >->machine I am dialing into, I get no response...everything just dies right >->there. >-> >->We have been trying everything we could read and get our hands on, but the >->documentation on mgetty isn't too clear (or we just aren't interpreting it >->correctly). I am not sure which files need to be added to and/or modified >->anymore. I was also using as a guideline a page from an ISP in N.Y. who >->has the same set up, all working correctly under LINUX. I wrote him, and >->he said I wouldn't have to do anything special, stating that it should run >->fine without any extra modification (other than the usual differences in >->directory and file names) under BSD. >-> >->I have been trying to replicate the 'Working as a PPP server' part of the >->handbook with the /etc/ppp/options file, but I really am not too straight >->on the way to assign IP Addresses (right now I just want one to work, I am >->not worried about assigning multiple dynamic IP's yet). Mgetty should be >->calling pppd automatically, and it seems to, but there is just something >->wrong or missing with the config files and there are so many of them that >->we don't know what exactly controls what (we have ideas, but it is hard to >->narrow things down when there are several files which may or may not have >->an affect). >-> >->The machine is a 386-DX/33 with 16 Mb of RAM, running FreeBSD >->2.2.1-Release, mgetty+sendfax 1.0.0, and pppd 2.2.0. I have a Cyclades >->8Yo 8-port multiport card. The modem I am using on the sending end is a >->USR Sportster 33.6, and the modem on the receiving end is a Boca 28.8, >->soon to be replaced with said USR 33.6. >-> >->This is most likely a stupid problem, but it is so frustrating when you >->know that it partly works... >-> >->Thanks. >-> >->-Gary Margiotta >->TBE Internet Services >->http://www.tbe.net >-> >-> > > ---dp-------------------------------------------- Dale Phillips Dyslexics of America UNTIE! dphillip@tabfs.com