[nSLUG] network not starting on boot of Arietta G25 running Debian Buster

Bill Morrow morrowwm at gmail.com
Sat Jul 31 11:59:15 ADT 2021


Hi all,
At the Halifax Makerspace, we recently got a donation of 500(!) or so
surplus Acme Systems Arietta G25 single board computers. I have been
working on getting Debian Buster running on one. My linux config skills are
rusty, especially for systemd-based systems.

I built Debian Buster using the manufacturer's suggestion:
https://www.acmesystems.it/roadrunner_debos except for this board, the
Arietta. The only change I did to the built image was to add my LAN
information in /boot/wpa_supplicant.conf

The machine is mostly working, except networking is not coming up properly.
This little machine does not have the ability to run a GUI network
configuration like Network manager or whatever Debian prefers these days.

I have attached the entire boot log as a file, but the errors/interesting
bits I see are:

[  OK  ] Started udev Kernel Device Manager.
rt2800usb 1-2:1.0 wlx70f11c29885c: *renamed from wlan0*
[  OK  ] Found device /dev/ttyS0.
...
[FAILED] Failed to start WPA supplicant.
See 'systemctl status wpa_supplicant.service' for details.
[  OK  ] Started getty on tty2-tty6… and logind are not available.
ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file
'rt2870.bin'
ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected -
version: 0.36
IPv6: ADDRCONF(NETDEV_UP): wlx70f11c29885c: link is not ready
wlx70f11c29885c: authenticate with 74:83:c2:94:83:81
wlx70f11c29885c: send auth to 74:83:c2:94:83:81 (try 1/3)
wlx70f11c29885c: authenticated
wlx70f11c29885c: associate with 74:83:c2:94:83:81 (try 1/3)
wlx70f11c29885c: RX AssocResp from 74:83:c2:94:83:81 (capab=0x31 status=0
aid=12)
wlx70f11c29885c: associated
IPv6: ADDRCONF(NETDEV_CHANGE): wlx70f11c29885c: link becomes ready
[    **] A start job is running for Raise network interfaces (23s / 5min
11s)
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
[  OK  ] Reached target Network.

Further information:
root at arietta:/home/acme# systemctl status wpa_supplicant.service
● wpa_supplicant.service - WPA supplicant
   Loaded: loaded (/lib/systemd/system/wpa_supplicant.service; enabled;
vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2021-07-31 13:52:48 UTC;
49min ago
  Process: 1137 ExecStart=/sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
(code=exited, status=255/EXCEPTION)
 Main PID: 1137 (code=exited, status=255/EXCEPTION)

Jul 31 13:52:47 arietta systemd[1]: Starting WPA supplicant...
Jul 31 13:52:48 arietta wpa_supplicant[1137]: *dbus: Could not acquire the
system bus*: org.freedesktop.DBus.Error.FileNotFou
Jul 31 13:52:48 arietta wpa_supplicant[1137]: Failed to initialize
wpa_supplicant
Jul 31 13:52:48 arietta systemd[1]: wpa_supplicant.service: Main process
exited, code=exited, status=255/EXCEPTION
Jul 31 13:52:48 arietta systemd[1]: wpa_supplicant.service: Failed with
result 'exit-code'.
Jul 31 13:52:48 arietta systemd[1]: Failed to start WPA supplicant.

and:
root at arietta:~# 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 Sat 2021-07-31 14:13:10 UTC;
31min ago
     Docs: man:interfaces(5)
  Process: 1077 ExecStart=/sbin/ifup -a --read-environment (code=exited,
status=1/FAILURE)
 Main PID: 1077 (code=exited, status=1/FAILURE)

Jul 31 13:52:53 arietta ifup[1077]: udhcpc: sending discover
Jul 31 13:52:54 arietta ifup[1077]: udhcpc: sending select for 192.168.0.130
Jul 31 13:52:57 arietta ifup[1077]: udhcpc: sending select for 192.168.0.130
Jul 31 13:52:57 arietta ifup[1077]: udhcpc: lease of 192.168.0.130
obtained, lease time 86400
Jul 31 14:13:09 arietta systemd[1]: networking.service: Main process
exited, code=exited, status=1/FAILURE
Jul 31 14:13:09 arietta wpa_supplicant[1154]: wlx70f11c29885c:
CTRL-EVENT-DISCONNECTED bssid=74:83:c2:94:83:81 reason=3 loc
Jul 31 14:13:09 arietta wpa_supplicant[1154]: nl80211: deinit
ifname=wlx70f11c29885c disabled_11b_rates=0
Jul 31 14:13:10 arietta wpa_supplicant[1154]: wlx70f11c29885c:
CTRL-EVENT-TERMINATING
Jul 31 14:13:10 arietta systemd[1]: networking.service: Failed with result
'exit-code'.
Jul 31 14:13:10 arietta systemd[1]: Failed to start Raise network
interfaces.

I added /etc/network/interfaces.d/wlx70f11c29885c, with ssid and passkey
specified directly there, and now
ifdown wlx70f11c29885c
ifup wlx70f11c29885c
gets a DHCP lease and it's on my LAN.

P.S. If anyone is interested in one or more of these, check the description
in
https://groups.google.com/g/halifaxmakerspace/c/UDsFzpWLWMw/m/4-Vhdr9ZAwAJ



More information about the nSLUG mailing list