I have it working now. Many thanks! Here’s my startup script:
#!/bin/bash #wait until the ethernet link to the MESA 7i96 board is up until ping -W 3 -c 1 10.10.10.10 | grep -F -q “1 received”; do sleep 2 done /usr/bin/linuxcnc /home/pi/linuxcnc/configs/Coper/Coper.ini > On Sep 26, 2022, at 6:12 PM, Thaddeus Waldner <thadw...@gmail.com> wrote: > > Thanks for pointing me in the right direction; I now have an attempted start, > so I’m getting closer. > > This system uses a MESA 7i96 and now the issue is that I am trying to start > Linuxcnc before the ethernet connection is established. > > What is the proper way to test if the ethernet link is up? > > > >> On Sep 26, 2022, at 1:52 PM, Stefan Freisei Muehlbacher <frei...@freisei.de> >> wrote: >> >> When you start a Program with a GUI you should use the autostart mechanism >> of your UI/Windowmanager. >> >> For some examples see here: https://wiki.ubuntuusers.de/Autostart/ >> >> Greets, Freisei >> >> >> Am 26.09.2022 um 19:22 schrieb Hans Unzner: >>> >>> Am 26.09.22 um 15:41 schrieb Thaddeus Waldner: >>>> Hi, >>>> >>>> Does someone have a quick tutorial on how to auto-start Linuxcnc on a >>>> Raspberry Pi 4? I have a script that starts it when I manually run the >>>> script, but it fails when called from a systemd service. >>>> >>>> Thanks, >>>> >>>> Thaddeus Waldner >>>> >>> You can try to add a script to /etc/profile.d/ >>> >>> >>> _______________________________________________ >>> Emc-developers mailing list >>> Emc-developers@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-developers >>> >> >> >> _______________________________________________ >> Emc-developers mailing list >> Emc-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-developers > _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers