Re: disable saving persistent net rules
How can I prevent udev from saving the MAC address of eth0 into the persistent net rules file? I am using Debian Etch. I added a file /etc/udev/rules/a10-monnier.rules which contains various rules that I like (e.g. rename the firewire network interface to eth-fw0, rename the wifi interface to wlan0, rename drive partition /dev/usbdisk if they come from USB). On my Debian Live on a USB stick I then added the following rule to prevent saving persistent names for the network interfaces (since I use this USB key on many machines, I don't want the only ethernet interface to get name eth34): SUBSYSTEM==net, DRIVERS==?*, NAME=%k -- Stefan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: disable saving persistent net rules
On Thu, Jul 05, 2007 at 10:01:27 +, Kent Tong wrote: Hi, How can I prevent udev from saving the MAC address of eth0 into the persistent net rules file? I am using Debian Etch. I think you have to make sure that the interface is named reliably using some other property. If I understand the persistent-net-generator.rules in /etc/udev correctly, it will leave interfaces alone if a name has already been set for them. A brute force approach would be to comment out the following two lines in /etc/udev/persistent-net-generator.rules: KERNEL==eth*|ath*|wlan*|ra*|sta*, DRIVERS==?*,\ IMPORT{program}=write_net_rules $attr{address} I am not sure if that is a good idea, though. -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
disable saving persistent net rules
Hi, How can I prevent udev from saving the MAC address of eth0 into the persistent net rules file? I am using Debian Etch. Thanks! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]