Thanks So I have a quadport Intel gigabite NIC (dual 82571EB).
To get the device IDs, I used:
lspci - -vvv | grep Etheet
all the 4 devices were identified as 8086:10bc. I want to change 10bc to 105e for all 4 devices.
ifconfig shows all 4 devices as:
enp3s0f0 enp3s0f1 enp4s0f0 enp4s0f1
To find the correct offset, I used this command:
# ethtool -e my-interface-here | grep 86
0x0010 87 d9 05 71 2f 24 4b 70 3c 10 bc 10 86 80 65 b3
Ruing the command above for all 4 interfaces gave me the same result.
I made a backup of the EEPROM for all interfaces using:
ethtool -e my-interface-here raw on > my-interface-here.bin
To actually make the change, I used this command:
ethtool -E enp3s0f0 magic 0x10bc8086 offset 0x001a value 0x001a value 0x5e
Observations/issues:
After ruing the ethtool -E command above, it somehow changed the value (using ethtool -e to check) for *both** enp3s0f0 and enp3s0f1
I tried the ethtool -E command but for enp3s0f1 and it gave me an error. says "EEPROM bad address" or something along those lines.
Basically same as points 1 and 2 but substituting enp4 for all mentions of enp3.
After rebooting machine, I ran lspci - -vvv | grep Etheet and it shows only 2 device IDs have changed.
I moved the network cable to all 4 ports and I can browse the inteet without any problems. This happened after point 4.
Any suggestions on how to change all device IDs to 105e? thanks
برچسب:
نویسنده: استخدام کار