Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 21:40:26 -0700
From:      "Ted Mittelstaedt" <tedm@toybox.placo.com>
To:        "Mark Ibell" <marki@paradise.net.nz>, <questions@FreeBSD.ORG>
Subject:   RE: PPP server problem
Message-ID:  <002601c0cc78$ae5f5900$1401a8c0@tedm.placo.com>
In-Reply-To: <3AE41BD7.CADAF949@paradise.net.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Mark,

  Try removing the "login" keyword from /etc/ppp/options
and adding in marki in /etc/ppp/pap-secrets like so:

marki  *  blah

  then see if it authenticates.  I'd rule out any low-level
problems in the serial port or modem or you wouldn't see
"marki" as a username in the log.  It's probably something
simple such as the password is case sensitive and your
sending the wrong case, or the /etc/ppp directory is not readable
by ppp or the files in it aren't readable by ppp, or the
Windows client is sending a space character in the password
or the ppp config files have extra characters in them that you
aren't aware of or something like that.  Note also my comment in the article
aobut NT4 cleartext being required, if your running NT.  See if
you can test with a different Windows client if possible.

  Also don't rule out a bug in pppd too.  The truth is
that these days very few people are building dedicated multiport
PPP servers using PC's because they want to support V90 indial,
which requires an ISDN line.  (although I'd be interested in
anyone's experiences with the US Robotics Courier I-Modem
which will support incoming V90 calls)  Most people that set
their FreeBSD workstations up for indial are doing it casually
and also want to make outgoing calls on their phone line and so
they use the user-mode ppp because there's more information out
there for the casual user.  As a result I think that in recent
years that pppd has been more used for outdial than indial.

Ted Mittelstaedt                      tedm@toybox.placo.com
Author of:          The FreeBSD Corporate Networker's Guide
Book website:         http://www.freebsd-corp-net-guide.com


>-----Original Message-----
>From: owner-freebsd-questions@FreeBSD.ORG
>[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Mark Ibell
>Sent: Monday, April 23, 2001 5:11 AM
>To: questions@FreeBSD.ORG
>Subject: PPP server problem
>
>
>Hi,
>
>I've been trying to set up a PPP server following Ted Mittelstaedt's
>instructions as found at:
>
>http://www.computerbits.com/archive/1997/0900/lan9709.html
>
>The problem is that the PAP authentication always fails even though the
>username/password are indeed correct. Any ideas? This is on a 4.3RC
>system.
>
>pppd is being run as follows:
>
># /usr/sbin/pppd 192.168.1.1:192.168.1.201 /dev/ttyd0 115200
>
>Here is a section of debug output:
>
>Apr 23 23:13:18 iris pppd[219]: rcvd [PAP AuthReq id=0x1 user="marki"
>password="blah"]
>Apr 23 23:13:18 iris pppd[219]: PAP authentication failure for marki
>Apr 23 23:13:18 iris pppd[219]: sent [PAP AuthNak id=0x1 "Login
>incorrect"]
>
>/etc/ppp/options:
>
>auth
>crtscts
>debug
>login
>modem
>ms-dns 192.168.1.1
>passive
>persist
>proxyarp
>silent
>
>/etc/ppp/pap-secrets:
>
>* * ""
>
>Cheers,
>Mark
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002601c0cc78$ae5f5900$1401a8c0>