Re: route command baffles me.



Jay G. Scott wrote:
In article <56qnkqF2aem2dU1@xxxxxxxxxxxxxxxxxx>,
patrick <ptri.c.k@xxxxxxxxxxxxxx> wrote:
In news:eu9592$7e6$1@xxxxxxxxxxxxxxxxxxxx,
Jay G. Scott <gl@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:

is there something equivalent to solaris' unplumb, so that
i can tell eth1 to drop dead? ie, w/o a reboot?
# /sbin/ifconfig eth1 down

when you do ifconfig -a under with eth1 down, it still shows
eth1. i want ifconfig -a to not show anything about eth1
at all. i've done down, and down doesn't do that.
if you unplumb on solaris, ifconfig -a won't mention it
at all.

Open box, remove card.... Or am I missing something? Why can't it show up as an unconfigured interface if that's what it is?

The only other way I can think of is to remove the kernel module driving the card. But why do you need to do that?

What is the goal of this exercise? Seems like you're trying to do something "the solaris way" when this ain't solaris. Do it (whatever it is) the linux way.

What are you trying to achieve?
.



Relevant Pages

  • Difficult networking problem
    ... mbit ethernet nics (eth0 and eth1). ... I can ping each interface but only one ... ifconfig eth0 down && ifconfig eth1 up ...
    (comp.os.linux.setup)
  • Re: How to get my wireless adapter work?
    ... When I use ifconfig, the wireless adapter is not list unless I run: ... connection, but not DHCP requirement. ... When I use dhclient to get an IP address for my eth1, ... configuration for eth1 not found. ...
    (comp.os.linux.networking)
  • Re: LAN configuration - Debian Sarge
    ... My nic is the one identified as eth1 in ifconfig -a. ... I tried ifconfig eth1 inet 192.168.0.11/99 with success of a sort. ... route 192.168.0.0 (RWMHOMENET) appears in the routing table. ... localhost ...
    (comp.os.linux.networking)
  • Re: route command baffles me.
    ... when you do ifconfig -a under with eth1 down, ... something "the solaris way" when this ain't solaris. ... be quicker to recognize that eth0 was set up as i wanted. ...
    (comp.os.linux.networking)
  • Re: route command baffles me.
    ... when you do ifconfig -a under with eth1 down, ... show up as an unconfigured interface if that's what it is? ... something "the solaris way" when this ain't solaris. ...
    (comp.os.linux.networking)