Re: mgetty: AutoPPP Failure
Frank Barknecht wrote:
>
> Hello Debianites,
>
> I am struggling to get the AutoPPP feature of mgetty to work.
> I want to connect two Debian Maschines running (mostly) Hamm.
I have a working configuration. DISCLAIMER: This runs on RedHat 5.1.
I'm just about to set one up for Hamm, so it will be interesting to see
if anything changes.
> In /etc/mgetty/login.config of the PPP-Server maschine I have tested
> the following lines by uncommenting each in turn:
>
> #/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login
> #/AutoPPP/ - @ /usr/sbin/pppd auth -chap -pap login
> /AutoPPP/ - @ /usr/sbin/pppd auth login +pap -chap modem crtscts proxya
> rp lock
I have /AutoPPP/ - - etc. I don't remember what the '@' does for you.
Shouldn't you have '-detach' in there?
>
> /etc/ppp/pap-secrets is set up to include:
>
> # Every regular user can use PPP and has to use passwords from /etc/passwd
> # Tested both:
> #* fliwatut ""
> * 192.168.0.1 "" *
Try:
* * "" 198.162.0.50
I don't remember it being important to have the IP address of your local
machine, but it seemed to be necessary to have the address of the remote
machine in pap-secrets, if you are assigning it, as you are. I didn't
even figure this out until I looked at the actual pppd code. Something
about having that address assigned sends pppd down a different path,
where it's trying to match the address with something in pap-secrets.
Probably a bug, seems to me. You may have different results.
Good luck!
Reply to: