lkml.org 
[lkml]   [1999]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: howto disable auto route setup?
Date
In <Pine.LNX.4.04.9901290104090.16389-100000@jakma.clubi.ie> Paul Jakma <paul@clubi.ie> writes:

>On 28 Jan 1999, Nick Holloway wrote:

>> paul@clubi.ie (Paul Jakma) writes:
>> > Does anyone know how to disable the new 2.1/2.2 /feature/ of
>> > automatically adding route for ifconfig up'd interfaces??
>>
>> I found that specifying a netmask of 255.255.255.255 helps alleviate
>> the problems caused by this (so you only get a host route).

>yeah, but i need setup scripts that work for both 2.0 and 2.2.

case "`uname -r`" in
2.0.*)
ifconfig bla bla bla
route add bla bla bla
;;

2.2.*)
ifconfig eth0 bla bla
;;
esac

>And it breaks things diald a bit, which exec ifconfig and
>then route.

Fixing that should be easy.

--
Henrik Storner | "Software engineering is a race between engineers
<storner@image.dk> | who try to create foolproof software and the
| universe which is trying to create bigger fools.
| So far, the universe is winning..."

-
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:50    [W:0.069 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site