Chris Bognar

  • Content Count

    4
  • Joined

  • Last visited

  1. I haven't done much work outside of shell scripting and config files, and I'm not experienced enough to work inside the systemd framework for fear of trashing the system beyond my knowledge. I've been reading the bash guide TRS-80 offered as a reference, and I've come away with a better understanding of some of the more complex ideas, but I've been browsing it for 3 days and still have quite a bit to read and absorb. Many thanks for his advice and fast replies. Here is a cleaned up, easier to read version of my original script . . . I haven't modified it operationally because it
  2. If anyone is interested, I've created a shell script that can be run with cron to check A/C and battery status, and do a graceful shutdown when a battery threshold is met. It also logs power outages, battery drain when off A/C, and when it posts a shutdown (if any). This is a simple script, nothing fancy, but works for me. It has a granularity of one minute (cron is limited to one minute intervals), but I've been able to keep the system up on heavy load for 4-5 minutes before the script generates a shutdown on low battery. The script is generous -- it waits for 916mV or less bef
  3. I figured out my issue. I set up a 4GB swap partition on the spare drive, and the system was choking on it. To fix my problem, all I had to do was turn off the swap and remove the swap partition mount from fstab and all was good. As I said, I'm just a hobbyist, and I set up the swap drive out of habit with linux. The system works fine without it, but I'd be interested in learning why it was Oops-ing on a swap partition. If I find the answer, I'll post it here for others to learn from.
  4. Getting system crashes and instability, including a loss of HD I/O, during very large file transfers. This happens over the network, whether using SCP, FTP, or SMB. I'm a hobbyist, and am no coder or developer, so other than Googling, I have no practical knowledge to pull on. When the problem started occuring, I opened two PuTTY SSH interfaces as root - one with htop, and another with "dmesg --follow" to see what was going on with the system, and this is what happened: dmesg readout at file transfer crash (using SMB this time): Terminal lost connectivity at