Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I get this RTL board to work, at any boot a failure message is shown
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
$ sudo journalctl -xe
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit networking.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Oct 01 22:13:52 G42 systemd[1]: networking.service: Failed with result 'exit-cod
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit networking.service has entered the 'failed' state with result 'exit-
Oct 01 22:13:52 G42 systemd[1]: Failed to start Raise network interfaces.
-- Subject: A start job for unit networking.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
$ sudo systemctl status networking.service
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor prese
Active: failed (Result: exit-code) since Tue 2019-10-01 22:17:42 -03; 29s ago
Docs: man:interfaces(5)
Process: 1904 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=
Main PID: 1904 (code=exited, status=1/FAILURE)
Oct 01 22:17:42 G42 systemd[1]: Starting Raise network interfaces...
Oct 01 22:17:42 G42 ifup[1904]: Cannot find device "eth0"
Oct 01 22:17:42 G42 ifup[1904]: ifup: failed to bring up eth0
Oct 01 22:17:42 G42 systemd[1]: networking.service: Main process exited, code=ex
Oct 01 22:17:42 G42 systemd[1]: networking.service: Failed with result 'exit-cod
Oct 01 22:17:42 G42 systemd[1]: Failed to start Raise network interfaces.
This box was working with Ubuntu and Mint, should be the network manager the trouble maker?
Last edited by Beerforfree; 10-10-2019 at 08:28 PM.
Reason: issue solved
I've added non-free and contributor to the repositories after installation
I tried a realtek package called firmware-realtek which didn't help; this firmware-linux-nonfree package didn't help as well
WiFi is a different board that works properly, the problem lies on ethernet
I've moved a 2nd notebook to debian and unfortunately has the same RTL board
Probably I should look how did Mint to solve this issue
I had a look to Mint box using the same ethernet board, drivers are the same, as well as packages containing them, the only difference is the kernel. Now I'm stuck
It seems there is no solution for this bug, I tried several packages from different repositories, even the drivers supplied by realtek
If the other debian ditros like Mint, Ubuntu and MX did solve this I assume it's a kernel issue
For some unknown reason, at least for me, the installation image doesn't see the right device name which is enp3s0 instead of eth0
Oct 01 22:17:42 G42 systemd[1]: Starting Raise network interfaces...
Oct 01 22:17:42 G42 ifup[1904]: Cannot find device "eth0"
Oct 01 22:17:42 G42 ifup[1904]: ifup: failed to bring up eth0
So the solution is to rename the device to its right name in the configuration file, it took me a long while to discover it. I've still not finished reading The Debian Administrator handbook.
At /etc/network/interfaces.d/setup replace eth0 by enp3s0
auto enp3s0
iface enp3s0 inet dhcp
find out your ethernet device with the command ifconfig or ip link
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.