Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 08-18-2008, 01:22 AM   #1
LQ Newbie
Registered: Oct 2007
Posts: 10

Rep: Reputation: 0
cat: /etc/udev/rules.d/70-persistent-net.rules: No such file or directory

Hello all, i'm currently up to 7.13. Configuring the network script on using ubuntu as my host.

I ran the command: /lib/udev/write_net_rules all_interfaces and than received this message: /sys/class/net/ is not available, persistent interface names not saved.

Is this something to be worried about? because I just ran cat /etc/udev/rules.d/70-persistent-net.rules and received this message: cat: /etc/udev/rules.d/70-persistent-net.rules: No such file or directory

Old 08-19-2008, 10:25 AM   #2
Registered: Jun 2008
Distribution: Slackware 13.0, Ubuntu 9.10, Windows XP Pro SP3
Posts: 100

Rep: Reputation: 15

I get this
# This file maintains persistent names for network interfaces.
# See udev(7) for syntax.
# Entries are automatically added by the 75-persistent-net-generator.rules
# file; however you are also free to add your own entries.

# PCI device 0x14e4:0x167d (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:10:d0:f:c:00", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x8086:0x4227 (iwl3945)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:00:de:b:a:d", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
well its atleast something... you got nothing....
Old 09-17-2008, 08:02 AM   #3
Registered: Sep 2008
Posts: 49

Rep: Reputation: 16
I have always had problems running /lib/udev/write_net_rules all_interfaces from the host. Skip this step and go in then when you boot run the command and it should give the correct settings for your new LFS system. I build my first system from Debian and it gave LFS the wrong information for the file.


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
Udev Rules - reg zoobave Linux - Kernel 1 06-20-2007 08:41 AM
slackware-current, udev 0.96, and custom udev rules not working rignes Slackware 6 08-10-2006 04:43 AM
Udev rules working but... cferron Linux - Hardware 5 03-24-2006 03:46 AM
need help fixing my udev rules or ivman rules hedpe Linux - Hardware 2 03-18-2006 11:07 AM
Networking rules (udev) cassi0peias Linux - Networking 1 10-18-2005 11:13 AM

All times are GMT -5. The time now is 03:30 AM.

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