开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Log access issues


 

Good Morning all!
I am running d-rats 0.3.9.3 for a ratflector on a Pi4 4gb, I have tried to get into my debug log and the main log with no success. If I click on either one of them I get the d-rats has encountered an error splash screen and when I click ignore all my d-rats just shuts down. I am trying to use the logs for troubleshooting some other d-rats issues and could use a little help here.
--
AL M
KF5SMH


 

开云体育

Sorry, I haven’t a clue.

Gary

NY5S

?

Sent from for Windows 10

?

From: Al Massaro
Sent: Wednesday, July 1, 2020 10:17 AM
To: [email protected]
Subject: [d-rats] Log access issues

?

Good Morning all!
I am running d-rats 0.3.9.3 for a ratflector on a Pi4 4gb, I have tried to get into my debug log and the main log with no success. If I click on either one of them I get the d-rats has encountered an error splash screen and when I click ignore all my d-rats just shuts down. I am trying to use the logs for troubleshooting some other d-rats issues and could use a little help here.
--
AL M
KF5SMH

?


 

Al,

Just to be clear, how are you accessing the D-Rats running?as a ratflector?

Don


On Wed, Jul 1, 2020 at 10:17 AM Al Massaro <almassaro1@...> wrote:
Good Morning all!
I am running d-rats 0.3.9.3 for a ratflector on a Pi4 4gb, I have tried to get into my debug log and the main log with no success. If I click on either one of them I get the d-rats has encountered an error splash screen and when I click ignore all my d-rats just shuts down. I am trying to use the logs for troubleshooting some other d-rats issues and could use a little help here.
--
AL M
KF5SMH



--
73 de N4VIP, Don - SFARES Inc. Treasurer and Secretary


 

Don I have the San Juan County Rat running on an RPI 4 from my house, it also has D-RATS running as NM5Sj. I am trying to access that set of logs. Hope that clears it up.
--
AL M
KF5SMH


 

HI Al -- I have a ratflector running on a linux AWS instance just for tinkering and access it from D-RATS running on Windows 10. The log files generated by D-RATS on Windows 10 show up in AppData\Roaming and I can look at them by copying the files to another directory and then opening the copies in a text editor. I have not been able to find any log files in the ratflector system though. Maybe I am not looking in the right place.
Richard Browning AD5RB


 

Richard, Thanks to all for your replies, I am able to access the log files I want in both win7 and win10. In both of those cases all I need do is click on help>show debug log, or View>log on the toolbar. In the Linux app I am not able to do the same without D-RATS crashing. I am not sure either of these files will help me ID what is occurring with a friends D-RATS instance but it is a place to start. I have since satisfied myself with the black screen issue being caused by the "berkley time share'. That is a mere left click to bring the screen back and continue with the chat, unhandy at times perhaps but nothing one cannot adapt to.
Once again Thanks to all those who have replied thus far.
--
AL M
KF5SMH


 

OK, I just started up a RaspPI and a D-RATS v0.3.3 that I configured maybe six months ago and indeed it crashes as you describe when trying Help>Show debug log. The problem with mine is that it is trying to show the debug file using gedit, but gedit isn't installed. The cure was to install gedit. Another approach is to use a different editor to look at the file: /home/pi/.d-rats/debug.log
I still need to try with this with the latest distribution version.
73, Richard Browning AD5RB


 

I just installed gedit on my Linux machine running Lubuntu 18.04. I can now view the debug log.

Patrick (N3TSZ)


On Thursday, July 2, 2020, 10:36:30 AM EDT, ad5rb <ad5rb@...> wrote:


OK, I just started up a RaspPI and a D-RATS v0.3.3 that I configured maybe six months ago and indeed it crashes as you describe when trying Help>Show debug log.? The problem with mine is that it is trying to show the debug file using gedit, but gedit isn't installed.? The cure was to install gedit.? Another approach is to use a different editor to look at the file:? /home/pi/.d-rats/debug.log
I still need to try with this with the latest distribution version.
73,? Richard Browning? AD5RB



 

As Goofy would say, Aw shucks Yup, hyuk hyuk!
Thanks for the assist!
--
AL M
KF5SMH


 

I have found that, unlike the Windows environment, the Linux OS’s, especially on the Raspberry Pi’s are not full featured OS’s in that they don’t always have the full library of functionality software installed. ?You have to do update and upgrades often, and it does not always immediately pick up on the fact that some odd dependency is missing. ?Raspbian, now being called Raspberry OS is a subset environment due to the limited storage capacity on the device. ?It was originally recommended to have only an 8 GB SD card. ?The new Pi-4 I just got came with a 64 GB card and I loaded it up with the full Build-a-Pi 3.02 suite by KM5ACK and added D-Rats. ?The whole build took over 4 hours because all the programs were being compiled from source with added dependencies In order for everything to work. ?I have, so far, seen three different ways to ask the machine to do an upgrade. ?There is sudo apt upgrade, sudo apt dist-upgrade, or sudo apt full-upgrade. ?I am not sure about the differences in functionality between the three.


 

开云体育


Hello Glen,

