[lkml]   [2000]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: devfs / eth micro-problems
---------  Received message begins Here  ---------

> On Fri, 11 Aug 2000 16:02:39 -0400, Theodore Ts'o <> wrote:
> > Date: Thu, 10 Aug 2000 05:03:07 +0200 (MET DST)
> > From:
> > (ii) I noticed recently one some machine that the two
> > ethernet cards had interchanged names. And indeed,
> > if I am not mistaken the 2.4.0-test2 change to eth_setup
> > causes the familiar ether=0,0,eth1 boot parameter to
> > assign the eth1 name to the first detected card.
> > I am inclined to consider this a buglet -
> > it is a bit inconvenient if one has to test kernel version
> > in the boot scripts.
> >
> > I'd tend to agree. Can you say a bit more about the change to
> > eth_setup (not being familiar with that section of code).
> How about configuring IP address based on the MAC address of the card
> rather than what the kernel happens to name it?

Thats easy enough to do now - I have a perl script that parses an
ifconfig, extracts the MAC address and then sets the IP that I have
associated with it. It can even change the name of the host, as well
as configure other things depending on the identity of the MAC

This lets me use one backup system disk that can reconfigure itself to the
host -- just plug it in and boot.

Jesse I Pollard, II

Any opinions expressed are solely my own.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:58    [W:0.023 / U:0.624 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site