Skip to contentSkip to conversation

setting up pppd dial-in on linux

DISCUSSION Jeff V. Merkey 5 participants 8 messages Nov 25, 2000 – Nov 27, 2000

lore
Share & tools
lore
#0 lore raw

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.

I am seeing massive problems with pppd dial-in and IP/IPX routing with problems that range from constant Oops, to the bug infested pppd daemon failing valid MD5 chap authentication. The HOW-TO's and man pages provide wonderful commentary on all the things about pppd that don't work, but it's not too helpful on getting it to work reliably. An NT dial-in server takes about 5 minutes to configure on W2K. Linux takes about 2 days, and won't stay up reliably.

Who out there is an expert on Linux pppd that would like to help put together some easy configs for standard dial-in scenarios?

Thanks

Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 8 lines · Jeff V. Merkey

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

Quoted 9 lines

I am seeing massive problems with pppd dial-in and IP/IPX routing with problems that range from constant Oops, to the bug infested pppd daemon failing valid MD5 chap authentication. The HOW-TO's and man pages provide wonderful commentary on all the things about pppd that don't work, but it's not too helpful on getting it to work reliably. An NT dial-in server takes about 5 minutes to configure on W2K. Linux takes about 2 days, and won't stay up reliably.

hmm, an awful lot of ISPs use Linux dialup servers...

I set up a linux ppp server back in 1996 - things might have changed, but it seemed fairly straightforward at the time -

can't imagine it's gotten worse since then...

Quoted 3 lines

Who out there is an expert on Linux pppd that would like to help put together some easy configs for standard dial-in scenarios?

Crunch time for me right now, finals coming right up...

I'll bet there's quite a few ISP-savvy admins who could lend a hand though -

jjs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
In reply to Jeff V. Merkey

You are not alone. And the problem gets even worse when you
have to deal with ISDN devices. In my company´s data room we have all Linux servers running 365 days a year (minus upgrade time) and in one corner a lonely Windows NT Server 3.0 with 5 Client Access Licenses working as a RAS server for 2 Diva Server BRI cards (4 analog/digital channels) plus one analog modem. Time to set it up? Half an hour counting NT installation. Time i lost investigating and trying different configurations, dealing with contradictory documentation, chat scripts, different ipppd versions, and authentication failures? 2 days. At Ieast i cant complain about pppd oops, as you do, the pppd in RH6.2 seemed solid. The document of reference that seemed more interesting to me at the time was http://www.swcp.com/~jgentry/pers.html , have a look please.

Regards,
Pedro

Quoted 27 lines · Jeff V. Merkey

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.

I am seeing massive problems with pppd dial-in and IP/IPX routing with problems that range from constant Oops, to the bug infested pppd daemon failing valid MD5 chap authentication. The HOW-TO's and man pages provide wonderful commentary on all the things about pppd that don't work, but it's not too helpful on getting it to work reliably. An NT dial-in server takes about 5 minutes to configure on W2K. Linux takes about 2 days, and won't stay up reliably.

Who out there is an expert on Linux pppd that would like to help put together some easy configs for standard dial-in scenarios?

Thanks

Quoted 9 lines

Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
In reply to Jeff V. Merkey

Jeff,
I am also VERY interested in this, particularly on getting modems to work
with Linux at all. I'm not reading the list right now, but I'd appreciate
any feedback you can throw my way on this. Esp. if you DO get it setup and
working. It sure would be nice to see Linux FINALLY support more modems out there. Hell, my Internal USR ISA modem is not even supported, but FreeBSD had had support for it for a long time now. :-( Please let me know what you find out, and I'm VERY interested in your RPM - hope there will be a straight tarball for us Slackware Dinosaurs too. :-)

Scott

----- Original Message -----
From: "Jeff V. Merkey" <[email protected]>
To: <[email protected]>
Sent: Saturday, November 25, 2000 1:36 AM
Subject: setting up pppd dial-in on linux

Quoted 27 lines

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.

I am seeing massive problems with pppd dial-in and IP/IPX routing with problems that range from constant Oops, to the bug infested pppd daemon failing valid MD5 chap authentication. The HOW-TO's and man pages provide wonderful commentary on all the things about pppd that don't work, but it's not too helpful on getting it to work reliably. An NT dial-in server takes about 5 minutes to configure on W2K. Linux takes about 2 days, and won't stay up reliably.

Who out there is an expert on Linux pppd that would like to help put together some easy configs for standard dial-in scenarios?

Thanks

Quoted 9 lines

Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw
In reply to Jeff V. Merkey
Quoted 11 lines · J Sloan
Quoted 8 lines · Jeff V. Merkey

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.

Quoted 1 line

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.

Quoted 16 lines
Quoted 10 lines

I am seeing massive problems with pppd dial-in and IP/IPX routing with problems that range from constant Oops, to the bug infested pppd daemon failing valid MD5 chap authentication. The HOW-TO's and man pages provide wonderful commentary on all the things about pppd that don't work, but it's not too helpful on getting it to work reliably. An NT dial-in server takes about 5 minutes to configure on W2K. Linux takes about 2 days, and won't stay up reliably.

hmm, an awful lot of ISPs use Linux dialup servers...

I set up a linux ppp server back in 1996 - things might have changed, but it seemed fairly straightforward at the time -

Quoted 7 lines

can't imagine it's gotten worse since then...

Quoted 3 lines

Who out there is an expert on Linux pppd that would like to help put together some easy configs for standard dial-in scenarios?

Crunch time for me right now, finals coming right up...

Thank's anyway. I'll keep working on the bugs.

:-)

