RE: [beagleboard] eth0 and dropbear is not starting after reboot

Hello i’m quit new to this so please bear with me. I have an beaglebone A5 and after I make an reboot or disconnect the power to it then it will not start eth0 and dropbear. What I have understod or think I have is that Ångström is not using the /etc/ini.d/ scripts to start the demons but are using systemd instead is that correct?

If i do /etc/init.d/networking start and …/dropbear start i can use ssh to connect to my beaglebone and also SFTP is working wit FilleZilla. So my question is why is not the eth0 and dropbear not started and what should start them?

How can I see all enabled systemd scripts?

Here is what you do to make systemd work. Dropbear has two systemd services, namely dropbear.socket and dropbear.service. You start dropbear.socket with the following command:

“systemctl start dropbear.socket”

This will place a listener on port 22, so when you connect to your beaglebone using ssh, dropbear.service will start automatically and everything will work for you.

Here is what you do to make a systemd service startup after a reboot:

“systemctl enable dropbear.socket”

However, for some reason I don’t understand, my dropbear.socket service doesn’t startup after a reboot and I posted a question about this on Wednesday and I haven’t received an answer yet.

Regards,

John

I’m building an data logger that are communicating with an Arduino to save events in an Mysql5 database true an node script that I want to start at startup. Where should I put my systemd script and also where should i put my node application so it starts without any user logged in?

Just for a little more info I’m having an small node web server that will present the data on an webpage.

Also my mysql server is not starting but in there documentation I should put an script in init.d but I guess I need to do a systemd script for that to?

As you can understand when reading this I’m an newbie but hopefully I learn fast an can contribute to answer question as this :).

– To join: http://beagleboard.org/discuss
To unsubscribe from this group, send email to:
beagleboard+unsubscribe@googlegroups.com
Frequently asked questions: http://beagleboard.org/faq

Thanks for the info, do you know which service it is that starts the eth0?

I have an feeling that my services stopped working after I installed Mysql5-client and Mysql5-server, before that it worked rebooting. And you could do SSH and SFTP to it, will try enable dropbear and see if it is up running after an reboot.

/Patrik

Thanks for the info, do you know which service it is that starts the eth0?

eth0 is created by the kernel or a kernel module. Check your boot logs to see if there is an error related to the network driver. Make sure you install the systemd module for dropbear:

“opkg install dropbear-systemd”

Regards,

John

I have an feeling that my services stopped working after I installed Mysql5-client and Mysql5-server, before that it worked rebooting. And you could do SSH and SFTP to it, will try enable dropbear and see if it is up running after an reboot.

/Patrik