Re: New pre-patch (Re: [PATCH] kswapd fully sysctl tunable)

David S. Miller (davem@dm.cobaltmicro.com)
Sun, 3 May 1998 03:46:10 -0700


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