From: VinX on
Hi all!
I'm a fan of Debian and now i'm testing a Suse OSS 10!
My problem is on ifup script!
When i bring up a connection on my eth0, this script give me this error:

ERROR: Error while executing:
Command 'ip route replace to 127.0.0.1/8 via 127.0.0.1 dev eth0'
returned:
RTNETLINK answers: Invalid argument
Configuration line: 127.0.0.1 127.0.0.1 255.0.0.0
eth-id-00:0e:a6:81:05:72

so if i give these commands:

~# ip route replace to 127.0.0.1/8 via 127.0.0.1 dev eth0
RTNETLINK answers: Invalid argument
# grep -n replace /sbin/ifup
#

any idea?
Is there a method to remove it?
Or eventually find this error and try to solve it?

Thanks!
VinX
From: EricT on
VinX wrote:
> Hi all!
> I'm a fan of Debian and now i'm testing a Suse OSS 10!
> My problem is on ifup script!
> When i bring up a connection on my eth0, this script give me this error:
>
> ERROR: Error while executing:
> Command 'ip route replace to 127.0.0.1/8 via 127.0.0.1 dev eth0'
> returned:
> RTNETLINK answers: Invalid argument
> Configuration line: 127.0.0.1 127.0.0.1 255.0.0.0
> eth-id-00:0e:a6:81:05:72
>
> so if i give these commands:
>
> ~# ip route replace to 127.0.0.1/8 via 127.0.0.1 dev eth0
> RTNETLINK answers: Invalid argument
> # grep -n replace /sbin/ifup
> #
>
> any idea?
> Is there a method to remove it?
> Or eventually find this error and try to solve it?
>
> Thanks!
> VinX

try this command to find the file:

find /etc/ -name *ifup* -print -exec grep -n replace {} \;

Eric
From: VinX on
EricT wrote:

> try this command to find the file:
>
> find /etc/ -name *ifup* -print -exec grep -n replace {} \;
>

Hi,
thanks so much for finder!
The routing file is: /etc/sysconfig/network/ifup-route
for now i disabled this feature and it work!!! ^_^

VinX