How to scan New network card or any other devices in linux

22,829

If the card isn't detected and configured instantly when you hotplug it, then run udevadm trigger as root.

Share:
22,829

Related videos on Youtube

Amit Biyani
Author by

Amit Biyani

Updated on September 18, 2022

Comments

  • Amit Biyani
    Amit Biyani almost 2 years

    I am trying to add a New Network card into Machine which has Linux installed. But my problem is, I cannot reboot the Linux host to detect the new network card, is there any workaround for this? I know, linux supports adding new disk without reboot by scanning scsi bus. Any idea, How to scan New network card?

    Kernel Version = 2.6.18-308.el5

    • Kassandry
      Kassandry almost 9 years
      Have you tried as root echo 1 >/sys/bus/pci/rescan after making sure all the hotplug modules or kernel config directives are enabled?
  • Amit Biyani
    Amit Biyani over 11 years
    Not worked!!!! no messages in dmesg logs regarding the same
  • Michael Hampton
    Michael Hampton over 11 years
    In that case, you can reboot.
  • Amit Biyani
    Amit Biyani over 11 years
    I know reboot will solve my problem, but somehow i would like to know to hotplug a device in linux.