Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Failed to start raise network interfaces

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Sartun25
Posts: 1
Joined: 2020-10-16 20:32

Failed to start raise network interfaces

#1 Post by Sartun25 »

Hello,

I know that already exists a few questions about this error, but none of the fit very well with my problem.

when I start Debian (buster with gnome) I get an error message saying the following:

Code: Select all

[Failed] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
I already tried the following lines as suggested on the other questions

Code: Select all

systemctl cat networking.service
and

Code: Select all

# journalctl -u networking.service --no-pager
and It retrives, respectively, to me the following:

Code: Select all

[Unit]
Description=Raise network interfaces
Documentation=man:interfaces(5)
DefaultDependencies=no
Requires=ifupdown-pre.service
Wants=network.target
After=local-fs.target network-pre.target apparmor.service systemd-sysctl.service systemd-modules-load.service ifupdown-pre.service
Before=network.target shutdown.target network-online.target
Conflicts=shutdown.target

[Install]
WantedBy=multi-user.target
WantedBy=network-online.target

[Service]
Type=oneshot
EnvironmentFile=-/etc/default/networking
ExecStart=/sbin/ifup -a --read-environment
ExecStop=/sbin/ifdown -a --read-environment --exclude=lo
RemainAfterExit=true
TimeoutStartSec=5min
and

Code: Select all

-- Logs begin at Fri 2020-10-16 17:46:01 -03, end at Fri 2020-10-16 18:14:32 -03. --
out 16 17:46:12 debian systemd[1]: Starting Raise network interfaces...
out 16 17:46:14 debian dhclient[653]: Internet Systems Consortium DHCP Client 4.4.1
out 16 17:46:14 debian ifup[561]: Internet Systems Consortium DHCP Client 4.4.1
out 16 17:46:14 debian ifup[561]: Copyright 2004-2018 Internet Systems Consortium.
out 16 17:46:14 debian ifup[561]: All rights reserved.
out 16 17:46:14 debian ifup[561]: For info, please visit https://www.isc.org/software/dhcp/
out 16 17:46:14 debian dhclient[653]: Copyright 2004-2018 Internet Systems Consortium.
out 16 17:46:14 debian dhclient[653]: All rights reserved.
out 16 17:46:14 debian dhclient[653]: For info, please visit https://www.isc.org/software/dhcp/
out 16 17:46:14 debian dhclient[653]: 
out 16 17:46:15 debian ifup[561]: Cannot find device "eth0"
out 16 17:46:15 debian dhclient[653]: Failed to get interface index: No such device
out 16 17:46:15 debian ifup[561]: Failed to get interface index: No such device
out 16 17:46:15 debian ifup[561]: If you think you have received this message due to a bug rather
out 16 17:46:15 debian ifup[561]: than a configuration issue please read the section on submitting
out 16 17:46:15 debian ifup[561]: bugs on either our web page at www.isc.org or in the README file
out 16 17:46:15 debian ifup[561]: before submitting a bug.  These pages explain the proper
out 16 17:46:15 debian ifup[561]: process and the information we find helpful for debugging.
out 16 17:46:15 debian ifup[561]: exiting.
out 16 17:46:15 debian dhclient[653]: 
out 16 17:46:15 debian dhclient[653]: If you think you have received this message due to a bug rather
out 16 17:46:15 debian dhclient[653]: than a configuration issue please read the section on submitting
out 16 17:46:15 debian dhclient[653]: bugs on either our web page at www.isc.org or in the README file
out 16 17:46:15 debian dhclient[653]: before submitting a bug.  These pages explain the proper
out 16 17:46:15 debian dhclient[653]: process and the information we find helpful for debugging.
out 16 17:46:15 debian dhclient[653]: 
out 16 17:46:15 debian dhclient[653]: exiting.
out 16 17:46:15 debian ifup[561]: ifup: failed to bring up eth0
out 16 17:46:15 debian systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
out 16 17:46:15 debian systemd[1]: networking.service: Failed with result 'exit-code'.
out 16 17:46:15 debian systemd[1]: Failed to start Raise network interfaces.
But read all of it, but as a begginer I couldn't understand what's wrong but the network had been configured automatically with DHCP during the installation. I am still able to connect to the internet, also if I sometimes have to reboot, because I get the massage that the connection had been deactivated. The system is newly installed and the problem existed from beginning.

Thank you for your help!
Sartun25

PS: I just copy some parts from an older question because I don't know English very well

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Failed to start raise network interfaces

#2 Post by Head_on_a_Stick »

Sartun25 wrote:

Code: Select all

out 16 17:46:15 debian ifup[561]: Cannot find device "eth0"
Looks like /etc/network/interfaces lists the wrong name for your ethernet interface. Use this to find the actual name of the interface:

Code: Select all

ip link
See also https://www.freedesktop.org/wiki/Softwa ... faceNames/
Sartun25 wrote:I am still able to connect to the internet
If you are still connected after networking.service fails then you must be using NetworkManager. In that case either delete (or comment out) the eth0 lines in /etc/network/interfaces or correct the interface name in that file. If you correct the name in /etc/network/interfaces then NetworkManager will stop attempting to configure it so you could then remove NetworkManager if you don't need it for anything else.
deadbang

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Failed to start raise network interfaces

#3 Post by p.H »

Also check existing files in /etc/network/interfaces.d/. I have seen several posts stating that there was a bogus "setup" file containing a stanza for eth0 after installation. Just remove that file.

Post Reply