Jeff

Quoted 6 lines

I'll bet there's quite a few ISP-savvy admins who could lend a hand though -

jjs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#5 lore raw
In reply to Jeff V. Merkey
Quoted 15 lines · Pedro M. Rodrigues

You are not alone. And the problem gets even worse when you
have to deal with ISDN devices. In my company´s data room we have all Linux servers running 365 days a year (minus upgrade time) and in one corner a lonely Windows NT Server 3.0 with 5 Client Access Licenses working as a RAS server for 2 Diva Server BRI cards (4 analog/digital channels) plus one analog modem. Time to set it up? Half an hour counting NT installation. Time i lost investigating and trying different configurations, dealing with contradictory documentation, chat scripts, different ipppd versions, and authentication failures? 2 days. At Ieast i cant complain about pppd oops, as you do, the pppd in RH6.2 seemed solid. The document of reference that seemed more interesting to me at the time was http://www.swcp.com/~jgentry/pers.html , have a look please.

Thanks. We need to get the Linux stuff to the same point. From our analysis, it's the only weak feature left -- Linux either matches or surpasses NT in every other area now except this one.

Jeff

Quoted 44 lines

Regards,
Pedro

Quoted 36 lines · Jeff V. Merkey

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.

I am seeing massive problems with pppd dial-in and IP/IPX routing with problems that range from constant Oops, to the bug infested pppd daemon failing valid MD5 chap authentication. The HOW-TO's and man pages provide wonderful commentary on all the things about pppd that don't work, but it's not too helpful on getting it to work reliably. An NT dial-in server takes about 5 minutes to configure on W2K. Linux takes about 2 days, and won't stay up reliably.

Who out there is an expert on Linux pppd that would like to help put together some easy configs for standard dial-in scenarios?

Thanks

Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#6 lore raw
In reply to Jeff V. Merkey
Quoted 9 lines · William Scott Lockwood III

Jeff,
I am also VERY interested in this, particularly on getting modems to work
with Linux at all. I'm not reading the list right now, but I'd appreciate
any feedback you can throw my way on this. Esp. if you DO get it setup and
working. It sure would be nice to see Linux FINALLY support more modems out there. Hell, my Internal USR ISA modem is not even supported, but FreeBSD had had support for it for a long time now. :-( Please let me know what you find out, and I'm VERY interested in your RPM - hope there will be a straight tarball for us Slackware Dinosaurs too. :-)

I'll post ot at vger.timpanogas.org with the Ute-NWFS distribution. It will be freely downloadable. Having plug and play NT dial-in support would be very nice. SuSe has a pretty nice setup, but we have as many, if not more problems with their's vs. RedHat and ours.

Jeff

Quoted 46 lines

Scott

----- Original Message -----
From: "Jeff V. Merkey" <[email protected]>
To: <[email protected]>
Sent: Saturday, November 25, 2000 1:36 AM
Subject: setting up pppd dial-in on linux

Quoted 36 lines

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.

I am seeing massive problems with pppd dial-in and IP/IPX routing with problems that range from constant Oops, to the bug infested pppd daemon failing valid MD5 chap authentication. The HOW-TO's and man pages provide wonderful commentary on all the things about pppd that don't work, but it's not too helpful on getting it to work reliably. An NT dial-in server takes about 5 minutes to configure on W2K. Linux takes about 2 days, and won't stay up reliably.

Who out there is an expert on Linux pppd that would like to help put together some easy configs for standard dial-in scenarios?

Thanks

Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#7 lore raw
In reply to Jeff V. Merkey

From: "Jeff V. Merkey" <[email protected]>
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

pppd/lcp.c +1 -0
diff -uNr ppp-2.3.11.orig/pppd/lcp.c ppp-2.3.11/pppd/lcp.c
@@ -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) {