All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Raivis Bucis" <raivis@mt.lv>
To: "Jeff V. Merkey" <jmerkey@vger.timpanogas.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: setting up pppd dial-in on linux
Date: Mon, 27 Nov 2000 12:00:52 +0200	[thread overview]
Message-ID: <0c9101c05859$4b4c0220$2000000a@dev.mt.lv> (raw)
In-Reply-To: <20001125003600.A28207@vger.timpanogas.org> <3A1F6EB6.A5E47686@pobox.com> <20001125121049.A29510@vger.timpanogas.org>

[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]

From: "Jeff V. Merkey" <jmerkey@vger.timpanogas.org>
Sent: Saturday, November 25, 2000 9:10 PM


: On Fri, Nov 24, 2000 at 11:48:06PM -0800, J Sloan wrote:
: > "Jeff V. Merkey" wrote:
: >
: > > Anyone out there a whiz at setting up a pppd dialin server?  I am
: > > trying to put together an RPM for pppd dialin configurations
: > > that will support default Windows NT and Linux dial in clients
: > > without requiring the poor user to learn bash scripting, chat
: > > scripting, mgetty and inittab configuration, etc.  The steps
: > > in setting this up are about as easy as going on a U.N. relief
: > > mission to equatorial Africa, and most customers who are
: > > "mere mortals" would give up about an hour into it.
: >
: > Red Hat's ppp client setup is about a 90 second job
:
: I am using theirs as a base.   Setup's not the issue.  It's the
: chap MD5 authentication for NT clients and the constant
: crashing that's troublesome.  I have it working, just not
: with NT clients.

Probably this little patch will help you. I had similar problems with
Windows 95 and encryption
enabled.

Raivis

[-- Attachment #2: ppp.patch --]
[-- Type: application/octet-stream, Size: 343 bytes --]

diff -uNr ppp-2.3.11.orig/pppd/lcp.c ppp-2.3.11/pppd/lcp.c
--- ppp-2.3.11.orig/pppd/lcp.c	Tue Jul 18 14:13:14 2000
+++ ppp-2.3.11/pppd/lcp.c	Mon Nov 27 11:55:34 2000
@@ -1074,6 +1074,7 @@
 	GETCHAR(cilen, p);
 	if (cilen < CILEN_VOID || (len -= cilen) < 0)
 	    goto bad;
+	if (cilen < 2) break;
 	next = p + cilen - 2;
 
 	switch (citype) {

  reply	other threads:[~2000-11-27 10:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-25  7:36 setting up pppd dial-in on linux Jeff V. Merkey
2000-11-25  7:48 ` J Sloan
2000-11-25 19:10   ` Jeff V. Merkey
2000-11-27 10:00     ` Raivis Bucis [this message]
2000-11-25 13:28 ` Pedro M. Rodrigues
2000-11-25 19:12   ` Jeff V. Merkey
2000-11-25 17:04 ` William Scott Lockwood III
2000-11-25 19:13   ` Jeff V. Merkey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='0c9101c05859$4b4c0220$2000000a@dev.mt.lv' \
    --to=raivis@mt.lv \
    --cc=jmerkey@vger.timpanogas.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.