Re: Device (LAN Cards) Naming

From: Mike Fedyk (mfedyk@matchmail.com)
Date: Fri Nov 30 2001 - 18:05:36 EST


On Fri, Nov 30, 2001 at 08:57:28PM +0100, Sven Koch wrote:
> On Fri, 30 Nov 2001, Mauricio Culibrk wrote:
>
> > Is it possible to define a name for each interface instead of having
> > eth0, eth1 etc?
>
> ip link set eth0 down
> ip link set eth0 name buggy
> ip link set buggy up
>

Ohh, nice!

Though I've gotten used to ethX, I'm sure this can help make scripts a bit
easier to read.

Does the new name work with ifconfig?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:41 EST