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

 

 

 

Error message at POST: Failed to start network interface

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
CapeGold
Posts: 3
Joined: 2021-06-30 23:25
Location: Ferrara, Italy
Has thanked: 3 times

Error message at POST: Failed to start network interface

#1 Post by CapeGold »

Hi to all and everybody.

One of my 3 PC,cs, all running OS Debian 11.3.0 at POST shows the following error message:,

[FAILED] Failed to start Raise network interface,
See ‘systemctl status networking service for details.



I did it getting the following output:

sergio@muletto:~$ systemctl status networking.service
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2022-06-13 09:04:25 CEST; 5min ago
Docs: man:interfaces(5)
Process: 510 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Main PID: 510 (code=exited, status=1/FAILURE)
CPU: 147ms


Warning: some journal files were not opened due to insufficient permissions.
sergio@muletto:~$

The file /lib/systemd/system/networking.service content is:

sergio@muletto:/lib/systemd/system$ cat networking.service
[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
sergio@muletto:/lib/systemd/system$


The sense of the error message should be ‘the system failed in switching the network interface up’. Assuming this, how is it possible that the POST after a few seconds pause goes on until its end, the computer starts and works fine, with no communication problem with the other machines of my LAN and goes on the Internet without any problem?

I tried virtually all, from RTFM to trying different network interface cards and trying different network configurations, without any success.

The PC is a GIGABYTE desktop with Intel Core2 Duo E-4500 processor, 4 GB di RAM, somehow vintage indeed, but perfectly efficient. All the PCs of my LAN have static IPv4 addresses.

I thank a lot in advance anybody out there who will help me in fixing this issue.

Ferrara, Italy 06/25/2022

:D
In taberna quando sumus nemo noscit quod sit humus,
ibi nullus timet mortem, sed pro Baccho mittunt sortem,
qui nos rodunt confundantur et cum justis non scribantur.
:D

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

Re: Error message at POST: Failed to start network interface

#2 Post by p.H »

That kind of message is displayed at init time, not POST (Power On Self Test). POST is performed by the BIOS/UEFI, not Debian.
Check interface definitions in /etc/network/interfaces and /etc/network/interfaces.d/* and compare with the interface list shown by "ip link".

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2062
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 221 times

Re: Error message at POST: Failed to start network interface

#3 Post by FreewheelinFrank »

See also

viewtopic.php?t=149596

I had the same issue (I think) and suspected the Debian Live Non-Free installation media.

https://dontsurfinthenude.blogspot.com/ ... start.html

User avatar
CapeGold
Posts: 3
Joined: 2021-06-30 23:25
Location: Ferrara, Italy
Has thanked: 3 times

Re: Error message at POST: Failed to start network interface

#4 Post by CapeGold »

To p.H and FreeweelinFrank

I moved /etc/network/interfaces.d/setup away, restarted the pc and all works fine now.

The pc that showed this error is a vintage GIGABYTE desktop, as I wrote in my first post, and it's not UEFI compatible,
therefore I installed Debian 11 through UNetbootin 702, being aware that it could create problems, as it actually did.

I thank you a lot for helping me buddies ;)
In taberna quando sumus nemo noscit quod sit humus,
ibi nullus timet mortem, sed pro Baccho mittunt sortem,
qui nos rodunt confundantur et cum justis non scribantur.
:D

Shamak
Posts: 147
Joined: 2018-04-14 00:33
Has thanked: 11 times
Been thanked: 8 times

Re: Error message at POST: Failed to start network interface

#5 Post by Shamak »

FreewheelinFrank wrote: 2022-06-25 10:41 See also

viewtopic.php?t=149596

I had the same issue (I think) and suspected the Debian Live Non-Free installation media.

https://dontsurfinthenude.blogspot.com/ ... start.html
I used to get this message after installing using the regular (free?) live installation media a few years ago. And got it again just last week after installing the live image. I didn't stay with it as I figured out a way to use the network installer instead but I seem to recall the issue was with /etc/network/interfaces. Something was commented that should not have been commented or something was not commented that should have been commented if I recall correctly.

Post Reply