Ryan-

Below is a useful link I found on Redhat's support site.
refer to: Linux Dialin Server Setup Guide, by Josh Gentry
http://www.swcp.com/~jgentry/pers.html

I had a similar problem.  Here's what I did to fix it.

1.  Get the source for mgetty (tarred and gzipped).  I used version 1.1.21. 
After unzipping and un-tarring the files, I edited the makefile according to
the link above, section 4.2.  (Make sure you read the README file that comes
with mgetty.)  Also, I edited policy.h (policies.h??) so that the executable
installs in /sbin rather than the default location.  Otherwise, you would
need to edit the mgetty path in /etc/inittab to respawn the correct mgetty
executable.

2.  Next I uncommented a line in /etc/mgetty+sendfax/mgetty.config to allow
AutoPPP according to section 4.2 of the guide referenced above.

3.  Next I created /etc/ppp/options.server according to section 5.4 of the
above since I do NOT store the passwords in /etc/ppp/pap-secrets.  Rather, I
use linuxconf to create special ppp-only accounts and let login do the
authentication.  Some critical lines to have in this are:

login
proxyarp

The login option makes pppd use /etc/passwd for authentication instead of
/etc/ppp/pap-secrets.  (However, using pap-secrets should be fine as well). 
Proxyarp automatically adds an arp entry.  By the way, do a "man pppd"
command.  It gives VERY useful info on how pppd works.

4.  Disclaimer: what I did next is not documented very well, so there may be
a better way.  I created /etc/ppp/options.ttyD0 which contained the
following line.

192.168.11.91:192.168.11.191

The format is the local interface IP address (my linux box) and the remoted
peer interface IP address assignments.  Use your own network appropriate
numbers here.  Also, the name of the file options.<ttyXnn> Should match the
driver nomenclature corresponding to your hardware.  I use a Digiboard, so
my devices look like ttyD0 - ttyD7, but yours may be different.

5.  For some reason, if I do not have the /etc/ppp/options.ttyD0 file with
the ip assignments, the remote Win95 connection tells me to check my
username and password.  My advice would be to try creating an options file
similar to step 4 of this email before you go through the trouble of steps
1-3.  Your mgetty may already be compiled to support Auto_PPP.  (You will
need to edit /etc/mgetty+sendfax/mgetty.config to allow Auto_PPP however).

Jerry G.
____________________Reply Separator____________________
Subject:        Re: Dialup servers
Author: Johannes Kloos <[EMAIL PROTECTED]>
Date:           7/15/2000 4:10 PM

On Thu, 6 Jul 2000, Ryan Hairyes wrote:

> Hello All,
>
> I have an Red Hat Linux 6.1 machine (server) which has an 8-port rockport
> modem card in it.  I have the card configured and I can dialin to it.  I
> All this stuff works fine.  Where my problem is when I try to use pppd to
> get the dialin users to connect to the internet, It doesn't check the
password
> and it just gives back an error saying that the password is wrong but I
know
> it is correct. And on one port, (which I can't remember how I did it =P)
it
will
> let you dialin and it will allow pppd to start and let people on the
internet,
> but it doesn't use a password.  It just automatically connects.  I have
just
> started to get into ppp stuff, any ideas that you have would really be
helpful.

What authentication method do you use (generic shell account w/ username
and password, PAP, CHAP) and what do your configuration (esp. ppp-options)
files look like ?

>
> Thanks,
> Ryan


______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to