I have a program running on boot that is preventing me from SSH'ing into the BBB.

27 views
Skip to first unread message

mpgo...@gmail.com

unread,
Apr 19, 2016, 12:17:13 PM4/19/16
to BeagleBoard
Hello, all.  I wanted to setup a C++ program to run on power-up, so I created a bash script that executes it and then created a service to call that script on boot.  This works and executes my program on boot (I am controlling the USR LEDs in my code so I know), but now I am unable to stop it or SSH into the Beaglebone Black.  Does anyone know if I can fix this without re-imaging the device?

Thanks.

William Hermans

unread,
Apr 19, 2016, 2:01:48 PM4/19/16
to beagl...@googlegroups.com
Ok, so this is a way out side corner case. You've done something (wrong i might add ), that is causing your ssh server to stop working / working correctly. So . . . you need to tell us exactly what you've done to your system up to this point. If you can't tell us *exactly* step by step what you've done up to this point. Then you need to start keeping a diary, or work log of what you're doing.

Until then *maybe* someone can help you, but I can't. But the only way someone can help you with the given information is if that someone has gone through exactly what you're going through now. Or something close to it.

On Tue, Apr 19, 2016 at 9:10 AM, <mpgo...@gmail.com> wrote:
Hello, all.  I wanted to setup a C++ program to run on power-up, so I created a bash script that executes it and then created a service to call that script on boot.  This works and executes my program on boot (I am controlling the USR LEDs in my code so I know), but now I am unable to stop it or SSH into the Beaglebone Black.  Does anyone know if I can fix this without re-imaging the device?

Thanks.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/7163f7b7-7ef8-43b5-a13c-5c1d18e1f7cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

evilwulfie

unread,
Apr 19, 2016, 2:28:09 PM4/19/16
to beagl...@googlegroups.com
Get a serial to USB cable ( 3.3V ) connect to debug port and fix your program.


On 4/19/2016 9:10 AM, mpgo...@gmail.com wrote:
Hello, all.  I wanted to setup a C++ program to run on power-up, so I created a bash script that executes it and then created a service to call that script on boot.  This works and executes my program on boot (I am controlling the USR LEDs in my code so I know), but now I am unable to stop it or SSH into the Beaglebone Black.  Does anyone know if I can fix this without re-imaging the device?

Thanks.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/7163f7b7-7ef8-43b5-a13c-5c1d18e1f7cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Virus-free. www.avast.com

Chad Baker

unread,
Apr 20, 2016, 7:05:33 AM4/20/16
to beagl...@googlegroups.com
If you are connecting via the microusb cable,
enter the address "http://192.168.7.2:3000/"
in a browser. You may see the IDE pop up.
If so, you are logged in and can fix your problems there.
If you are logging in via ether, try the microusb cable.
Chad


On 4/19/2016 11:10 AM, mpgo...@gmail.com wrote:
Hello, all.  I wanted to setup a C++ program to run on power-up, so I created a bash script that executes it and then created a service to call that script on boot.  This works and executes my program on boot (I am controlling the USR LEDs in my code so I know), but now I am unable to stop it or SSH into the Beaglebone Black.  Does anyone know if I can fix this without re-imaging the device?

Thanks.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/7163f7b7-7ef8-43b5-a13c-5c1d18e1f7cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Chad Baker Memphis, TN

TJF

unread,
Apr 20, 2016, 11:58:42 AM4/20/16
to BeagleBoard, mpgo...@gmail.com
When your system is booting from SD card, plug the card in a PC and rename the script on the card

When booting from EMMC, what happens when you connect a monitor (HDMI), do you see a login prompt? If so, connect a keyboard and disable the service (or rename the script).

Reply all
Reply to author
Forward
0 new messages