[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

ppp dial in



***please cc mail to msridhar@xxxxxxxxxxxxxx***

Dear chennai luggies ( and Santhosh )
     After our conversation ( me and santhosh )on the 28th, I did as you
said, and used
AutoPPP. Now a new problem has cropped up. From the logs below, and you
will see that pppd has started, but then says some protocols are not
supported and ALSO that the peer is not authorised to use IP 192.168.1.2. Why ?
 Note that my IP is 192.168.1.1 and the IP of the machine dialling in is
192.168.1.2 . This I've set in/etc/ppp/options.ttyS1 as the line below
	192.168.1.1:192.168.1.2

     Note that Red Hat 6.0 has some problems as far as the
ppp-compression-modules go. modprobe writes to syslog when pppd starts
saying that ppp-compress-21,26,24,1 modules could not be located. Would
this have anything to do with the message in the logs that i see ? I saw
that this particular problem is seen on all machines running pppd with
Red Hat 6.0 installed. pppd,FYI, is 2.3.7 .
     
     And BTW, Prabhu, pppd in Linux seems to misunderstand the usage of
the ampersand ( & ). When I put "exec /usr/sbin/pppd -detach /dev/ttyS1 &"
in a file "ppp" in the home directory of the person logging in and he ran
it, the logs here said that the kernel LACKS support for PPP. All just
because of the &. I remove the & and the kernel now supports PPP. I guess
I know why i love Linux so much.

     Help a struggling but willing lad get this working so that he can get
mp3s ftp-ied into his machine. 

TIA and regards
Mani Sridhar


********* /var/log/messages *********

Sep 28 20:51:27 saradha pppd[477]: pppd 2.3.7 started /AutoPPP/, uid 0
			pppd[477]: Removed stale lock on ttyS1 (pid 477)
			pppd[477]: Using interface ppp0
			pppd[477]: Connect ppp0 <--> /dev/ttyS1
			PAM_pwdb[477]: (ppp) session opened for user manoj
by (uid=0)
			pppd[477]: user manoj logged in
			pppd[477]: Protocol-Reject for unsuported protocol
0x75
	        		   Protocol-Reject for protocol 0x5072
			pppd[477]: Peer is not authorised to use remote
address 192.168.1.2
			           Protocol-Reject for protocol 0x5072
				   Protocol-Reject for protocol 0x5065
			PAM_pwdb[477]: (ppp) session closed for user manoj
			pppd[477]: Connection terminated
			pppd[477]: Connect time 0.1 minutes

********** /var/log/messages *********
			

------------------------------