Re: pppd disconnects after authenticating
On Fri, 5 Jun 1998, Geof Goodrum wrote:
> On Fri, 5 Jun 1998, Paul Miller wrote:
>
> ...
> > Jun 5 13:52:16 serv1 pppd[398]: rcvd [PAP AuthReq id=0x2 user="paul" password="mypass"]
> ...
> > > Generally, you must use a recent development kernel (2.1.x) or do 'make
> > > kernel' from the pppd 2.3.x source distribution to patch 2.0.x kernels.
> > > This was true at least through kernel 2.0.33 (I haven't tried 2.0.34).
> >
> > I've never done that before... I just tried it with 2.0.34, and it failed
> > to compile..
>
> I presume that the end of the debug log was just "link terminated at
> peer's request", i.e. nothing particularly useful about the pap
> authentication?
No! That is an exact copy of the log file (except for the password of
course).
> Is your pap-secrets file properly configured? Note that the format is
> slightly different than that used for pppd v2.2.x. Since you did not
> specify 'login' in your pppd options, I presume you have "paul" and
> "mypass" specified in pap-secrets, along with * for the IP address.
No. There is only one line in the pap-secrets file:
# client server secret ip
* serv1 "" *
> Of course, compiling the kernel is another can of worms. I can't even
> begin to guess why you are having problems without more information. You
> did say that you compiled the kernel before (i.e., the /include symbolic
> links are correct)? Some bugs have been noted with ppp v2.3.5, but
> patches have been posted to the linux-ppp list. If you are using a Debian
> source package, I expect these patches have been made already.
Right... everything is setup correctly. Here is a clip of syslog:
Jun 5 13:41:39 serv1 mgetty[320]: data dev=ttyS1, pid=320, caller='none', conn='115200', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
Jun 5 13:41:47 serv1 PAM_pwdb[320]: (ppp) session opened for user paul by ppp(uid=0)
Jun 5 13:41:48 serv1 mgetty[398]: TIOCMBIS failed: Input/output error
Jun 5 13:41:48 serv1 mgetty[398]: cannot turn off soft carrier: Input/output error
Jun 5 13:41:48 serv1 mgetty[398]: tcgetattr failed: Input/output error
Jun 5 13:41:48 serv1 mgetty[398]: cannot get TIO: Input/output error
Jun 5 13:52:10 serv1 mgetty[398]: data dev=ttyS1, pid=398, caller='none', conn='115200', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
Jun 5 13:52:17 serv1 PAM_pwdb[398]: (ppp) session opened for user paul by ppp(uid=0)
Jun 5 13:52:18 serv1 mgetty[2076]: TIOCMBIS failed: Input/output error
Jun 5 13:52:18 serv1 mgetty[2076]: cannot turn off soft carrier: Input/output error
Jun 5 13:52:18 serv1 mgetty[2076]: tcgetattr failed: Input/output error
Jun 5 13:52:18 serv1 mgetty[2076]: cannot get TIO: Input/output error
It appears that mgetty is having trouble with my modem--but the modem
isn't the problem. Any ideas? It doesn't look like PAM_pwdb failed...???
-Paul
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: