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/ttyS0-up" chat script:
chat -v "" ATS00=1\r
"/etc/ppp/ttyS0-down" chat script
chat -v "" \d+++\dATZ\r
> 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: 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: pppd 2.3.7 started by daflory, uid
> Nov 21 08:26:41 Lovecraft pppd: Using interface ppp0
> Nov 21 08:26:41 Lovecraft pppd: Connect: ppp0 <--> /dev/ttyS2
> Nov 21 08:27:26 Lovecraft pppd: Hangup (SIGHUP)
> Nov 21 08:27:26 Lovecraft pppd: Modem hangup
> Nov 21 08:27:26 Lovecraft pppd: Connection terminated.
> Nov 21 08:27:26 Lovecraft pppd: Connect time 0.8 minutes.
> Nov 21 08:27:26 Lovecraft pppd: Exit.
> The ppplogin script to which the log refers is as follows:
> # ppplogin
> mesg n
> stty -echo
> exec pppd -detach silent modem crtscts defaultroute
> 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:
> > 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