[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [SOLVED] Re: Kernel 2.2.1: SIOCADDRT: Invalid argument ?



*- On  9 Feb, Ed Cogburn wrote about "[SOLVED] Re: Kernel 2.2.1:  SIOCADDRT: Invalid argument ?"
> "Ralf G. R. Bergs" wrote:
>> 
>> On Tue, 09 Feb 1999 15:02:36 -0500, Ed Cogburn wrote:
>> 
>> >       route add -net 127.0.0.0
>> >
>> >       Its the route command thats generating the "SIOCADDRT: Invalid
>> >argument".  I'm up to date with potato, (I got the kernel deb from
>> >there) so what could this be?
>> 
>> The kernel automatically sets the route to the interface. Remove the above line,
>> and all will be well again. :-)
>> 
> 
> 
> 	Ralf was right.  The 'route' command (/etc/init.d/network) is
> apparently no longer necessary with kernel 2.2.1.  Just remove
> it.  After reboot, 'ifconfig' shows loopback up and running.
> 
> 	Thanks Ralf, and to servis for responding.
> 
> 

Yeah, I read that in the Changes file in the kernel source but when I
removed the route lines for my network card I had Samba problems. 
Mainly my Win95 clients couldn't connect at all.  As soon as I put the
route statements back in everything was working(by the way I do not get
any SIOCADDRT errors).  However, I am running slink with Samba
1.9.18p10-7.  Maybe Samba has to be recompiled against the new kernel
headers.

-- 
Brian 
---------------------------------------------------------------------
"Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes." 
							   - unknown  

Mechanical Engineering                                bservis@usa.net
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: