Go to advanced search

by paulv
Sun Jul 28, 2019 8:07 pm
Forum: Advanced users
Topic: How-to procedure to boot from a USB spinning hard disk
Replies: 9
Views: 458

How-to procedure to boot from a USB spinning hard disk

It seems that there was a particular issue with my setup.
Forget what I wrote below.

Sorry
by paulv
Sun Jul 14, 2019 8:23 pm
Forum: Troubleshooting
Topic: Can't get watchdog package to mail or log
Replies: 9
Views: 435

Re: Can't get watchdog package to mail or log

Hi epoch1970, Thanks for the heads-up. I'm beginning to think you're right about the logging. As a minimum, this would mean that the documentation needs to be updated, especially the man pages for watchdog.conf. And then the default watchdog.conf file itself needs to be updated. I'm still at a loss ...
by paulv
Sun Jul 14, 2019 11:02 am
Forum: Troubleshooting
Topic: Can't get watchdog package to mail or log
Replies: 9
Views: 435

Re: Can't get watchdog package to mail or log

Well, I'm finally getting somewhere. The watchdog package is logging to /var/log/syslog, but not to the log file specified in /etc/watchdog.conf. In /etc/watchdog.conf, I have : interval = 5 logtick = 360 log-dir = /var/log/watchdog strangely enough, that directory stays completely empty. Here is th...
by paulv
Sat Jul 13, 2019 7:58 pm
Forum: General discussion
Topic: RPi 4 : Lost GPIO-3 restart (and fix)
Replies: 27
Views: 3795

Re: RPi 4 : Lost GPIO-3 restart

Thank you timg236 ! Just for the mere mortals among us, myself included, I wrote a step-by-step set of instructions on how to install the new bootloader with the fix. That is if you need to do this on a Windows PC/Mac. First of all, download the fix from the website https://www.raspberrypi.org/downl...
by paulv
Fri Jul 12, 2019 11:35 am
Forum: Troubleshooting
Topic: Mail on Buster
Replies: 15
Views: 1959

Re: Mail on Buster

Epoch1970, Your help is very much appreciated. Merci bien! First off, I found that you have to use the TLS method the way I used it above, if I use it without as you have, there is an error generated. With your other information, I think I found the problem with Buster. There is no /etc/aliases file...
by paulv
Thu Jul 11, 2019 7:12 pm
Forum: Troubleshooting
Topic: Can't get watchdog package to mail or log
Replies: 9
Views: 435

Re: Can't get watchdog package to mail or log

The symbolic link is part of the installation, it's already there.
I fixed the "-v" typo, thanks.
by paulv
Wed Jul 10, 2019 2:46 pm
Forum: Troubleshooting
Topic: Mail on Buster
Replies: 15
Views: 1959

Re: Mail on Buster

pcmanbob,

Did you try to get mails out from cron or watchdog?
by paulv
Wed Jul 10, 2019 1:03 pm
Forum: Troubleshooting
Topic: Mail on Buster
Replies: 15
Views: 1959

Re: Mail on Buster

Just to follow-up on the previous posts, ssmtp is deprecated on Buster, it is no longer maintained. (typical experience with a major system change..., sigh!) The more modern and supported alternative is msmtp. You can install that package with: sudo apt-get install msmtp msmtp-mta The configuration ...
by paulv
Wed Jul 10, 2019 6:29 am
Forum: Troubleshooting
Topic: Can't get watchdog package to mail or log
Replies: 9
Views: 435

Re: Can't get watchdog package to mail or log

Hi Epoch1970, Thanks for the hints. I did not find the sendmail reference anywhere I looked, but I already installed sendmail to see if watchdog uses this mail program, but same result, no email. I completely removed/purged that and re-installed ssmtp again. I have another Rpi Model B 3+ with the wa...
by paulv
Tue Jul 09, 2019 8:43 pm
Forum: Troubleshooting
Topic: Can't get watchdog package to mail or log
Replies: 9
Views: 435

Can't get watchdog package to mail or log

I have installed the watchdog package and tested various elements. They all work. The only problem is that I can't get the watchdog package to email or to log. I'm trying this on a Model B 3+ : Linux raspi-cam 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l GNU/Linux Here are the relevant ...
by paulv
Mon Jul 01, 2019 2:43 pm
Forum: General discussion
Topic: RPi 4 : Lost GPIO-3 restart (and fix)
Replies: 27
Views: 3795

Re: RPi 4 : Lost GPIO-3 restart

Thanks James,

If a fix will become available, how will this be communicated? Here?

Tks,

Paulv
by paulv
Sun Jun 30, 2019 11:57 am
Forum: General discussion
Topic: RPi 4 : Lost GPIO-3 restart (and fix)
Replies: 27
Views: 3795

RPi 4 : Lost GPIO-3 restart (and fix)

On the previous RPi's, including the RPi 3+, you had the ability to restart the RPi if is was halted and still powered. This worked by momentarily shortening GPIO-3 (P1-5) to ground. This is no longer working on the RPi 4. [UPDATE] There is a fix available, read on to later postings. dmesg reports t...
by paulv
Wed Jun 13, 2018 7:20 am
Forum: Advanced users
Topic: Prevent/Minimize USB (Flash) stick corruption
Replies: 17
Views: 3355

Re: Prevent/Minimize USB (Flash) stick corruption

After trying to minimize the "disc" activity by reducing logging of my applications, using logrotate and tmpfs and a couple more things, it only took about 2 moths before the stick developed issues. And this was with a brand name USD flash stick, sigh... I gave up on using a flash stick for the OS. ...
by paulv
Fri Jun 01, 2018 7:39 am
Forum: Automation, sensing and robotics
Topic: Simple Pi UPS with 2 batteries
Replies: 18
Views: 13667

