Article 6NCJT Raise network interfaces failed - kubuntu 20.04

Raise network interfaces failed - kubuntu 20.04

by
Micik
from LinuxQuestions.org on (#6NCJT)
Hello to all,

I have kubuntu (KDE plasma desktop) 20.04 PC and I noticed that during the boot there is an error message "Failed to start Raise network interfaces"
I have two LAN ports on the PC and wired connections are named enp2s0 and enp3s0. Both LAN interfaces are set to static IPs and it needs to be like that.
Just as a test, I tried to set up both interfaces to dhcp (in the conf file: /etc/network/interfaces), but in that case boot is very long and the default timeout is 5 mins.
In case of static IPs boot is fast, but there is this error message. I need to say that I didn't notice any real problem with it, since I can ping both interfaces from another machines in corresponding subnets.
Anyway, I'd like to at least understand the problem and to fix it.
Attached you can find corresponding files and screenshots I hope would help you to help me.

The most interesting parts from the collected data is this:
Code:june 08 07:42:26 europ-Micik systemd[1]: Starting Raise network interfaces...
june 08 07:42:26 europ-Micik ifup[1149]: RTNETLINK answers: File exists
june 08 07:42:26 europ-Micik ifup[1104]: ifup: failed to bring up enp2s0and from the interface file:
Code:auto enp2s0
#iface enp2s0 inet dhcp

iface enp2s0 inet static
address 192.168.240.58
netmask 255.255.255.0
broadcast 192.168.239.255
gateway 192.168.0.1Only thing strange to me is this broadcast address, but I doubt this is a problem, since the problem is present if enp2s0 is set to dhcp, while all other static entries are commented out.

One more interesting thing is that I cannot find where these wired connections in network GUI are actually associated with enp2s0 and enp3s0, it seems to me that maybe these can be removed, but I didn't touch them, because like I said, everything seems to work.

I hope you'll be able to help me.
Thanks!
Attached Thumbnailsattachment.php?attachmentid=43011&stc=1&Attached Files
txt.gifuseful_data.txt (1.5 KB)
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments