People! I need your help! Please, share your experience. I'm having a problem with ppp/mgetty/utmp/wtmp on my new dial-up server: RH 6.0 2.2.14 (ppp compiled in) Digiboard PC/Xem PCI 16 ports mgetty-1.1.21-2 with AutoPPP in login.config ppp-2.3.11-5 w/ pap-auth thru /etc/passwd (I've tried rpms from 2.3.7 thru 2.3.11 with same result) AutoPPP and mgetty works just fine, no problems with PPP itself, but pppd doesn't put proper entry into utmp - I can't see who is logged in in `who` or `w` output. If I change AutoPPP string in /etc/mgetty+sendfax/login.config from: /AutoPPP/ - - /usr/sbin/pppd to /AutoPPP/ - pppuser /usr/sbin/pppd then I'm able to see pppuser in `who` and `w` output, but I need to see real username. /etc/ppp/options: lock nodetach asyncmap 0 auth crtscts modem netmask 255.255.255.0 proxyarp noipx require-pap refuse-chap login lcp-echo-interval 30 lcp-echo-failure 4 I *know* that config *should* work, cuz on our old dial-up server we had no problems with wtmp/utmp entries and w/o any "hand-made add-ons" like some shell scripts. You may want to re-read it again :) It was pppd 2.3.3 on Debian 2.0.36 machine. But machine is gone, no patches/docs - nothing left :( Also, mgetty FAQ says: [snip] 2.11 AutoPPP appears in the "who" listing From: Gert Doering <[EMAIL PROTECTED]> If you use the /AutoPPP/ option for automatically creating a ppp connection, the user name does not appear in the who list. Instead, something like AutoPPP or ppp is displayed. Solution: you have to patch pppd, that's not mgetty's issue and thus can't resolved patching mgetty. If you have the patched pppd, this is how it works. You have to add the option "login" to pppd in login.config and change the third column to "-" (in the example it's a_ppp or ppp). [snip] So, basically my question regarding ppp/who is - *where* I can find that patch and to what pppd version I should apply it? Also, I have a big problem with /var/log/wtmp file. After inittab start all mgetty processes during the boot, /var/log/wtmp is getting filled with some junk (`last` shows nothing but just logged in users) really-really quick - ~ 100K per 15-20 minutes. I can't figure out is it mgetty or ppp (or RedHat) problem? Your help will very appreciated! I will summarize! TIA. Kins. - To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to [EMAIL PROTECTED]
