Go to advanced search

by procount
Tue Apr 28, 2020 11:52 pm
Forum: Other projects
Topic: Exterior Gate Alarm, Horse Farm, Wireless
Replies: 14
Views: 531

Re: Exterior Gate Alarm, Horse Farm, Wireless

The ESP32 is a more powerful ESP8266, so you can use either of these. This article suggests you can get 366 metres on a PCB antenna (https://hackaday.com/2014/09/26/esp8266-distance-testing/), but one that has an external antenna for better range might be better for reliability. The remote device at...
by procount
Tue Apr 28, 2020 2:24 pm
Forum: Other projects
Topic: Exterior Gate Alarm, Horse Farm, Wireless
Replies: 14
Views: 531

Re: Exterior Gate Alarm, Horse Farm, Wireless

For this type of simple IoT application, I might be inclined to use something like an Expressif ESP8266 module at each gate (There are many types to choose from). They can be got pretty cheaply and would be easier to make low power for use with solar powered batteries. They can be programmed using M...
by procount
Mon Apr 27, 2020 9:58 am
Forum: C/C++
Topic: Is there any class to operate robot in C++
Replies: 3
Views: 237

Re: Is there any class to operate robot in C++

Maybe have a look at http://wiki.ros.org/ROS/Introduction - the Robot Operating System.
I've not used it myself, but there are lots of C/C++ libraries on there for robots as you might expect.
by procount
Sun Apr 26, 2020 5:55 pm
Forum: Beginners
Topic: Putting a file in Pi user home directory before install/initial boot.
Replies: 12
Views: 334

Re: Putting a file in Pi user home directory before install/initial boot.

PiBakery did this. I know it has not been maintained in a while so I don't know if it still works with the latest Buster, but worth a look. If you want to install your OS with PINN , you can make use of it's flavours to install any files you want AFTER the OS has been installed but BEFORE it is firs...
by procount
Thu Apr 23, 2020 3:34 pm
Forum: General discussion
Topic: Raspberry Pi 4 NAS
Replies: 21
Views: 632

Re: Raspberry Pi 4 NAS

Fair enough. It was worth a try. Glad to have helped you a little further down the road. Good luck!
by procount
Thu Apr 23, 2020 3:13 pm
Forum: General discussion
Topic: Raspberry Pi 4 NAS
Replies: 21
Views: 632

Re: Raspberry Pi 4 NAS

Nope. That's the limit of my knowledge I'm afraid.
Any joy with the quirks?
I think the 'u' parameter is to turn off UAS access, which may get it to work better for some unsupported drives.
Some drives are automatically blacklisted for UAS, so the 't' parameter marks them as ok to use UAS, AIUI.
by procount
Thu Apr 23, 2020 2:47 pm
Forum: General discussion
Topic: Raspberry Pi 4 NAS
Replies: 21
Views: 632

Re: Raspberry Pi 4 NAS

A little Google suggested that LVM logical volumes can also be found at /dev/mapper/XXXX where XXXX related to your volume group. That might also be worth a try with hdparm. But I'm only suggesting using hdparm -t to get a local read performace of your HDD without the network affecting it. I have a ...
by procount
Thu Apr 23, 2020 2:37 pm
Forum: General discussion
Topic: Raspberry Pi 4 NAS
Replies: 21
Views: 632

Re: Raspberry Pi 4 NAS

That makes more sense. Unfortunately, I'm not familiar enough with LVM to say how to use hdparm with it, or whether hdparm does work with it (some google fu required). If you've tried adding: usb-storage.quirks=0bc2:3322:u to cmdline.txt and rebooting, another option would be to try: usb-storage.qui...
by procount
Thu Apr 23, 2020 2:17 pm
Forum: General discussion
Topic: Raspberry Pi 4 NAS
Replies: 21
Views: 632

Re: Raspberry Pi 4 NAS

I took /dev/sda from your second post "sudo hdparm -I /dev/sda". I assumed it would be partitioned and formatted so that /dev/sda1 would exist. If /dev/sda1 is not correct, please substitute for the device name of a suitable partition on your 5TB HDD. Edit: It appears to be a SEAGATE HDD. So I assum...
by procount
Thu Apr 23, 2020 2:06 pm
Forum: General discussion
Topic: Raspberry Pi 4 NAS
Replies: 21
Views: 632

Re: Raspberry Pi 4 NAS

Those are subtly different commands to the ones I asked for.
by procount
Thu Apr 23, 2020 1:52 pm
Forum: General discussion
Topic: Raspberry Pi 4 NAS
Replies: 21
Views: 632

Re: Raspberry Pi 4 NAS

What is the output of

Code: Select all

lsusb
and

Code: Select all

sudo hdparm -t /dev/sda1
by procount
Thu Apr 23, 2020 6:07 am
Forum: General discussion
Topic: Raspberry Pi 4 NAS
Replies: 21
Views: 632

Re: Raspberry Pi 4 NAS

Have you read this sticky post -> viewtopic.php?f=28&t=245931
by procount
Tue Apr 21, 2020 1:18 pm
Forum: Raspberry Pi OS
Topic: Devuan based Raspbian images
Replies: 4
Views: 178

Re: Devuan based Raspbian images

Well, as I had it already prepared, I have added it to the distribution list.
There are no installation slides :(
Suitable for Pi 0,1,2,3
I put it in the 'minimal' category.
by procount
Tue Apr 21, 2020 11:54 am
Forum: Raspberry Pi OS
Topic: Devuan based Raspbian images
Replies: 4
Views: 178

Re: Devuan based Raspbian images

For a wider range of other distros to choose from, you can install my fork of NOOBS called PINN. I did a conversion of Devuan back in Aug 2018 for installation with PINN, but I never released it because I didn't have time to create any installation slides for it (their website is very textual) and i...
by procount
Tue Apr 21, 2020 12:25 am
Forum: Troubleshooting
Topic: 256GB SD card not booting
Replies: 9
Views: 284

Re: 256GB SD card not booting

Any SD card over 32GB formatted as FAT32 will typically be silently formatted as exFAT. This cannot be booted on the Pi. You will need special tools to force it to be formatted as FAT32 (search for Ridgecorp). Alternatively, use Balena Etcher or the new Raspberry Pi Imager to flash a plain Raspbian ...
by procount
Mon Apr 20, 2020 9:27 pm
Forum: Troubleshooting
Topic: 4B not booting correctly
Replies: 6
Views: 221

Re: 4B not booting correctly

There are 2 HDMI ports to plug your monitor into.
Make sure you plug it into the socket next to the USB-C power socket, furthest from the 4 USB sockets & ethernet socket.
by procount
Mon Apr 20, 2020 7:24 pm
Forum: Troubleshooting
Topic: RPI4 and Noobs
Replies: 9
Views: 207

Re: RPI4 and Noobs

Explanation: noobs only works on hdmi-0.
Raspbian and other OSes will work on either hdmi-0 or hdmi1.
On startup, hdmi-0 has a red square in top left corner. Hdmi1 has a magenta square
by procount
Mon Apr 20, 2020 7:22 pm
Forum: Troubleshooting
Topic: RPI4 and Noobs
Replies: 9
Views: 207

Re: RPI4 and Noobs

You have the HDMI in the wrong socket. Change it to the other and it will work with everything.
by procount
Mon Apr 20, 2020 5:38 pm
Forum: General discussion
Topic: Raspbian virtual
Replies: 5
Views: 249

Re: Raspbian virtual

1. Why does it need to be "virtual"? Why not just have 2 SD cards with Raspbian on each and swap them when needed? 2. RPi4 does not support booting from USB yet, but we hope it will in the near future. 3. Sakaki has a distro called 'nspawn64' that allows to run a separate 64-bit debian shell within ...
by procount
Mon Apr 20, 2020 5:20 pm
Forum: Troubleshooting
Topic: RPI4 and Noobs
Replies: 9
Views: 207

Re: RPI4 and Noobs

What colour is the top left corner of your rainbow square - Red or Magenta ? It's possible you have your HDMI lead plugged into the wrong socket. it must be the one next to the USB-C power socket (farthest from the 4 USB sockets). Or do you have a file called `autoboot.txt` on your NOOBS partition? ...
by procount
Mon Apr 20, 2020 3:47 pm
Forum: Troubleshooting
Topic: Pi2+ First NOOBs install hit by power cut %-(
Replies: 10
Views: 252

Re: Pi2+ First NOOBs install hit by power cut %-(

Ah yes, the type & size of SD cards is often overlooked when having such formatting/booting problems. It is important that your SD card reader (USB or otherwise) is suitable for the type of card you have. Many older PC/laptop built-in readers may not be adequate. See https://en.wikipedia.org/wiki/SD...
by procount
Mon Apr 20, 2020 9:38 am
Forum: Troubleshooting
Topic: RPI4 and Noobs
Replies: 9
Views: 207

Re: RPI4 and Noobs

When the first rainbow screen disappears after first powering on, you should get a Raspberry logo in the middle of the screen. Under it is a message that says something like "Press SHIFT for recovery". When you see the Raspberry logo, Repeatedly press the Shift key until you get the NOOBS recovery m...
by procount
Mon Apr 20, 2020 9:10 am
Forum: Beginners
Topic: Boot Menu
Replies: 15
Views: 552

Re: Boot Menu

I dont have Mouse&keyboard connected to my PI, Do you have a joystick or gamepad? PINN supports some models of those as well as keyboard, mouse & touchscreen. # systemctl reboot 3 I've never used that; I normally use: # sudo reboot n Maybe that has the same effect. In any case, this should work on ...
by procount
Sat Apr 18, 2020 4:52 pm
Forum: Troubleshooting
Topic: Pi2+ First NOOBs install hit by power cut %-(
Replies: 10
Views: 252

Re: Pi2+ First NOOBs install hit by power cut %-(

Sorry, after re-reading your posts, I had skipped over the fact that you had already wiped it: since I've been able to erase it with the Mac disk utility to give a single FAT32 MS Dos partition. So if you've re-copied the noobs files back to the card, then 'runinstaller' would already be there (it i...
by procount
Sat Apr 18, 2020 11:04 am
Forum: Troubleshooting
Topic: Pi2+ First NOOBs install hit by power cut %-(
Replies: 10
Views: 252

Re: Pi2+ First NOOBs install hit by power cut %-(

On the noobs SD card that suffered the power cut, edit recovery.cmdline and add 'runinstaller' to that single line.

That should get NOOBS to repartition the SD card so you can start again.

Go to advanced search