moonless.knights n00b
Joined: 21 Aug 2013 Posts: 15
|
Posted: Thu Aug 22, 2013 12:51 am Post subject: issues with udev and renaming [solved] |
|
|
I have emerge enough packages on this box to have it bootable, this is my first pass at emerging. Now when I the system comes up it wants to have wired network to have a name of enp10s0 I want it to be eth0 like my other boxes have. I did some reading and seems to be a straight forward just create a udev rule and reboot. The ATTR{dev_id}=="0x0" may be causing the problem I dont know how this value is figured.
Code: | cat /etc/udev/rules.d/70-persistent-net.rules
# PCI device
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:26:22:a1:54:43" ATTR{dev_id}=="0x0" ATTR{type}=="1", KERNEL=="enp10s*", NAME="eth0" |
only showing the network cards, a wireless and hard line
Code: | lspci -v
09:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Hewlett-Packard Company AR5BHB92-H 802.11abgn Wireless Half-size Mini PCIe Card [AR9280]
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at f1100000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Count=1 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
0a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
Subsystem: Hewlett-Packard Company Device 3642
Flags: bus master, fast devsel, latency 0, IRQ 41
I/O ports at 2000 [size=256]
Memory at f1010000 (64-bit, prefetchable) [size=4K]
Memory at f1000000 (64-bit, prefetchable) [size=64K]
Expansion ROM at f1020000 [disabled] [size=128K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [ac] MSI-X: Enable- Count=2 Masked-
Capabilities: [cc] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-00-00-00-00-00-00-00
|
For some reason that is not working need some suggestions please.
Thanks for taking a look at this.
Last edited by moonless.knights on Fri Aug 23, 2013 3:27 am; edited 1 time in total |
|