3
1
I installed a new Mainboard (and CPU and RAM) (ASRock H97 Pro4, with Intel Gigabit Ethernet on-board), and am trying to get my existing LMDE (Linux Mint Debian Edition) to work with it. So far so good, but no internet.
The internet is managed with commandline, using pon dsl-provider
. This now shows
Plugin rp-pppoe.so loaded.
/usr/sbin/pppd: In file /etc/ppp/peers/dsl-provider: unrecognized option 'eth1'
sudo pppoeconf
shows "Sorry, no working ethernet card could be found."
/sbin/ifconfig
shows there is no eth0 or eth1 whatsoever. The only entry there is the lo
(Loopback).
There are some other articles that suggest that eth0 or eth1 might just have been renamed to something else, e.g. to enp0s10
. But then the renamed thing would show up in ifconfig, which it does not.
I also tried sudo service networking stop
(works) and sudo service networking start
. The second command gives:
[....] Configuring network interfaces...eth1: ERROR while getting interface flags: No such device
Failed to bring up dsl-provider.
done.
And still only lo
in ifconfig.
ip addr show eth0
(and with eth1 likewise) shows:
dig: couldn't get address for 'resolver1.opendns.com': not found
lspci -v
shows:
[..]
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2) I218-V
Subsystem: ASRock Incorporation Device 15a1
Flags bus master, fast devsel, latency 0, IRQ 5
Memory at f7200000 (32-bit, non-prefetchable) [size=128K]
Memory at f7238000 (32-bit, non-prefetchable) [size=4K]
I/O ports at f040 [size=32]
Capabilities: <access denied>
[..]
EDIT I:
Funny, I thought I already wrote something about the /etc/udev/rules.d/70-persistent-net.rules
file. Maybe I deleted it while writing the post.
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
# PCI device 0x8086:0x100e (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:52:fe:13", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x10ec:/sys/devices/pci0000:00/0000:00:1c.5/0000:04:00.0 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1f:d0:91:e1:68", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device 0x1814:/sys/devices/pci0000:00/0000:00:1e.0/0000:05:01.0 (rt61pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:21:29:66:32:7a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
# USB device 0x:0x (r8712u)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:14:5c:8b:db:40", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"
I suppose the two lines related to ethernet are both from the old board. So if I remove them, nothing is left.
Also, the file says it will be regenerated with /lib/udev/write_net_rules
. According to other articles on the web, this can happen either manually or automatically on reboot if the file is removed/renamed/missing. In my case, however, nothing is regenerated on reboot. Running /lib/udev/write_net_rules
manually first shows "missing $INTERFACE". When following these instructions, the ip addr show $INTERFACE
is where it fails. This is why I posted ip addr show eth0
above. Doing it in a different way (don't remember) showed that the output file is locked (and I don't think it was about file write permissions).
EDIT II:
I installed an additional PCI ethernet card to see if this works. At first this added a line in lspci, but nothing new in ifconfig. Now after more reboots and installing an additional HD (side effect?), I get an eth2
in ifconfig. I don't know if this is the PCI card or the onboard card.
sudo pppoeconf
does pick up the eth2, but then fails to configure an internet connection with it, saying "the Access Concentrator of your provider did not respond."
Anyway, I should probably try to rename it back to eth0 / eth1 instead of eth2. Working on it.
Have you tried booting any other distros from a live CD (or USB)? If the ethernet is working in another Linux distro you could try to replicate the setup or install that other distro. – kqw – 2014-12-28T17:35:37.583
@KasperSouren: This is something to try next. Unfortunately my DVD is not working since the new board. It is connected and somewhat half-recognized, but no boot DVD works, and Linux can't read any DVD either. Different problem / can of worms, I guess, not to be discussed here. – donquixote – 2014-12-28T19:48:08.093