lkml.org 
[lkml]   [1996]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Pre-release 2.0.5 breaks network config scripts
Date
From

-- Drew Sullivan, <drew@ss.org> -- Toronto, Canada, +1-416-225-1592
"Intel Inside" isn't advertising. It's a warning!

> On Sat, 18 May 1996, JF Martinez wrote:
> > The following worked in 1.3.98 and no longuer in 1.99.5:
> > ifconfig lo 127.0.0.1
> > route add -net 127.0.0.1
> No, it should be
> route add -net 127.0.0.0
> We got rid of the old compatibility code that was written for the 1.0
> release.. The current kernel is a lot stricter about these things.
> Linus

Can we at least put a patch into route to strip the host portion. This is
the way I use route. I want say: route the net for which this host
address is valid. In this way, a simple shell scripts can say:

echo -n "Enter IP"
read ip
ifconfig eth0 $ip
route add -net $ip

This is used on a single floppy linux router. It doesn't have awk, perl
or anything else that I could use to change the ip address.



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