Not Another AutoPPP question

Alex Garner (mlist@lynx.net.au)
Tue, 7 Jul 1998 01:17:39 +0200


At 17:35 6/07/98 , Gert Doering wrote:
>Replace the "@" in the AutoPPP line in login.config with a "-".  You don't
>want "/AutoPPP/" to be put into the utmp/wtmp files.

I just remebered why I didn't do this before. Have a look at what mgetty
gets...

Jul  7 08:31:03 vodka mgetty[5954]: data dev=ttyE13, pid=5954,
caller='none', conn='31200', name='', cmd='/usr/sbin/pppd', user='/Au
toPPP/'
Jul  7 08:31:03 vodka pppd[5954]: pppd 2.3.3 started by LOGIN, uid 0
Jul  7 08:31:03 vodka pppd[5954]: Using interface ppp3

It says 'started by LOGIN', and furthermore 'w' or 'who' shows nothing at
all now!

I should point out that 'last' works fine so one could assume that there is
a problem with utmp only. Either pppd is broken and I'll need to try a
later version, or mgetty and pppd can't agree on the format of utmp data.

Any ideas?


>> One thing I do notice though is that two entries are written to utmp...
>> 
>> 5aa      ttyE6                         Mon Jul  6 11:07   still logged in
>> /AutoPPP ttyE6        31200            Mon Jul  6 11:06 - 11:07  (00:00)
>> hocking  ttyE11                        Mon Jul  6 11:03   still logged in
>> /AutoPPP ttyE11       28800            Mon Jul  6 11:03 - 11:03  (00:00)
>
>Sounds as if PPP actually *does* write an entry.  So just make mgetty stop
>doing it (remove the "@"), maybe it will work then.

Cheers

Alex!

     from  Alex Garner - mlist@lynx.net.au
                     -----
             System Admin / Manager
           LYNX INTERNET CONNECTIONS
             http://www.lynx.net.au  
                     -----
According to the latest official figures, 43% of all
         statistics are totally worthless.