Question about biosdevname and debian
Bas van der Vlies
basv at sara.nl
Wed Sep 5 00:42:21 CDT 2007
On Sep 4, 2007, at 11:07 PM, Matt Domsch wrote:
> 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
>
That part works ;-)
> 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.
>
That explains a lot. I thought this functionality already worked.
Good Luck with testing
--
Bas van der Vlies
basv at sara.nl
More information about the Linux-PowerEdge
mailing list