[arm-allstar] Direwolf from the Control Panel
David McGough
kb4fxc at inttek.net
Thu May 7 11:58:06 EDT 2020
I've not followed this whole thread, but, make sure you're not running
into a process ownership issue---for example, you launch screen/direwolf
as the user "root" and then try to killall direwolf from supermon/php,
which is running as the user "http." If you're have an ownership issue,
one resolution is to use the sudo command when running killall, etc.
73, David KB4FXC
On Thu, 7 May 2020, "Mal VK8MT via ARM-allstar" wrote:
> Hi
>
> Still not having any joy killing Direwolf when run using Screen.
>
> [root at alarmpi /]# screen -list
> There is a screen on:
> 1066.direwolf (Detached)
> 1 Socket in /run/screens/S-root.
> [root at alarmpi /]#
>
> Any help gratefully received.
>
> Thanks
>
> Mal
>
>
> -----Original Message-----
> From: ARM-allstar <arm-allstar-bounces at hamvoip.org> On Behalf Of "Doug
> Crompton via ARM-allstar"
> Sent: Tuesday, 5 May 2020 12:13 PM
> To: ARM Allstar <arm-allstar at hamvoip.org>
> Cc: Doug Crompton <wa3dsp at gmail.com>
> Subject: Re: [arm-allstar] Direwolf from the Control Panel
>
> Mal,
>
> You probably will need to kill the direwolf process. Try killall
> direwolf - in another Linux session while direwolf is running assuming
> that is the name of the running process. Like...
>
> direoff=cmd,/usr/bin/killall direwolf
>
> *73 Doug, WA3DSP*
> *http://wa3dsp.org <http://wa3dsp.org>*
>
> On Mon, May 4, 2020 at 10:27 PM "Mal VK8MT via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
> > Hi again
> >
> > Thanks, for the info thus far.
> >
> > I needed to install 'screen'. Thanks David KB4FXC (from an old post).
> > This (as recommended by Doug) worked:-
> >
> > direon=cmd,/usr/local/aprs-tools/etc/dw-start.sh
> >
> > Although I needed to modify dw-start.sh by adding a path to my
> > direwolf.conf file.
> >
> > #DWCMD="$DIREWOLF -a 100"
> > DWCMD="$DIREWOLF -c /home/direwolf.conf -a 100"
> >
> > You can check that it is running by using the following commands: -
> >
> > "screen -list" and "screen -D -r direwolf"
> >
> > You can again "detach" from the Direwolf screen session with control-a
> > then "d" at any time and direwolf will continue to run. (This from
> > the Direwolf User Guide p.28)
> >
> > Can anyone help with what a dw-stop.sh script would look like?
> >
> > When I run it from the Bash Shell Interface, I just send a Ctrl C and
> > it exits.
> >
> > We are making progress, thanks to those who have provided assistance.
> >
> > Mal
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> >
> > ARM-allstar mailing list
> > ARM-allstar at hamvoip.org
> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> >
> > Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
> >
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
>
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
>
More information about the ARM-allstar
mailing list