ppp logine problen in mgetty.

"Dr. S.K. Singh" (sks@goat.up.nic.in)
Tue, 12 Oct 1999 11:48:19 +0530


Hi all
	I have setup ppp successfully using mgetty in Redhat 6.0 box. The
login is available in normal mode but pppd does not run from there. here
is log when i tried to connect using diffrent modes.

I have created a login using linuxconf for 'ppp' only. while others are
usal one.

Any help plaese!

Oct 12 10:36:08 goat mgetty[849]: failed in mg_init_data, dev=ttyS0, pid=849
Oct 12 10:36:35 goat mgetty[853]: data dev=ttyS0, pid=853, caller='none', conn='33600 LAPM COMPRESSED', name='', cmd='/bin/login', user='ppp'
Oct 12 10:36:36 goat PAM_pwdb[853]: get passwd; pwdb: structure is no longer valid
Oct 12 10:36:37 goat login[853]: FAILED LOGIN 1 FROM (null) FOR ppp, Authentication service cannot retrieve authentication info.
Oct 12 10:36:52 goat PAM_pwdb[853]: (login) session opened for user kpp by (uid=0)
Oct 12 10:36:52 goat PAM_pwdb[853]: (login) session closed for user kpp
Oct 12 10:36:52 goat pppd[855]: Can't open options file /home/kpp/.ppprc: Operation not permitted



Oct 12 10:38:33 goat mgetty[856]: data dev=ttyS0, pid=856, caller='none', conn='33600 LAPM COMPRESSED', name='', cmd='/bin/login', user='skp'
Oct 12 10:38:37 goat PAM_pwdb[856]: (login) session opened for user skp by (uid=0)
Oct 12 10:38:37 goat pppd[857]: must be root to run /usr/sbin/pppd, since it is not setuid-root
Oct 12 10:38:37 goat PAM_pwdb[856]: (login) session closed for user skp



Oct 12 10:40:27 goat mgetty[862]: data dev=ttyS0, pid=862, caller='none', conn='33600 LAPM COMPRESSED', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
Oct 12 10:40:27 goat pppd[862]: pppd 2.3.7 started by a_ppp, uid 0
Oct 12 10:40:27 goat pppd[862]: Using interface ppp0
Oct 12 10:40:27 goat pppd[862]: Connect: ppp0 <--> /dev/ttyS0
Oct 12 10:40:31 goat pppd[862]: Can't open PAP password file /etc/ppp/pap-secrets: No such file or directory
Oct 12 10:40:31 goat pppd[862]: Connection terminated.
Oct 12 10:40:31 goat pppd[862]: Connect time 0.1 minutes.
Oct 12 10:40:31 goat pppd[862]: Exit.


Oct 12 10:41:12 goat mgetty[868]: data dev=ttyS0, pid=868, caller='none', conn='33600 LAPM COMPRESSED', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
Oct 12 10:41:12 goat pppd[868]: pppd 2.3.7 started by a_ppp, uid 0
Oct 12 10:41:12 goat pppd[868]: Using interface ppp0
Oct 12 10:41:12 goat pppd[868]: Connect: ppp0 <--> /dev/ttyS0
Oct 12 10:41:15 goat pppd[868]: Can't open PAP password file /etc/ppp/pap-secrets: No such file or directory
Oct 12 10:41:16 goat pppd[868]: Connection terminated.
Oct 12 10:41:16 goat pppd[868]: Connect time 0.1 minutes.
Oct 12 10:41:16 goat pppd[868]: Exit.


Oct 12 10:41:57 goat mgetty[869]: data dev=ttyS0, pid=869, caller='none', conn='33600 LAPM COMPRESSED', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
Oct 12 10:41:57 goat pppd[869]: pppd 2.3.7 started by a_ppp, uid 0
Oct 12 10:41:57 goat pppd[869]: Using interface ppp0
Oct 12 10:41:57 goat pppd[869]: Connect: ppp0 <--> /dev/ttyS0
Oct 12 10:42:01 goat pppd[869]: Can't open PAP password file /etc/ppp/pap-secrets: No such file or directory
Oct 12 10:42:01 goat pppd[869]: Connection terminated.
Oct 12 10:42:01 goat pppd[869]: Connect time 0.1 minutes.
Oct 12 10:42:01 goat pppd[869]: Exit.

Oct 12 10:43:37 goat mgetty[870]: data dev=ttyS0, pid=870, caller='none', conn='33600 LAPM COMPRESSED', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
Oct 12 10:43:37 goat pppd[870]: pppd 2.3.7 started by a_ppp, uid 0
Oct 12 10:43:37 goat pppd[870]: Using interface ppp0
Oct 12 10:43:37 goat pppd[870]: Connect: ppp0 <--> /dev/ttyS0
Oct 12 10:43:40 goat pppd[870]: Can't open PAP password file /etc/ppp/pap-secrets: No such file or directory
Oct 12 10:43:40 goat pppd[870]: Connection terminated.
Oct 12 10:43:40 goat pppd[870]: Connect time 0.1 minutes.
Oct 12 10:43:40 goat pppd[870]: Exit.

