This site is now 100% read-only, and retired.

XML logo

Lenny udev and vmware
Posted by Nilshar on Mon 16 Mar 2009 at 14:37
Tags: , ,
I'm using vmware for virtualization.
Under Etch, when I wanted to clone a vmware, I had to remove the file /etc/udev/rules.d/z25-persistent-net.rules so this file can be recreated after a reboot whith the good MAC address.

I tried the same with Lenny and his new udev version using /etc/udev/rules.d/70-persistent-net.rules and sadly, the file were never recreated.

On a normal server, the file is recreated just fine, but not on a vmware, and I can't find why, or how to recreate the file.

The linux-hotplug mailing list is not a great help sadly, so if anyone here got a clue...


*Edit*
Problem solved, see Comment #3

 

Comments on this Entry

Re: Lenny udev and vmware
Posted by Anonymous (200.159.xx.xx) on Mon 16 Mar 2009 at 20:52
in my notebook acer aspire 3100-1405 with network adapter i was same problem in etch and now in lenny it is all. right. I was downloaded new hal files from atheros site. I suggest to you recompile our *.ko files for your network adapter.


=========>
description: Wireless interface
product: AR242x 802.11abg Wireless PCI Express Adapter
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wifi0
version: 01
serial: ff:ff:ff:ff:ff:ff (real address hiden)
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=ath_pci ip=192.168.14.152 latency=0 module=ath_pci multicast=yes wireless=IEEE 802.11g

<============

[ Parent ]

Re: Lenny udev and vmware
Posted by Nilshar (82.238.xx.xx) on Tue 17 Mar 2009 at 09:37
[ View Weblogs ]
In my case, recompiling pcnet32 module didn't change anything sadly :/
It looks like a udev related issue, but I can't find any useful information...

[ Parent ]

Re: Lenny udev and vmware
Posted by Nilshar (82.238.xx.xx) on Tue 17 Mar 2009 at 13:51
[ View Weblogs ]
Problem solved !

new version of udev got a rule in /etc/udev/rules.d/75-persistent-net-generator.rules that ignore all vmware MAC address range :
ENV{MATCHADDR}=="00:0c:29:*|00:50:56:*", ENV{MATCHADDR}=""

So I commented that line, rebooted, and 70-persistent-net.rules is now recreated.

[ Parent ]

Re: Lenny udev and vmware
Posted by Anonymous (77.101.xx.xx) on Wed 25 Nov 2009 at 23:53
I can confirm this works just fine using Debian lenny.

[ Parent ]