Linux can be "fully featured" depending on what functionality you want.? If you're looking for high amounts of features similar to a Windows environment, consider Mint or Ubuntu but I would argue NONE of those are well suited for a $35 computer.? This is why "Raspbian" and now "Raspberry Pi OS" uses a much lighter weight OS load, GUI setup, etc. to be more suited with less CPU power, less RAM, less I/O, etc.? You CANNOT compare even a 8GB Raspberry Pi 4 to a multi-hundred dollar X86 system with a much higher performance CPU, lot more RAM, much faster storage I/O, etc.

As for software, the choice is yours.? You can simply add pre-built software either via the commands line or a GUI tool very easily but most of that software is OLD.? Why is it old?? This is mostly because the maintenance work to keep software up to date in the Debian repos is done on very conservative time frame.? If you want more bleeding edge versions of programs, you need to run a bleeding edge version of Debian (not RaspberryPi OS).?? Read this for more detail - Debian "testing" : ( ) but understand that the OS and those programs aren't 100% tested and stable.? Again, that URL will explain why.? Other distros are ONLY this way such as Arch, Gentoo, etc as they are "rolling releases".

One alternative to these approaches is to use a stable OS but compile the bleeding edge applications.? This is what KM4ACK is doing but he's creating some automation for you to make it easier for new Linux users. This is sometimes the ONLY way to get newer software as the various software applications such as D-Rats hasn't made any official releases in a very long time and thus Distributions won't know when to package up newer versions.?
?If you don't like the compile speed from your $35 computer and $16 storage device, you can use alternative storage to speed things up (a UASP enabled USB3 SSDs), buy and use one of the faster SBCs than a Raspberry Pis ( ), or learn how to do cross compiling on a much faster x86 computer and then put the resulting binaries into your Raspberry Pi.? The choice is yours.

Finally, to your upgrade point, those aren't three difference ways to do an upgrade, those are the required three commands to do ONE complete update:

?? - apt update :: this fetches the newest packet database from the Internet.? That's it
?? - apt upgrade :: this fetches the newest packages for most of the applications, etc.
?? - apt full-upgrade? :: this is also known as "dist-upgrade" is to upgrade some more fundamental parts of the OS

If you wish to not use the CLI and prefer GUIs for updates, read this URL that I found using a search like "Raspberry Pi GUI updater" -



As you learn Linux, you'll see that packaging of programs differs between Linux distributions be it deb-based (Debian, Raspbian, Mint, Ubuntu, etc) which uses the "apt" or "apt-get" commands from the command line
?RPM-based systems (Redhat Enterprise, Centos, OpenSuse, Fedora, etc), etc.? PKG for distributions that are Arch-based, etc.? All those groups do this for their various own reasons and it's up to you of what Linux distribution you wish to use on your computer hardware.? There is no "one right answer" but searching for say "linux what is the best distribution for me" taking you to say will help you better understand.

--David
KI6ZHD



On 07/11/2020 09:20 AM, Glen Strecker wrote:

I have found that, unlike the Windows environment, the Linux OS’s, especially on the Raspberry Pi’s are not full featured OS’s in that they don’t always have the full library of functionality software installed. ?You have to do update and upgrades often, and it does not always immediately pick up on the fact that some odd dependency is missing. ?Raspbian, now being called Raspberry OS is a subset environment due to the limited storage capacity on the device. ?It was originally recommended to have only an 8 GB SD card. ?The new Pi-4 I just got came with a 64 GB card and I loaded it up with the full Build-a-Pi 3.02 suite by KM5ACK and added D-Rats. ?The whole build took over 4 hours because all the programs were being compiled from source with added dependencies In order for everything to work. ?I have, so far, seen three different ways to ask the machine to do an upgrade. ?There is sudo apt upgrade, sudo apt dist-upgrade, or sudo apt full-upgrade. ?I am not sure about the differences in functionality between the three.


 

I fully understand the shortcomings of the small, single board computers. ?I am more of a Windows guy, but use the Pi’s for running more or less stand alone projects, like the D-Rats ratflector. ?In order for D-Rats to run on a fresh OS install, you have to manually load a few extra dependencies. ?One of the documents on this site outlining running D-Rats on a Pi tells you what needs to be loaded. ?What I was trying to say is that when something doesn’t work the way we expected, it is often not the program itself that is at fault, but the fact that a dependency piece of software is missing. ?Usually it can be picked up by update and upgrade commands. ?I often hear some of the software authors say to do an update and upgrade BEFORE installing a new piece of software, but it seems it might be more advantageous to do it AFTERWARDS. ?The Pi OS is even conscious of wanting to save storage space and will scrub or remove obsolete or no longer needed dependency software on the fly during the above operations. ??

These quirks are just something to get used to when we work with the Pi in order to have the convenience of being able to travel light and have a machine that requires no moving parts to wear out and more economical energy needs. Barring infrequent power failures or glitches that cause a shutdown of the Internet or a computer reset, I have found that the Pi will run pretty much 24/7 if it’s power and cooling needs are being met. ?The more recent versions of the Pi require a larger power supply, the installation of heat sinks and a cooling fan in order to run optimally. ?These considerations have all been pretty well addressed for most users of Mac’s and PC’s, but not the Pi.