LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-30-2011, 09:33 PM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,608

Rep: Reputation: 45
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?
 
Old 05-02-2011, 05:57 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,533
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
How about deleting the rule before making the image?
 
1 members found this post helpful.
Old 05-02-2011, 06:00 AM   #3
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,608

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by catkin View Post
How about deleting the rule before making the image?
Thx, that's a good idea.
 
Old 06-29-2012, 11:46 AM   #4
bkorb
GNU Contributor
 
Registered: Sep 2006
Posts: 59

Rep: Reputation: 16
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack 13.1 : /etc/udev/rules.d70-persistent-net.rules Ramurd Slackware 10 02-18-2011 09:56 AM
Udev not doing remove rules? mpapet Linux - Desktop 1 11-02-2010 06:47 AM
70-persistent-net.rules DebianUser Linux - Networking 1 08-07-2010 07:09 AM
[SOLVED] Changes to 70-persistent-net.rules not reflected in ifconfig until reboot Potatos Linux - Networking 3 06-18-2010 12:40 PM
cat: /etc/udev/rules.d/70-persistent-net.rules: No such file or directory rcg1984 Linux From Scratch 2 09-17-2008 07:02 AM


All times are GMT -5. The time now is 03:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration