[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New motherboard, no network



On 14/03/17 15:33, Greg Wooledge wrote:
On Tue, Mar 14, 2017 at 04:12:15PM +0100, Hans wrote:
Hi Tony,
# PCI device 0x10ec:0x8169 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="6c:fd:b9:00:6f:76", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="bc:ae:c5:29:77:d8", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

You have twice the same entry, but one is pointing to eth0 and the second one
is naming the same as eth1. I suppose, one of it is the card from the old pc.

No, they're different.  The PCI ID comments are different (one ends
with 8169 and the other with 8168), the MAC addresses are different,
and the eth0/eth1 names are different.

What happens, if you delete the orphaned entry manually?

You can delte it, and rename the last entry to "eth0" (if this is our primary
card). I am sure, you will know, hich MAC is the active one.

I have doubts about that being a good idea.

I'm more concerned with the fact that apparently some command or other
(I don't remember if he told us what commands he ran) only showed eth0
and not eth1.

Original poster, please include the actual shell commands that you
run along with their output.  You should be running commands such as:

ifconfig -a
ip addr list
dmesg | grep eth

(Although for dmesg, we may need to see some context around the matching
lines, even just showing the grep output would be a good start.)



OK, thanks all for your help. It set me on the path to fixing the problem. I ended up deleting all the rules in udev/rules.d/70-persistent-net.rules, and rebooting. Both interfaces came up as desired, so I'm back on-line. (I actually tried systemctlrestart networking.service before I rebooted, but that had no effect - wierd)

So, thanks again for the input.

--
Tony van der Hoff        | mailto:tony@vanderhoff.org
Buckinghamshire, England |


Reply to: