Hello all,
My first post to this group. Hopefully this qualifies as an expert
question.
I'm running a couple Linux-Mandrake 6.0-2 boxes at a company I do work for.
One of them is running 8 modems on a dial in pool. Users are calling in
from their Windows machines using Dialup Networking and establishing a PPP
connection to use systems on the companies LAN. I use to have this running
on an old RedHat 5.0 box and it worked great.
Problem I'm seeing is that if I use the following in the
/etc/mgetty+sendfax/login.config file the systems can not connect. And the
/var/log/messages states a "PAP login failure" for that user.
/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login kdebug 7
debug
If I change the entry in login.config to the following it works fine (taking
out the "login" from the file), but this doesn't compare their entry in
/etc/ppp/pap-secrets with their login account.
/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap kdebug 7 debug
I have made sure that the /etc/ppp/pap-secrets contains the following.
username * password *
The password in the pap-secrets file matches their password for their
account. But the login command always breaks it. I tried putting the
following in /etc/pap-secrets, but get the same error.
* * "" *
Simply removing the "login" from the /etc/mgetty+sendfax/login.config makes
everything work, but the system does not show who is connected (just a_ppp
like RH 5.0), but it does not show who is logged in inside the
/var/log/messages file either (RH 5.0 did do this). I really would like to
get this working fully so I know who is logging in and when.
Is there something I'm missing here? I thought it might be Shadow Password
related (as I am using them), but the pppd looks to be compiled for shadow
password support.
For the sake of completeness my I do not have any /etc/ppp/options file, but
have /etc/ppp/options.ttySX files for all my tty's that are connected to
modems. Here is one of them. IP's are bogus, but I believe everything is
fine here since users can dial in and use the system correctly.
192.168.0.3:192.168.0.14
modem
crtscts
lock
proxyarp
ms-dns 192.168.0.124
idle 600
netmask 255.255.255.0
I'm curious if anyone has used the "idle" option? It doesn't seem to drop
for me even with inactivity for long periods.
Also does anyone know of a way to limit users to one dialup active at a
time?
Thanks for any advice. I really want to have pppd using the "login" option.
Mike
[EMAIL PROTECTED]