On Wed, 19 May 1999, Bernie Somes wrote:

> I looked at the pppd.chat.log as well as the pppd.debug.log and the only
> entries in either (I killed the files and restarted everything) was the
> mention of a previous problem I have been having, the error message
> 'modprobe: Can't locate module char-major-6'

If you have debug in your pppd options (I thought it was there in your
AutoPPP line), there should be a rather verbose dialog for pppd.  If not,
check your options and where your pppd debug output is going
(/etc/syslog.conf).  In my syslog.conf, I have the following entry:

# Log debug messages (e.g. PPP output)
*.debug                                                 /var/log/debug
 
> the format I have in my pap-secrets file is similar to this hypothetical user
> 
> 
> *  "bsomes" "password" *

If you are connecting to an ISP with userid bsomes, then you have the
first * and "bsomes" reversed.  Probably the cause of your problem.

> Now a question, I also connect to my isp (who actually runs mgetty-1.1.19
> along with pppd-2.3.4 ontop of linux 2.0.36 the same as I) dialing out on
> ttyS0.
> I have ttyS1 and ttyS2 monitor the lines.  I use pap to auth on my isp's
> system.
> Can I use the same pap-secrets file to authenticate my dial-ins?  Is mgetty
> suppose to pass the user as AUTOPPP?  Someone please help.

So you are doing both dial-ins and dial-outs?  You like things
complicated, don't you? ;)

I have not tried both on one machine, but it shouldn't be terribly
difficult.  The routing might require some special work if you want
dial-in users to connect through the dial-out route.  I know the theory,
but haven't done it.  The PPP-HOWTO might have more info.

You should only have mgetty configured on ttyS1 and ttyS2, not ttyS0
(presuming ttyS0 will never be used for dial-ins). 

If your dial-in users have accounts on the linux box, you can use the pppd
'login' option and let them use their linux userids and passwords to
connect.  Just put a pap-entry like the following after the bsomes entry:

# Secrets for authentication using PAP
# client        server  secret                  IP addresses
*               *       ""                      *

If your users don't have linux box accounts, you must create a pap-secrets
entry for each.  This time, the userid in the second field and * in the
first field.

I suggest you concentrate on getting one part (dial-out, for example)
working before configuring for the other.

Geof Goodrum
Voice: +1-301-457-5100
Email: [EMAIL PROTECTED]



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

Reply via email to