Re: Simple Pi UPS with 2 batteries

The circuit in this post is from a long, long time ago. I have learned a lot since then. If you look for other posts I have made on this forum regarding UPS supplies, you will find several that also use Li-Ion cells. A very good one is described here : https://www.raspberrypi.org/forums/viewtopic.ph...
by paulv
Thu May 31, 2018 7:05 pm
Forum: Automation, sensing and robotics
Topic: Simple Pi UPS with 2 batteries
Replies: 18
Views: 13667

Re: Simple Pi UPS with 2 batteries

NO! You can't use this simple charger method for Lithium-Ion cell types!
The risk is too high. This is especially why I used NiMH cells, they are much more forgiving.
by paulv
Thu May 10, 2018 6:55 pm
Forum: Advanced users
Topic: STICKY: HOWTO: Move the filesystem to a USB stick/Drive
Replies: 339
Views: 520248

Re: STICKY: HOWTO: Move the filesystem to a USB stick/Drive

Putting your data files in one place makes a backup all the more easy, and you can move the data easier between different target computers.
If you don't need/want that, keeping the partition as large as possible helps the card with wear leveling.

Enjoy!
by paulv
Wed May 09, 2018 6:06 pm
Forum: Advanced users
Topic: (Is this) The correct ways to install the watchdog package?
Replies: 46
Views: 60504

Re: Is this the correct way to install the watchdog package?

The systemd version as I have described it will only cover a hung system or unresponsive app. There are a couple more things it can do, but not watch your internet connection, unless you write the code in your app to do that. The "traditional" watchdog package has the ability to "watch" over many di...
by paulv
Sat Apr 07, 2018 5:14 pm
Forum: Advanced users
Topic: STICKY: HOWTO: Move the filesystem to a USB stick/Drive
Replies: 339
Views: 520248

Re: STICKY: HOWTO: Move the filesystem to a USB stick/Drive

Hi Nalbee, The smallest size SD card for this application is the one that your selected OS version will fit on. There is no definite number because the size changes with every OS revision. However, keep in mind that if you are going to use the card for "normal" use (running the OS from it), the larg...
by paulv
Sat Apr 07, 2018 6:20 am
Forum: Automation, sensing and robotics
Topic: Add an analog output to the Pi (DAC)
Replies: 15
Views: 17437

Re: Add an analog output to the Pi (DAC)

Hi Paul, Using CE0 and CE1 is exactly how you describe. You can use these two hardware "selectors" to control two separate devices. Alternatively, you can use one chip with two (or more) devices and select them in software (controlling a "selector "bit within the control byte/word of the chip) in a ...
by paulv
Wed Mar 28, 2018 3:30 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi UPS with Auto Restart
Replies: 20
Views: 14054

Re: Raspberry Pi UPS with Auto Restart

Well done mj2708! I have the same observation. Doesn't bother me though, because it helps me to see if the RPi is powered or not. On my system, the red LED is on when the RPi is off, and when it runs, this LED is off. The green LED is on when the main power is present, and the blue shows power to th...
by paulv
Tue Mar 20, 2018 9:11 am
Forum: Advanced users
Topic: Prevent/Minimize USB (Flash) stick corruption
Replies: 17
Views: 3355

Re: Prevent/Minimize USB (Flash) stick corruption

Despite my recent efforts to minimize crashes, I had another catastrophic failure today. In my latest setup, I used a 16GB Transcent USB stick that tested OK with the destructive tests before I used it.This stick has been used for occasional temporary data storage for a couple of years without any p...
by paulv
Mon Mar 12, 2018 7:27 pm
Forum: Advanced users
Topic: Prevent/Minimize USB (Flash) stick corruption
Replies: 17
Views: 3355

Re: Prevent/Minimize USB (Flash) stick corruption

While further trying to find tools that can identity potential troublesome flash drives, I first tried the DOS tool H2testW (version 1.4) that reported a bunch of problems. Encouraged, I then downloaded and installed the F3 Linux tool suite, which is based on H2testW, but further developed, and trie...
by paulv
Mon Mar 12, 2018 6:40 am
Forum: Advanced users
Topic: Prevent/Minimize USB (Flash) stick corruption
Replies: 17
Views: 3355

Re: Prevent/Minimize USB (Flash) stick corruption

While my tests are running, I started to look for more information about what can/could go wrong when using flash drives. Eventually, you’ll come across tools that try to separate the fake from the real sticks. Fake because there are sticks that report a much higher capacity then is actually there. ...
by paulv
Sun Mar 11, 2018 10:15 am
Forum: Advanced users
Topic: Prevent/Minimize USB (Flash) stick corruption
Replies: 17
Views: 3355

Re: Prevent/Minimize USB (Flash) stick corruption

Some more observations while using my "bad" USB flash "drive". I created 3 partitions on the 8GB stick, each 2GB in size with type fd00 (Linux raid) I created a type 5 raid as follows : sudo mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sdb1 /dev/sdb2 /dev/sdb3 Then did the usual...
by paulv
Sun Mar 11, 2018 9:17 am
Forum: Advanced users
Topic: Prevent/Minimize USB (Flash) stick corruption
Replies: 17
Views: 3355

Re: Prevent/Minimize USB (Flash) stick corruption

Hi hojnikb, Thank you for your tips. However, they are not bringing insight into what this post is all about. In the first post, I specifically said : Please don't tell me to use a rotating HDD or an SSD one, I know that much and I will go that route, but I just want to find out what tricks, if any,...

Go to advanced search