Jump to content

Unable to add second NIC to my unraid box


Recommended Posts

Posted

Hi,

 

I've been looking at this puzzle for sometime and and have yet to come up with the solution.

 

I added a 2 port Intel card to my faithful HP ProLiant N36L to complement/replacement for the onboard (NetXtreme) but have not been able to see it detected in ifconfig nor on the Settings>Network settings.

 

I have seen posts where advice was given to delete the config/network.cfg and restart, but that has not helped.

also attempted to update the update SYSNICS to "3" in network.cfg 

 

I can see it listed in the syslog and lspci but unsure where the gap lies.

 

Sep 30 01:01:50 MediaUnit kernel: e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
Sep 30 01:01:50 MediaUnit kernel: e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
 

root@MediaUnit:~# lspci -vv | grep Ethernet
02:00.0 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) (rev 06)
02:00.1 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) (rev 06)
03:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5723 Gigabit Ethernet PCIe (rev 10)

 

Help is greatly appreciated.

 

mediaunit-diagnostics-20200624-0037.zip

Posted (edited)

The cards are loading fine in the kernel according to your "lsmod" output. --> e1000e. Do you se anything in the GUI? 

 

You should have 3 entries in your /boot/config/network-rules.cfg

 

Something like this but I have 4 interfaces so this is just an example:

 

 

root@NAS-UNRAID:~# cat /boot/config/network-rules.cfg

# PCI device 0x8086:0x1f41 (igb)

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="3c:ec:ef:12:46:74", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

 

# PCI device 0x8086:0x1f41 (igb)

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="3c:ec:ef:12:46:75", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

 

# PCI device 0x8086:0x1f41 (igb)

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="3c:ec:ef:12:46:76", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

 

# PCI device 0x8086:0x1f41 (igb)

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="3c:ec:ef:12:46:77", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"

 

 

DELETE both files and reboot:

Make a backup just in case as well :) 

 

/boot/config/network.cfg

/boot/config/network-rules.cfg

 

 

Edited by johnwhicker
Posted

Thanks for picking this up.

 

The GUI shows a single interface (pls see attached screenshot).

 

Worryingly I dont have a network-rules.cfg file in the /boot/config/ folder. Perhaps its something I did whilst performing the Unraid OS upgrades via the old approach some years back (v4>v5>v6). I don't  however see it in the config folder of a fresh download of the Unraid of the OS.

 

I've noticed that the network.cfg file is not recreated upon restart but only when i save the settings from the GUI.

Though still without the new NIC appearing :( .

 

 

Gui-NetworkSettings.PNG

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...