-
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
Digipeating fails but Igate continues to function #53
Comments
Hello Greg,
Curious, are you doing this process monitoring and restart using native
You mentioned that you're capturing logs now. When things crash and Beyond that, I'm not aware of any "verbose logging" feature in Direwolf. Btw, in your Direwolf config, disable AGW and TCPKISS in your --David |
David, Thanks for your reply and the information. I took some time before replying in order to try a couple of other things. I will try the suggestions you made asap. You're right about me using third party software, at least in part, to terminate and restart DW. Since I started off setting things up to use the Igate functionality, I started looking for something "canned" which would solve the problem of a crash while I was unable to be there and monitor the pc. I tried a couple of programs but settled on a one named "Restart On Crash". I found it to be the only one which started DW correctly after a crash. I'll add links at the bottom of this e-mail. I am using Windows to terminate the engine at regular intervals (every 20 minutes) by taking advantage of Task Scheduler. I went back, before replying, and attempted to use TS to restart DW thinking it would be great to have everything taken care of within Windows. Unfortunately, that didn't work well. When TS calls DireWolf.exe, it doesn't seem to "remember" where the rest of the support files are and DW does not start correctly. This is the same thing that happened with the crash monitor program I tried. I don't have a lot of experience with TS so it is probably something I have missed in the task setup. I did not try all of the programs mentioned in the link describing eight different restart type programs. I did try App Monitor with poor results and ROC. I'm not sure if some or all of these programs simply offer an easier way to deal with Task Scheduler because they apparently work with Windows versions prior to 7. My antivirus software says ROC is clean but who knows. It does not need to be installed so I thought that was good as well. I found it on a blog and then took some time last night to try and research it's origins. I did find the author's name but not a direct contact method for him unless I overlooked it. I did see he had recently answered questions about his program so he's still around. There was nothing on the blog or within the software that states whether it's copyrighted or open source and that's what I was really interested in since it could disappear if the his blog went away. If it's open source, it would be nice to be able to possibly add it to the DW distro. At least that was my thought. I would be happy to go back to the thread in the forum and explain what I have done but wanted to run it past someone else since it involves the third-party software. What do you think? This is working for me but hate to mentions something which may or may not be available to download tomorrow. I am also attaching a snippit of the txt file recorded by ROC. It doesn't offer much insight into what happened but does show that it is effective in the event of an unexpected termination of DW or, for that matter, whatever it's target is. Any time listed that is not :05, :25 or :45 is a crash. Here are the links that lead me to ROC: https://www.raymond.cc/blog/download/did/1914/ http://w-shadow.com/blog/2009/03/04/restart-on-crash/ Original article https://www.raymond.cc/blog/keep-application-running-by-automatically-rerun-when-closed/ I have one question but can post to the forum if that's better. DW mentions several different packages it will work with as a "drop-in" replacement for AGWPE. I have had no luck with with Winpack. It just doesn't seem to see the DW engine. Will it work and I'm just missing something? I would love to help more if there is something I can do. Thanks and 73, On September 2, 2016 5:35:08 PM EDT, David Ranch notifications@github.com wrote:
Sent from my Android device with K-9 Mail. Please excuse my brevity. 8/31/2016 8:05:01 PM C:\Downloads 2016\Packet and APRS\Dire Wolf\direwolf.exe is not running 9/2/2016 1:05:02 PM C:\Downloads 2016\Packet and APRS\Dire Wolf\direwolf.exe is not running |
Hey Greg, Are you on the Direwolf Yahoo group? It would be better to have you --David On 09/03/2016 03:28 PM, GWatson55 wrote:
|
No activity for almost 7 years. Closing. |
I installed v1.3.1 based on the text I read about the previous version having some Windows keying problems.
My Igate/digi is up an running but not without some other software help.
For some background, I'm running Windows 7 on a netbook (CPU useage ~ 2 - 5 %) and use a USB to serial adapter. I have used two different adapters with, to the best of my knowledge, equal succes. One uses a Prolific chipset and the other is FTDI. Both use "legitimate" chipsets and have given me no trouble in other applications.
There are actually two problems I have encountered and they are as follows:
At first, I ran only as an Igate station. Setup was straight forward and I was up and running in little time. The problem was the Dire Wolf engine would abruptly terminate for no apparent reason. The time-frame for the problem could be in as little as within the first hour to as many as 14 hours.
My work-around for this was to include a process monitor which would automatically restart Dire Wolf upon unexpected termination. With this in place, I had no other issues with the engine and everything worked fine without having to check on it's status. If the engine terminates, it is restarted within 20 seconds. The process monitor also logs unexpected terminations.
The second problem arose when I implemented the digipeater functionality. Setup was clean and fast due to the excellent documentation and my digi was on the air quickly. Unfortunately, something happens where the engine fails to send the command to digipeat. I see the command on the monitor window but the LED indicator on my interface (RTS > opto > PTT) does not indicate that the RTS signal changes states.
Simply restarting the DW engine corrects the problem until the next time this happens. The problem is random and may occur within a very few minutes or may not occur again for a couple of hours. My work-around for this problem was to schedule tasks to terminate the engine on a regular basis (once every 20 minutes). Once terminated, the process monitor restarts the the engine and the station is up again within the minute.
At this point, the scheduled tasks and the process monitor keep the station on the air without human intervention but I still see times when the digipeater function fails prior to time for the scheduled task to purposely restart the engine. I've minmised my digipeater downtime but something is still not right with v1.3.1. Again, the Igate functionality continues without a hitch.
Is there anything I can do to collect more useful data for the developer?
73, Greg
The text was updated successfully, but these errors were encountered: