Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MGETTY - AutoPPP

137 views
Skip to first unread message

Sean Prouse

unread,
Dec 6, 1999, 3:00:00 AM12/6/99
to
I currently have a customer who dialup to my redhat box to gain PPP access.
Porblem is, he must dialin with a terminal wiondow and manual type PPP to
access the net. I would like it so that he automaticly logs in to the net
wihout a script or a terminal window. I know autoPPP does just that but to
activate it I must compile something. What exactly do I do to make it
work?

Sean

Chris Hailes

unread,
Dec 7, 1999, 3:00:00 AM12/7/99
to
Hi Sean,

WIN 95:
Your dial in Cliet should set up for PAP authentication. On dialup
networking on Win95/98 you do not use a connect script. Winsock PPP does
the autentication.

Linux:
You must uncomment the AutoPPP line in /etc/mgetty+sendfax/login.config
# login.config
/AutoPPP/ @ @ /usr/sbin/pppd auth -chap +pap login debug

You must add the correct entries in /etc/ppp/pap.secrets
#pap-secrets
# Secets for authentication using PAP
# client server secret IP addresses
#this works for Win95 pap login Allowed cliet I.P's
* * "" 10.1.1.195
10.1.5.195
These are some options used in /etc/ppp/optionsttyS2 (Change the 2 number
after the S to the port your client is dialing into)
#Options.ttyS2
auth
passive
crtscts
lock
debug
ipcp-accept-remote
kdebug 7
proxyarp
login
modem
ms-dns 10.1.1.180
ms-dns 203.12.144.6
ms-dns 203.12.144.7
ms-wins 10.1.1.31

Change any of the I.P's here to suit your situation
http://www.leo.org/~doering/mgetty/mgetty_1.html is the home site for
mgetty.
You can subscribe to their mailing list if you have more questions.

Good Luck
Chris Hailes
NSW Australia

Sean Prouse wrote in message ...

David Efflandt

unread,
Dec 7, 1999, 3:00:00 AM12/7/99
to
On Tue, 7 Dec 1999 12:12:40 +1100, Chris Hailes
<cha...@inter-systems-corp.com> wrote:
>
>WIN 95:
>Your dial in Cliet should set up for PAP authentication. On dialup
>networking on Win95/98 you do not use a connect script. Winsock PPP does
>the autentication.
>
>Linux:
>You must uncomment the AutoPPP line in /etc/mgetty+sendfax/login.config
># login.config
>/AutoPPP/ @ @ /usr/sbin/pppd auth -chap +pap login debug

One other clue that took me awhile to figure out. Remove +pap from the
above line. That asks the other 'machine' to authenticate and remote Win
boxes do not do that. The auth and login options take care of the user
psp auth. For an example of what I did see dialin.txt at
http://www.xnet.com/~efflandt/linux/


--
David Efflandt effl...@xnet.com http://www.xnet.com/~efflandt/
http://www.de-srv.com/ http://cgi-help.virtualave.net/
http://thunder.prohosting.com/~cv-elgin/

Chris Hailes

unread,
Dec 8, 1999, 3:00:00 AM12/8/99
to

David Efflandt wrote in message ...

>On Tue, 7 Dec 1999 12:12:40 +1100, Chris Hailes
><cha...@inter-systems-corp.com> wrote:
>>
>>WIN 95:
>>Your dial in Cliet should set up for PAP authentication. On dialup
>>networking on Win95/98 you do not use a connect script. Winsock PPP does
>>the autentication.
>>
>>Linux:
>>You must uncomment the AutoPPP line in /etc/mgetty+sendfax/login.config
>># login.config
>>/AutoPPP/ @ @ /usr/sbin/pppd auth -chap +pap login debug
>
>One other clue that took me awhile to figure out. Remove +pap from the
>above line. That asks the other 'machine' to authenticate and remote Win
>boxes do not do that. The auth and login options take care of the user
>psp auth. For an example of what I did see dialin.txt at
>http://www.xnet.com/~efflandt/linux/

>
How does your Win Box authenticate then? WIN95 will do PAP but doesn't do
CHAP (NT does CHAP). When I check status of my modem connection windows
prints:
"Password authentication protocol"

"TCP/IP"
My Win Box is WIn95 OSR2 with MSDUN1.3 loaded.
Anyway you can check the authentication process in Linux by using kdebug 7
kernel debug option on pppd.

0 new messages