Re: Device (LAN Cards) Naming

Mike Fedyk (mfedyk@matchmail.com)
Fri, 30 Nov 2001 15:05:36 -0800


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/