[plug] pppd

Garth Atkinson garth at cclinic.com.au
Sun Oct 31 20:34:41 WST 1999


Hi Dean

The entry in the mgetty log file that refers to user='/AutoPPP/' is the
correct response by mgetty. This means that mgetty attempted to start
pppd in answer to that particular phone call. I am a bit concerned that
you are not seeing any log activity in /var/log/messages from pppd. Did
you see some logged messages in that file when you started pppd from the
command line?

For the login feature to work with pppd the user dean with a password of
dean must exit on the linux system you are calling.

Your question about having a ppp user in /etc/passwd relate to you
wanting non-root users to be able to run pppd. This is not required at
the moment, and maybe will never be. It certainly isnt causing your
current problems.

Right now it seems that mgetty is doing the right thing (at least once
anyway) and pppd is failing. To debug this setup further you must be
able to monitor pppd status messages. Is there a chance that your
/var/log/messages is not being updated at all, or that pppd is logging
to a different file? Check the /var/log directory for other files maybe.

Whats your reference to ppp_log?

Garth

Dean Wright wrote:
> 
> Garth,
> 
> Below is what I had in my mgetty.tty.S0 file after I tried to dial in, it
> only logged the first time I tried, I also dialed in at around 11:30 but as
> you can see it didn't put anything in here about that.
> 
> I have in my pap-secrets file "dean * dean"
> 
> in the entry for 10/31 10:58:56 it has user='CONNECT 38400' does this mean
> that my win98 dialup is passing 'CONNECT 38400' when pap is expecting dean.
> 
> here is my mgetty.ttyS0 file:
> 
> 10/31 10:49:39 ##### failed dev=ttyS0, pid=242, got signal 15, exiting
> 
> --
> 10/31 10:58:56 ##### data dev=ttyS0, pid=129, caller='none', conn='38400',
> name='', cmd='/bin/login', user='CONNECT 38400'
> 
> --
> 10/31 10:59:35 yS0  init chat failed, exiting...: Invalid argument
> 10/31 10:59:35 ##### failed in mg_init_data, dev=ttyS0, pid=143
> 
> --
> 10/31 11:01:16 ##### failed A_FAIL dev=ttyS0, pid=144, caller='none',
> conn='', name=''
> 
> --
> 10/31 11:01:48 ##### data dev=ttyS0, pid=147, caller='none', conn='38400',
> name='', cmd='/bin/login', user='/AutoPPP/'
> 
> --
> 10/31 11:02:26 yS0  init chat failed, exiting...: Invalid argument
> 10/31 11:02:26 ##### failed in mg_init_data, dev=ttyS0, pid=148
> 
> as for messages and ppp_log there was nothing entered at the times I tried
> dialing.
> 
> I was reading that for pppd configuring I should have an entry in the passwd
> file for a ppp group is this relevant for my current setup, I have added the
> user dean and this is in there.
> 
> I was under the impression that pap will allow the remote login if the user
> is a valid user of that machine.
> 
> thanks for your help
> Dean



More information about the plug mailing list