LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Modprobe to add drivers for network card ?? (https://www.linuxquestions.org/questions/linux-networking-3/modprobe-to-add-drivers-for-network-card-4175611924/)

lobsang 08-14-2017 05:31 AM

Modprobe to add drivers for network card ??
 
The server has two network cards. The driver for the first card is the module 8139too and the driver for the second card is the module ne2k-pci. How is it possible to ensure that the card using the 8139too driver is detected before the card using the ne2k-pci driver?

Quote:

modprobe 8139too dev=eth0; modprobe ne2k-pci dev=eth1
i just wish to ask do i need to mention the network card (using DEV=eth0) with each modprob to which the module is being added or it does it automatically . i mean first modprobe command to first network card etho and so ..

smallpond 08-14-2017 06:24 AM

Most distros use udev rules for setting names. Check for /etc/udev/rules.d/70-persistent-net.rules.

lobsang 08-15-2017 01:45 AM

so i came to lear that we shouldn't need to mention dev part in mod probe.


All times are GMT -5. The time now is 06:33 PM.