lkml.org 
[lkml]   [2001]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Device (LAN Cards) Naming
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/

\
 
 \ /
  Last update: 2005-03-22 13:13    [from the cache]
©2003-2011 Jasper Spaans