PPP Dial-up Server On P-100 running RedHat 6.1 with outboard USR 56K modem... Here's the way I do this: "strppp" start script: /usr/sbin/pppd ttyS0 115200 file /etc/ppp/options & "/etc/ppp/options": -detach ttyS0 115200 192.168.0.1:192.168.0.5 modem crtscts lock proxyarp connect "/etc/ppp/ttyS0-up" disconnect "/etc/ppp/ttyS0-down" auth netmask 255.255.255.0 passive silent +pap login "/etc/ppp/ttyS0-up" chat script: # chat -v "" ATS00=1\r "/etc/ppp/ttyS0-down" chat script # chat -v "" \d+++\dATZ\r Questions? K. daveflory@some.net wrote: > > Thanks for the reply. > > I use mgetty. I think PPPD is starting; here is an exerpt from my > server message file for the types of connections I making: > > Nov 21 08:26:41 Lovecraft mgetty[678]: data dev=ttyS2, pid=678, > caller='none', conn='9600/ARQ/V34/LAPM/V42BIS', name='', > cmd='/etc/ppp/ppplogin', user='daflory' > Nov 21 08:26:41 Lovecraft pppd[678]: pppd 2.3.7 started by daflory, uid > 500 > Nov 21 08:26:41 Lovecraft pppd[678]: Using interface ppp0 > Nov 21 08:26:41 Lovecraft pppd[678]: Connect: ppp0 <--> /dev/ttyS2 > Nov 21 08:27:26 Lovecraft pppd[678]: Hangup (SIGHUP) > Nov 21 08:27:26 Lovecraft pppd[678]: Modem hangup > Nov 21 08:27:26 Lovecraft pppd[678]: Connection terminated. > Nov 21 08:27:26 Lovecraft pppd[678]: Connect time 0.8 minutes. > Nov 21 08:27:26 Lovecraft pppd[678]: Exit. > > The ppplogin script to which the log refers is as follows: > > #!/bin/sh > # ppplogin > mesg n > stty -echo > exec pppd -detach silent modem crtscts defaultroute > 192.168.1.1:192.168.1.51 > > Raymond Doetjes wrote: > > > > What do you use to get the modems to listen for a incomming call? > > > > mgetty? or getty? > > > > I think that the config error is in there, it seems like it doesn't start > > ppp at all. > > > > Raymond > > > > ----- Original Message ----- > > From: <daveflory@some.net> > > Newsgroups: comp.os.linux.networking > > Sent: Monday, November 22, 1999 6:37 AM > > Subject: PPP dial-in server > > > > > Hello, > > > > > > I am attempting to configure a WAN between two office networks using a > > > PPP connection. I am able to get one system to dial into the other, > > > authenticate itself, and start pppd on the server, but after 45 seconds > > > I get a MODEM HANGUP entry in the server's message file and the > > > connection is dropped. At no time do I actually get a TCP/IP > > > connection > > > over the phone line, i.e., ifconfig only reports lo and eth0 during the > > > short time the computers are connected. Both computers' pppd daemons > > > are configured with detach, modem, crtscts (sp?), and defaultroute. > > > The client has the noipdefault option and the server has an entry > > > specifying its and the client's IP addresses. > > > > > > What do I need to do to move beyond the physical modem connection to an > > > TCP/IP connection, and why is the server hanging up after about 45 > > > seconds? > > > > > > Any help is greatly appreciated, and will be immortalized in the > > > PPP-DIALUP-HOWTO I plan to write once I have this system working. :) > > > > > > Regards, > > > > > > David Flory
Make your own free website on Tripod.com