[BeagleBone Black] Failed to start Raise network interfaces

Hi
When BBB is booted, it show the message as blow

[FAILED] Failed to start Raise network interfaces.

What does that message means?
Is it related to the Ethernet port?

Please, let me know what the message means and how to fix it.

Regards

Hi @taek8461, from the current log we can’t really determine anything. Please run the command systemd recommended directly below the error for more information.

sudo systemctl status networking.service

Regards,

Hi
When the command, ‘sudo systemctl status networking.service’ was run,
the message is as below

The following is the message when ‘sudo ifconfig’ was run.
image

[FAILED] Failed to start Raise network interfaces.
Please let me know what the above message means and how to resolve it.

Regards

Hi @taek8461, it means networking failed on initial startup, then eventually ifup/dhclient was able to get a connection setup.

I’m guessing you configured eth0 in /etc/network/interfaces ?

Personally I leave /etc/network/interfaces empty and just let connman configure eth0 on startup.

debian@bbb-pwr02-ser10:~$ journalctl | grep connman | grep eth0
May 27 15:45:01 bbb-pwr02-ser10 connmand[829]: eth0 {create} index 4 type 1 <ETHER>
May 27 15:45:01 bbb-pwr02-ser10 connmand[829]: eth0 {update} flags 4098 <DOWN>
May 27 15:45:01 bbb-pwr02-ser10 connmand[829]: eth0 {newlink} index 4 address 90:59:AF:5B:5F:00 mtu 1500
May 27 15:45:01 bbb-pwr02-ser10 connmand[829]: eth0 {newlink} index 4 operstate 2 <DOWN>
May 27 15:45:02 bbb-pwr02-ser10 connmand[829]: Adding interface eth0 [ ethernet ]
May 27 15:45:02 bbb-pwr02-ser10 connmand[829]: eth0 {update} flags 36931 <UP,RUNNING>
May 27 15:45:02 bbb-pwr02-ser10 connmand[829]: eth0 {newlink} index 4 address 90:59:AF:5B:5F:00 mtu 1500
May 27 15:45:02 bbb-pwr02-ser10 connmand[829]: eth0 {newlink} index 4 operstate 0 <UNKNOWN>
May 27 15:45:02 bbb-pwr02-ser10 connmand[829]: eth0 {update} flags 36867 <UP>
May 27 15:45:02 bbb-pwr02-ser10 connmand[829]: eth0 {newlink} index 4 address 90:59:AF:5B:5F:00 mtu 1500
May 27 15:45:02 bbb-pwr02-ser10 connmand[829]: eth0 {newlink} index 4 operstate 2 <DOWN>
May 27 15:45:05 bbb-pwr02-ser10 connmand[829]: eth0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
May 27 15:45:05 bbb-pwr02-ser10 connmand[829]: eth0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
May 27 15:45:05 bbb-pwr02-ser10 connmand[829]: eth0 {newlink} index 4 address 90:59:AF:5B:5F:00 mtu 1500
May 27 15:45:05 bbb-pwr02-ser10 connmand[829]: eth0 {newlink} index 4 operstate 6 <UP>
May 27 15:45:05 bbb-pwr02-ser10 connmand[829]: eth0 {add} address 192.168.2.155/22 label eth0 family 2
May 27 15:45:05 bbb-pwr02-ser10 connmand[829]: eth0 {add} route 192.168.0.0 gw 0.0.0.0 scope 253 <LINK>
May 27 15:45:05 bbb-pwr02-ser10 connmand[829]: eth0 {add} route 192.168.1.1 gw 0.0.0.0 scope 253 <LINK>
May 27 15:45:05 bbb-pwr02-ser10 connmand[829]: eth0 {add} route 8.8.8.8 gw 192.168.1.1 scope 0 <UNIVERSE>
May 27 15:45:05 bbb-pwr02-ser10 connmand[829]: eth0 {add} route 0.0.0.0 gw 192.168.1.1 scope 0 <UNIVERSE>
May 27 15:45:05 bbb-pwr02-ser10 connmand[829]: eth0 {add} route 212.227.81.55 gw 192.168.1.1 scope 0 <UNIVERSE>
May 27 15:45:05 bbb-pwr02-ser10 connmand[829]: eth0 {del} route 212.227.81.55 gw 192.168.1.1 scope 0 <UNIVERSE>
debian@bbb-pwr02-ser10:~$ cat /etc/network/interfaces | grep -v '#' | grep eth
debian@bbb-pwr02-ser10:~$ 
debian@bbb-pwr02-ser10:~$ sudo ifconfig -a eth0
eth0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC>  mtu 1500
        inet 192.168.2.155  netmask 255.255.252.0  broadcast 192.168.3.255
        inet6 fe80::9259:afff:fe5b:5f00  prefixlen 64  scopeid 0x20<link>
        ether 90:59:af:5b:5f:00  txqueuelen 1000  (Ethernet)
        RX packets 89183  bytes 13363975 (12.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 33863  bytes 8859399 (8.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 55  

Regards,

Hi
Thank you for your help.
I resolved it.
I deleted the content related to eth0 in /etc/network/interfaces
and then when I rebooted the BBB, the message didnot appear

But when I did that, I had another question.

Below is the message before changing /etc/network/interfaces

Below is the message after changed /etc/network/interfaces
image

Why are the message gone? ( [OK]… )

Regards.

Those message are now gone, as you removed eth0 from /etc/network/interfaces without replacing it with ‘something’… Re-add it, then install connman, then re-remove it…

sudo apt update
sudo apt install connman

Regards,