Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


nzkc

1572 posts

Uber Geek


#252763 10-Jul-2019 15:46
Send private message

So I just added a new NVMe card to my motherboard.  Previously there was none - just a blank slot.

 

Booted the box up again and it wouldn't start the interface.  Eventually found the interface name had changed from enp6s0 to enp7s0

 

Why would that be?

 

My guess is that effectively the network card shifted PCIe ports (from 6 to 7) - is that correct?  And I'd then assume that's from adding a new PCIe device in the NVMe.

 

Its an Ubuntu Server 18.04.2 running KVM so that interface is mapped to a bridge interface (br0...and its this that didnt start cause it was pointing to a now non-existent interface).

 

Not a biggie as Ive sorted the mapping. Just curious.


Create new topic
wratterus
1687 posts

Uber Geek


  #2274105 10-Jul-2019 15:50
Send private message

Would say that's exactly what's happened. 




fe31nz
1232 posts

Uber Geek


  #2274379 11-Jul-2019 00:06
Send private message

I have to chuckle when I see something like this - that change of name is exactly what the new naming system was supposed to prevent.  But it doesn't!  Unless you have an NVMe card installed, the kernel enumeration skips over the NVMe PCIe lanes and does not leave room for one to be added later.

 

I personally prefer to have the old (short) ethX names, so I just put a line in my Ubuntu /etc/udev/rules.d/70-persistent-net.rules file for each Ethernet interface:

 

# Asus P5K-E motherboard
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:1f:c6:24:64:ce", NAME="eth0"

 

# Intel Pro/1000 MT Desktop Ethernet adapter (PCI)
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:07:e9:11:c5:95", NAME="eth1"

 

All you need is the MAC address to put in the "address" attribute, and that can be found in the ifconfig output.

 

 


nzkc

1572 posts

Uber Geek


  #2274415 11-Jul-2019 08:18
Send private message

fe31nz:

I have to chuckle when I see something like this - that change of name is exactly what the new naming system was supposed to prevent.  But it doesn't!  Unless you have an NVMe card installed, the kernel enumeration skips over the NVMe PCIe lanes and does not leave room for one to be added later.




Yeah that's what I thought too (re predictable names). Seems like a great idea with a bit of a flaw!

Certainly wasn't expecting my interface name to change adding a seemingly unrelated component 😀

Add it to the "today I learned" list

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.