*BSD News Article 47395


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!howland.reston.ans.net!news.sprintlink.net!uunet!in1.uu.net!news.injersey.com!legba.synergy.net!emka
From: emka@cso.com (Eric Kennedy)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: PPPD Server: Help Please!
Date: 20 Jul 1995 18:01:26 GMT
Organization: Synergy Communication Inc.
Lines: 50
Message-ID: <3um5lm$5tr@legba.synergy.net>
NNTP-Posting-Host: gatekeeper.cso.com
X-Newsreader: TIN [version 1.2 PL2]


I've been trying to set up a Freebsd 2.0R machine to act both as a PPP client
and server.  It is a client to our ISP to provide Internet connectivity.  This 
is working fine and uses ppp0.  I am now trying to configure it to act
as a PPP server for incoming PPP clients.  I am currently using the dial-up
PPP link that is included in Windows 95 (btw, I've used this successfully to
connect to the ISP directly so I know it works).  I have the incoming 
connection configured in /etc/ttys as follows:

ttyd0	"/usr/libexec/getty t19200"	vt100	on secure

After logging in the following shell script is run:

#! /bin/csh -f
/usr/sbin/pppd file /etc/ppp/options.pppin

The options.pppin file contains the following information:


crtscts           # enable hardware flow control
modem             # modem control line
passive
domain cso.com
ppplocal:pppremote
netmask 255.255.255.240
-detach
#lcp-echo-interval 60
#lcp-echo-failure 2

The ip-up file exits if the tty is not equal to /dev/ttyd3.

I am able to connect and start PPP.  I can ping sites on the Internet and 
start to use a WEB browser, however, after several minutes the machine drops
the route to the PPP client.  Here is the information the shows up in the 
messages file:


Jul 15 01:57:44 gatekeeper pppd[6901]: pppd 2.1.2 started by ppplogin, uid 32766
Jul 15 01:57:44 gatekeeper pppd[6901]: Connect: ppp1 <--> /dev/ttyd0
Jul 15 01:57:47 gatekeeper pppd[6901]: input: Unknown protocol (80fd) received!
Jul 15 01:57:48 gatekeeper pppd[6901]: local  IP address 197.205.120.3
Jul 15 01:57:48 gatekeeper pppd[6901]: remote IP address 197.205.120.2
Jul 15 01:57:49 gatekeeper pppd[6901]: demuxprotrej: Unrecognized Protocol-Reject for protocol 20560!
Jul 15 01:57:49 gatekeeper pppd[6901]: demuxprotrej: Unrecognized Protocol-Reject for protocol 28784!
Jul 15 02:00:29 gatekeeper routed[87]: deleting route to interface ppp1 (timed out)

Does anyone have any idea what is wrong?  Any help would be greatly 
appreciated!

Thanks, Eric Kennedy (emka@cso.com)