BBB starting servers/services

Hi Robert,

I loaded BeagleBoard.org Debian Image 2019-07-07 (Buster) version into our production board. The very first time after the board is flashed, it starts servers and services… ( as shown below screen dump)

But, after the first time, it doesn’t start servers and services anymore. Is the status registered some where? But the BBBw starts these jobs, servers, and services everytime. Is it more related to hardware initialization?

Thank you,

David

Hi Robert,

It’s working after I updated some deb packages.
Thank you,
David

Hi @dzhou

On first boot-up with a factory image, the it can take anywhere from 1 to 2 minutes to generate brand new key’s for openssh-server and a machine id:

This push’s the OpenBSD Secure Shell startup message and everything else to show up way late in the serial boot log.

debian@bbb-pwr01-ser09:~$ journalctl | grep OpenBSD
Sep 10 18:07:14 bbb-pwr01-ser09 systemd[1]: Starting OpenBSD Secure Shell server...
Sep 10 18:07:16 bbb-pwr01-ser09 systemd[1]: Started OpenBSD Secure Shell server.
debian@bbb-pwr01-ser09:~$ systemctl status ssh.service 
● ssh.service - OpenBSD Secure Shell server
   Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2020-09-10 18:07:16 UTC; 40s ago
     Docs: man:sshd(8)
           man:sshd_config(5)
  Process: 732 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
 Main PID: 756 (sshd)
    Tasks: 1 (limit: 1031)
   Memory: 2.7M
   CGroup: /system.slice/ssh.service
           └─756 /usr/sbin/sshd -D

Sep 10 18:07:14 bbb-pwr01-ser09 systemd[1]: Starting OpenBSD Secure Shell server...
Sep 10 18:07:16 bbb-pwr01-ser09 sshd[756]: Server listening on 0.0.0.0 port 22.
Sep 10 18:07:16 bbb-pwr01-ser09 sshd[756]: Server listening on :: port 22.
Sep 10 18:07:16 bbb-pwr01-ser09 systemd[1]: Started OpenBSD Secure Shell server.
Sep 10 18:07:26 bbb-pwr01-ser09 sshd[963]: Accepted publickey for debian from 192.168.1.3 port 37858 ssh2: RSA SHA256:jj8NV1teaSmzgFyi7+bJol
Sep 10 18:07:26 bbb-pwr01-ser09 sshd[963]: pam_unix(sshd:session): session opened for user debian by (uid=0)

Regards,