reset/remove udev persistent-net-rules
hi
I should create a sqeeze image and install it on other computers. Udev should detect network card (NIC) module and load it automatically at startup. How I understand /lib/udev/rules.d/75-persistent-net-generator.rules runs when udev starts, then writes to /etc/udev/rules.d/70-persistent-net.rules. The problem is, udev searches for this NIC on other hardware and the network cannot start. I can solve this problem easily using a startup script to delete /etc/udev/rules.d/70-persistent-net.rules file. Is it any other way instead of a startup script? |
How about deleting the rule before making the image?
|
Quote:
|
There is still the problem that occasionally one must update the master copy of the image and it is way, way too easy to forget to kill off that dad-blasted 70-persistent-net.rules piece of dung. I realize it saves 0.001 seconds every time you boot, but it would take millions of boots to make up for the lost time dealing with the network code futilely looking for a non-existent MAC address. I'll keep looking...
|
All times are GMT -5. The time now is 02:37 AM. |