-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dw-start.sh not working in Raspbian Stretch #134
Comments
You are probably missing a required package. If you run it manually, do you see an error? --David |
Don't know what package I'd be missing. Direwolf runs manually just fine without the script. |
If you try again using it from rc.local, can you send me the output of the /var/tmp/dw-start.log file when it fails? |
It results in this 100% of the time, repeating forever. Mon Mar 5 00:29:05 UTC 2018
|
Look in the script itself and tell me what version you're using? Is it v1.3? There should be more there. If you run the command from within a terminal manually, what do you see? |
I'm using v1.3. When I run the command "direwolf", it loads perfectly as it should. When I run the script dw-start.sh I get a window labeled Dire Wolf, but it's black, no text, a flashing box, and direwolf not actually running. The terminal window stays open but never does anything. I can run direwolf in another terminal while the one is open, telling me it's not actually running. |
Ok.. please upgrade to v1.4 as there was a LOT of fixes.. even better, try out the new v1.5 Beta. Next, the window opening is what is expected. in black but can you try to figure out what the flashing text says? |
I thought you meant the version of the dw-start.sh? |
Ahh.. sorry, my mistake. Anyway, any chance of decoding the flashing text? Sounds like Direwolf is starting up though. |
Honestly, I haven't got a clue as to the flashing box. It just acts like it's going to start. So the script is running to a point. I'll have to figure it out another day when I get some time to sit down to it. |
Did this a fix for this become known.?? I have just built my Pi with Stretch and Direwolf 1.4 and am finding the exact same issue. Thought I would ask before I rebuild it. |
Which version of Raspbian Stretch are you running? The full version with Xwindows or the lite version with no UI? Does Direwolf run manually without using the script? Please try using Direwolf 1.5Beta4 and see if you're still seeing the same issue |
I am using the latest GUI based version updated yesterday. Direwolf can manually is working fine, Like the original post when ran via Cron the Direwolf terminal window opens but no text is displayed at all. Not even the initial Direwolf bit with igate communication established confirmations. I will upgrade to 1.5 beta 4 and confirm. |
Upgrade completed to 1.5 Beta Test 4. Appear to have the same issue, but cant confirm just yet as manually running direwolf is resulting in a segmentation fault on initial start-up. Dire Wolf version 1.5 (Sep 7 2018) Beta Test 4 Reading config file direwolf.conf |
I never got it working. So I just run it via rc.local. No window to view it in, but I at least get it auto started as needed. |
it could be started normally by add option "-l" to command lxterminal in dw-start.sh : |
I am having the same problem when using the CLI version: Direwolf does not start up (or, it does not keep on running). As the others have mentioned, I can run it without a problem from the command line. I am using rtl_fm to pipe it's output into direwolf. This is with direwolf version 1.5 - just updated from git. This is what I am getting when I try to start it: pi@APRSGW:~ $ ./dw-start.sh
|
I found the solution. Dire Wolf can now start automatically in GUI mode under Raspbian Stretch. You need the following changes in the dw-start.sh: https://github.com/wb2osz/direwolf/blob/master/dw-start.sh Line 38: DIREWOLF="/usr/local/bin/direwolf" Line 46: DWCMD="bash -l -c '$DIREWOLF -c /home/pi/direwolf.conf'" Line 124: /usr/bin/lxterminal -l -t "Dire Wolf" -e "$DWCMD" & Hope this helps. At least this works for me. If anyone has better solution, please feel free to share. 73 de VR2ZDX |
I've done a pull request to WB2OSZ that integrates some of these fixes as well as some others. Let me know if this new script doesn't work for you. #199 |
I tried the new dw-start.sh, there is nothing run also...
and when I try to re-attach it screen, i got the result:
I think i meet same problem with @khkremer |
I got a solution at issue #119:
to
Now it works on my igate BG6LH-10 |
Thanks for the check and I now see the issue I was seeing. The issue resolved around the fact that this script supports three ways of start-up. Manually from the CLI command prompt, manually from an Xwindows terminal, or from cron. I've improved each mode's start up, it's method of logging, etc. Please give the new script a try: --David |
With this new file version I get an error that script can't find direwolf.conf in "/home/pi/" but I provided valid path (in my case "-c /home/pi/direwolf/direwolf.conf") I've edited this path in uncommented line to start with rtl_fm |
This just helped me get my dw-start.sh script going thanks.. |
Thanks to VR2ZDX! That worked for me too. With one more thing. |
I'm trying to build a pi baofeng usb sound card aprs digi following the guide online. I cannot get the auto boot to work for direwolf? Can somebody help please |
Since you've replied to this ongoing Git issue and I assume you've followed the recommendations in this discussion, what is your issue? Do you have specific errors that you can share with us? |
Looks like dw-start.sh is not working in Raspbian Stretch. Terminal opens and is labeled "Direwolf", but the window is black and has not actually started the application. Doesn't work from crontab or manually running the script.
The text was updated successfully, but these errors were encountered: