Re: Can't add local route

1999-09-20 Thread Edmund GRIMLEY EVANS
Andreas Jaehnigen:

 SIOCADDRT: Invalid argument

I get this on i386 using kernel 2.2.10 with Debian 2.1. There is a
slight incompatibility between Debian 2.1's network initialisation
scripts and the 2.2.x kernels. The error is harmless and may be
ignored, as far as I know, though it would be nice if the scripts
could be updated to not do this. (It can't be too hard to write a
script that works without errors with 2.0.x or 2.2.x, can it?)

Edmund


Re: Can't add local route

1999-09-20 Thread Florian Lohoff
On Mon, Sep 20, 1999 at 09:12:55AM +0100, Edmund GRIMLEY EVANS wrote:
 Andreas Jaehnigen:
 
  SIOCADDRT: Invalid argument
 
 I get this on i386 using kernel 2.2.10 with Debian 2.1. There is a
 slight incompatibility between Debian 2.1's network initialisation
 scripts and the 2.2.x kernels. The error is harmless and may be
 ignored, as far as I know, though it would be nice if the scripts
 could be updated to not do this. (It can't be too hard to write a
 script that works without errors with 2.0.x or 2.2.x, can it?)

As i mentioned - Just delete all network routing commands from
your /etc/init.d/network except the route for the default gateway

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED]   +49-5241-470566
  ...  The failure can be random; however, when it does occur, it is
  catastrophic and is repeatable  ... Cisco Field Notice


Re: Can't add local route

1999-09-19 Thread Florian Lohoff
On Sun, Sep 19, 1999 at 11:39:42PM +0200, Andreas Jaehnigen wrote:
 Hi everybody
 
 I'm trying to install Debian on a Sparc clone... It runs kernel 2.2.12
 (compiled it myself). A Sun Lance ethernet card is successfully detected upon
 kernel startup.
 However, initialisation scripts give me errors, especially the network ones.
 in /etc/rcS.d/
 
 The script S40 tries to add some routes.. and whoops! 
 
 SIOCADDRT: Invalid argument
 
 What's going wrong here? I suppose I forgot to add some sort of support in the
 kernel-- but which kind of??
 Hints are greatly appreciated!! And thanks!! :-))

Might be from the upgrade from 2.0 to 2.2 kernels.  2.2 Kernels automatically
set routes for interfaces configured by ifconfig so when adding the
same route again you get an error ...

Just kill route commands from your setup except the default route

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED]   +49-5241-470566
  ...  The failure can be random; however, when it does occur, it is
  catastrophic and is repeatable  ... Cisco Field Notice