Standalone linux ppp server - help

"Adil, Kimet" (KAdil@ricegrowers.com.au)
Fri, 18 Dec 1998 12:57:12 +1100






> Hi,
> 
> I tried to set up a standalone dialin workstation. I want to connect to my
> linux box from a w95 client. I followed instructions from a few internet
> sources and the PPP-HOWTO. Here is what actually happened though.
> 
> 
> Dialed in with a w95 client.
> 
> The active console responded to the call as follows:
> 
> PPP: ppp line discipline sucessfully unregistered
> CSLIP: code copyright .........
> PPP Dynamic channel allocation code copyright ....
> PPP line discipline registered
> registered device ppp0
> 
> 
> the /var/log/mgetty.ttyS3  log reads
> 
> 12/15 21:23:16 	yS3 clean line: only 500 of 676 bytes logged
> 	"	##### data dev=ttyS3, pid=4073, caller='none', conn='1440'
> name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
> 
> --
> 
> 12/15 21:23:51	yS3 TIOCMBIS failed: Input/output error
> 		connot turn off soft carrier: Input/output error
> 		tcgetattr failed: Input/output error
> 		cannot get TIO: connection refused
> 		mg_init_device failed, trying again
> 		timeout in chat script, waiting for 'RING'
> 		##### phone stopped ringing (rings=1)
> 
> my /etc/mgetty+sendfax/mgetty.config file reads:
> 
> rings 10
> speed 38400
> port ttyS3
> 	init-chat "" ATQ0V1E0 OK AT&3S0=0 OK
> 	speed 38400
> 	switchbd 19200
> 
> /etc/passwd entry
> 
> kadil:*:501:230:kimet adil:/home/kadil:/usr/sbin/pppd
> 
> /etc/ppp/options reads:
> 
> -detatch
> 
> /etc/ppp/options.ttyS3 reads
> 
> 10.10.10.10:10.10.10.20
> 
> /etc/mgetty+sendfax/login.config reads
> 
> /AutoPPP/ - - /usr/sbin/pppd auth -chap +pap modem crtscts proxyarp lock
> 
> 
> I am trying to set up a dialup workstation so I suspect the proxyarp is
> unnecessary. Am I calling pppd twice ( once in login.config and as the
> user shell in passwd)?
> 
> Hardware:
> 	486dx2-66 16MB / supraexpress144i internal faxmodem (class 1fax
> only, this is a bummer for mgetty)  on com4 irq5 (I use setserial in
> rc.sysinit)
> 
> Oh yeah I have renamed pap-secrets as described on a website that tells
> you how to configure a server for w95 ppp client.
> 
> Can you spot anything wrong. I had this working under slackware (I know
> this has nothing to do with it, my new system is rh5.2), so it is very
> frustrating. 
> 
> thanks,
> 
> Kim Adil
kadil@ricegrowers.com.au