PDA

View Full Version : ifupdown does not work



monkeyman2000
09-12-2004, 08:23 PM
Hi,

I am using an HD install of Knoppix 3.4. ifupdown does not work correctly.

=========screenshot===========
# ifconfig eth1
eth1 Link encap:Ethernet HWaddr [blah blah]
....
etc.

# ifdown eth1
ifdown: interface eth1 not configured
#
=========screenshot===========

Clearly it is a lie that eth1 is not configured... ifconfig just said it was. And it works fine, I just can't bring it down without rebooting. Which causes many difficulties as you can imagine.

Can anyone help me? Why doesn't this work?

probono
09-12-2004, 09:49 PM
What does


ifconfig eth1 up

give?

user unknown
09-12-2004, 11:06 PM
didn't you mean
ifconfig eth1 down?

monkeyman2000
09-13-2004, 03:20 AM
OK, I think I figured it out, at least partially.

ifconfig eth1 [up|down]

do work, though ifup and ifdown do not.

Interface eth1 is from a pcmcia wireless ethernet card controled by cardmgr. It is not in the /etc/network/interfaces file. It seems that interfaces not in that file cannot be controlled by ifupdown. It took a long time to figure this out because I always thought ifupdown and ifconfig were essentially identical. I guess that is not the case, thanks for pointing it out.

I have some more [related] networking questions.. I'll start a new thread for those. Thank again for the help.


What does


ifconfig eth1 up

give?