Re: [PATCH] All my Pcmcia cards are 'eth0'

From: Bill Nottingham
Date: Thu Nov 20 2003 - 22:32:23 EST


Jean Tourrilhes (jt@xxxxxxxxxxxxxxxxxx) said:
> One of the main problem is that they are all assigned 'eth0',
> and therefore all configured with the same IP address. This is really
> pathetic.
>
> The usual answer is : you should use 'nameif' :
> http://www.xenotime.net/linux/doc/network-interface-names.txt
> Well, of course, nobody ever bothered to try it, so it doesn't
> work. No comments.

Well, no offense, but I'd think comments are necessary about no
one bothering to try it and it not working. I've had an orinoco_cs
device 'bob' using nameif for a while.

There are some situations where you have to jump through hoops
because it can't atomically swap two device names (i.e.,
eth0 <-> eth1, but the code itself seems to work ok in use here...

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