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

Re: Getting runparts if-up.d, etc to execute



On Monday 30 Kislev 5772 04:18:08 debian-user-digest-request@lists.debian.org 
wrote:
> Re: Getting runparts if-up.d, etc to execute
>  From: Brian <ad44@cityscape.co.uk>
>  To: debian-user@lists.debian.org
> 
> On Sun 25 Dec 2011 at 21:58:18 +0200, David Baron wrote:
> > Somehow, the scripts in the if-up.d, if-down.d directories are net being 
> > executed. I have a farely standard interfaces for a router. What am I
> > missing?
> 
> How do you know this?
One of the scripts has echo text in it, did not see this.


> What is the output of 'ifup -v eth2'?~$ 
$ sudo ifup -v eth2
Configuring interface eth2=eth2 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/bridge
run-parts: executing /etc/network/if-pre-up.d/ethtool
run-parts: executing /etc/network/if-pre-up.d/linux-wlan-ng_pre-up
run-parts: executing /etc/network/if-pre-up.d/uml-utilities
run-parts: executing /etc/network/if-pre-up.d/vde2
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant

ifconfig eth2 10.100.101.101 netmask 255.255.255.0 broadcast 10.100.101.255             
up
 route add default gw 10.100.101.1  eth2 
SIOCADDRT: File exists
Failed to bring up eth2.

It IS up! Where is this file--simply get rid of it?

sudo ifdown eth2 said:
ifdown: interface eth2 not configured

Rerunning ifup, no change. It IS up!

I had seen that error message with problems with the older mouse drivers.


Reply to: