lkml.org 
[lkml]   [1998]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: New pre-patch (Re: [PATCH] kswapd fully sysctl tunable)
   Date: 	Sun, 3 May 1998 01:54:47 +0200 (CEST)
From: Andrea Arcangeli <arcangeli@mbox.queen.it>

I can' t use ppp with pre-100-1, pppd tell me:

May 3 01:50:55 dragon pppd[169]: Serial connection established.
May 3 01:50:56 dragon pppd[169]: Using interface ppp0
May 3 01:50:56 dragon pppd[169]: Connect: ppp0 <--> /dev/modem
May 3 01:51:02 dragon pppd[169]: ioctl(SIOCADDRT) device route: Network is down(100)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 3 01:51:02 dragon pppd[169]: Connection terminated.
May 3 01:51:02 dragon pppd[169]: Exit.

Read the following from Documentation/networking/ppp.txt:

*NEWSFLASH*
This kernel release needs a minor bug fix for pppd to run properly with
the new routing code. When your pppd doesn't work apply the following
patch to pppd-2.2.0f or update to the newest pppd version.

Patch:

--- ppp-2.2.0f/pppd/sys-linux.c-o Wed Sep 17 00:23:01 1997
+++ ppp-2.2.0f/pppd/sys-linux.c Wed Sep 17 00:23:11 1997
@@ -927,8 +927,11 @@

if (ioctl(sockfd, SIOCADDRT, &rt) < 0)
{
+/* The new linux routing code doesn't like routes on down devices. */
+#if 0
syslog (LOG_ERR, "ioctl(SIOCADDRT) device route: %m");
return (0);
+#endif
}
return 1;
}


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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