* Home :: Get a random password :: Get a multi-word password :: What is my IP? (v4 | v6)
* My projects

How to rescan for PCI devices in Linux

Tags: howto,linux

Date: 20220902


In a previous post I've written about rescaning for disks, but sometimes we need to enable new PCI devices, especially when hot-adding NICs to a (virtual) machine.

In most cases udev or similar will take care of this automatically, but not in all circumstances.
Here's how to quickly do it manually:

echo 1 >/sys/bus/pci/rescan


Now run ifconfig -a or ip again.

That's it, have a nice one!
(c)The Nux(tm) ;-)

No CSS, no Javascript, no some HTML.
No ads, no tracking, no cookies.