lkml.org 
[lkml]   [1999]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.2.13pre9 ppp oddity
Hi all,

I just booted Alan's 2.2.13pre9.

(pppd v2.3.5
Kppp v1.6.2 KDE desktop dialer)

Trying to log on to my ISP, Kppp told me something like 'You do not
have ppp in your kernel, not even as a module. Go away!'
This is wrong. (It is the same configuration as for 2.2.12, which
works without
problems.)

This message does not come up after I do the following silly thing:
(don't ask me why I did it)

-start pppd on a root console
-kill pppd from another root console (since the first one is
unresponsive and full of garbage, of course)

After this, strangely, everything works fine ever after.
I have not tried other dial in procedures and I know that my pppd and
Kppp are not the latest/greatest.

Does the little change from 2.2.12 to 2.2.13pre9 in ppp.c (see below)
explain this behaviour?

--- linux.vanilla/drivers/net/ppp.c Sat Aug 14 02:26:16 1999
+++ linux.13p9/drivers/net/ppp.c Thu Sep 16 16:40:27 1999
@@ -371,6 +371,9 @@
ppp_tty_open (struct tty_struct *tty)
{
struct ppp *ppp;
+
+ if(!capable(CAP_NET_ADMIN))
+ return -EPERM;

/*
* Allocate a ppp structure to use.

Thanks for your time
Max

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.025 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site