Oct 12 10:44:58 goat mgetty[874]: data dev=ttyS0, pid=874, caller='none', conn='33600 LAPM COMPRESSED', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
Oct 12 10:44:58 goat pppd[874]: pppd 2.3.7 started by a_ppp, uid 0
Oct 12 10:44:58 goat pppd[874]: Using interface ppp0
Oct 12 10:44:58 goat pppd[874]: Connect: ppp0 <--> /dev/ttyS0
Oct 12 10:45:02 goat pppd[874]: Can't open PAP password file /etc/ppp/pap-secrets: No such file or directory
Oct 12 10:45:02 goat pppd[874]: Connection terminated.
Oct 12 10:45:02 goat pppd[874]: Connect time 0.1 minutes.
Oct 12 10:45:02 goat pppd[874]: Exit.

Oct 12 10:46:41 goat mgetty[876]: data dev=ttyS0, pid=876, caller='none', conn='33600 LAPM COMPRESSED', name='', cmd='/bin/login', user='skp'
Oct 12 10:46:44 goat PAM_pwdb[876]: (login) session opened for user skp by (uid=0)
Oct 12 10:46:44 goat pppd[878]: pppd 2.3.7 started by skp, uid 508
Oct 12 10:46:44 goat pppd[878]: Using interface ppp0
Oct 12 10:46:44 goat pppd[878]: Connect: ppp0 <--> /dev/ttyS0
Oct 12 10:47:14 goat pppd[878]: LCP: timeout sending Config-Requests 
Oct 12 10:47:14 goat pppd[878]: Connection terminated.
Oct 12 10:47:14 goat pppd[878]: Connect time 0.5 minutes.
Oct 12 10:47:14 goat pppd[878]: Exit.

Oct 12 10:47:14 goat PAM_pwdb[876]: (login) session closed for user skp
Oct 12 10:48:02 goat mgetty[887]: data dev=ttyS0, pid=887, caller='none', conn='33600 LAPM COMPRESSED', name='', cmd='/bin/login', user='skp'
Oct 12 10:48:07 goat login: FAILED LOGIN 1 FROM (null) FOR skp, Authentication failure
Oct 12 10:48:16 goat PAM_pwdb[887]: (login) session opened for user skp by (uid=0)
Oct 12 10:48:16 goat pppd[889]: pppd 2.3.7 started by skp, uid 508
Oct 12 10:48:16 goat pppd[889]: Using interface ppp0
Oct 12 10:48:16 goat pppd[889]: Connect: ppp0 <--> /dev/ttyS0
Oct 12 10:48:46 goat pppd[889]: LCP: timeout sending Config-Requests 
Oct 12 10:48:46 goat pppd[889]: Connection terminated.
Oct 12 10:48:46 goat pppd[889]: Connect time 0.5 minutes.
Oct 12 10:48:46 goat pppd[889]: Exit.

Oct 12 10:48:46 goat PAM_pwdb[887]: (login) session closed for user skp
Oct 12 10:50:33 goat mgetty[894]: data dev=ttyS0, pid=894, caller='none', conn='33600 LAPM COMPRESSED', name='', cmd='/bin/login', user='sameer'
Oct 12 10:50:35 goat PAM_pwdb[894]: (login) session opened for user sameer by (uid=0)
Oct 12 10:50:47 goat pppd[913]: pppd 2.3.7 started by sameer, uid 509
Oct 12 10:50:47 goat pppd[913]: Using interface ppp0
Oct 12 10:50:47 goat pppd[913]: Connect: ppp0 <--> /dev/ttyS0
Oct 12 10:51:17 goat pppd[913]: LCP: timeout sending Config-Requests 
Oct 12 10:51:17 goat pppd[913]: Connection terminated.
Oct 12 10:51:17 goat pppd[913]: Connect time 0.5 minutes.
Oct 12 10:51:17 goat pppd[913]: Exit.

Oct 12 10:53:19 goat pppd[920]: pppd 2.3.7 started by sameer, uid 509
Oct 12 10:53:19 goat pppd[920]: Using interface ppp0
Oct 12 10:53:19 goat pppd[920]: Connect: ppp0 <--> /dev/ttyS0
Oct 12 10:53:50 goat pppd[920]: LCP: timeout sending Config-Requests 
Oct 12 10:53:50 goat pppd[920]: Connection terminated.
Oct 12 10:53:50 goat pppd[920]: Connect time 0.6 minutes.
Oct 12 10:53:50 goat pppd[920]: Receive serial link is not 8-bit clean:
Oct 12 10:53:50 goat pppd[920]: Problem: all had bit 7 set to 0
Oct 12 10:53:50 goat pppd[920]: Exit.
Oct 12 10:54:03 goat pppd[921]: pppd 2.3.7 started by sameer, uid 509
Oct 12 10:54:03 goat pppd[921]: Using interface ppp0
Oct 12 10:54:03 goat pppd[921]: Connect: ppp0 <--> /dev/ttyS0
Oct 12 10:54:33 goat pppd[921]: LCP: timeout sending Config-Requests 
Oct 12 10:54:33 goat pppd[921]: Connection terminated.
Oct 12 10:54:33 goat pppd[921]: Connect time 0.5 minutes.
Oct 12 10:54:33 goat pppd[921]: Receive serial link is not 8-bit clean:
Oct 12 10:54:33 goat pppd[921]: Problem: all had bit 7 set to 0
Oct 12 10:54:33 goat pppd[921]: Exit.



*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
	Dr. S. K. Singh, 
Agril. Res. Services. Scientist (AG&B) and I/C ARIS Cell,
	CIRG, Makhdoom, Farah, Mathura
	281122, India. Ph. 91-565-7-63334(R)
		63246 (Fax), 63325 (O)
*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*