Question about biosdevname and debian

Matt Domsch Matt_Domsch at dell.com
Tue Sep 4 16:07:31 CDT 2007


On Tue, Sep 04, 2007 at 04:14:51PM +0200, Bas van der Vlies wrote:
> 
> We have some 1950's and the eth0 and eth1 are swapped when the kernel is 
> booted. So i thought when i installed biosdevname 0.2.3 the problem is gone 
> and i can use eth0 in the interface file, eg:
>   auto eth0
>   iface eth0 inet dhcp
> 
> But still have to use eth1 here, i have adjusted the udev rules and my 
> version of udev is 0.105-4. Is this the right version?
> 
> Have other debian users tried biosdevname?

biosdevname by itself doesn't rename the interfaces.  It only tells
you, given a current name, what it "should" be called.  In your case,
it should do:

# biosdevname -i eth0
eth1
# biosdevname -i eth1
eth0

The second piece is to integrate with udev.  Udev-113 (IIRC) is
required for it to be able to rename the devices on its own - earlier
versions didn't know how to rename network devices.

I spoke with Kay Sievers at length tonight, and I think I know what
needs to be done in in udev to make this work cleanly going forward.
I'll be testing that more next week.

Thanks,
Matt

-- 
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux



More information about the Linux-PowerEdge mailing list