Go to advanced search

by Roken
Sat May 30, 2020 6:33 am
Forum: Beginners
Topic: Can RPI 4 make a reliable NAS?
Replies: 5
Views: 320

Re: Can RPI 4 make a reliable NAS?

Yes
Yes
and Yes
by Roken
Tue May 26, 2020 5:39 pm
Forum: General discussion
Topic: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)
Replies: 282
Views: 55782

Re: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)

Retried and, after one failure on startup (xHC-CMD Err: 6 Type 1) it retries and boots successfully. NB. This is only on cold boot. No error on reboot. Possibly slow drive startup? The error code and type indicates a USB stall occurred whilst trying to do a bulk transfer. I suspect the drive enumer...
by Roken
Tue May 26, 2020 2:36 pm
Forum: General discussion
Topic: POE Splitter for Raspberry Pi 4
Replies: 14
Views: 269

Re: POE Splitter for Raspberry Pi 4

I don't, which is why I only power the 3Bs off it (they can only do 100Mb anyway). I have a separate 1Gb switch, that I bring the main cable into. This then goes out to my desktop, laptop and 4B, with one cable into the POE 100Mbs switch for the 3Bs.

The 4B is mains powered.
by Roken
Tue May 26, 2020 1:31 pm
Forum: General discussion
Topic: POE Splitter for Raspberry Pi 4
Replies: 14
Views: 269

Re: POE Splitter for Raspberry Pi 4

I run 3 or 4 Pi3B of a POE switch using the adapter POE cables similar to the one you linked. Whilst they do the job, I really wish I'd got POE hats instead (and probably will as funds allows) simply because they are quite bulky things when you have multiple.
by Roken
Tue May 26, 2020 11:53 am
Forum: Advanced users
Topic: Migrating Hybrid SD/USB Booting to Direct USB Booting on the Raspberry Pi 4 : Made Easy
Replies: 23
Views: 2039

Re: Migrating Hybrid SD/USB Booting to Direct USB Booting on the Raspberry Pi 4 : Made Easy

I figured this out myself, but in addition to the steps you have shown (I had to create the /boot partition on the HD), I had to run sudo sfdisk -r /dev/sda to ensure that the device and PARTUUID represented the first partition.

Without this, the boot failed. After doing it, the boot succeeds.
by Roken
Mon May 25, 2020 10:41 am
Forum: General discussion
Topic: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)
Replies: 282
Views: 55782

Re: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)

The instructions say to image the USB mass storage device using a Raspbian image. If you do that, then the partition layout will be correct to begin with. I'm aware, though as I said, the drive was already fully prepped for the previous behaviour, with nearly 650Gbs I'd have had to offload somewher...
by Roken
Mon May 25, 2020 9:23 am
Forum: General discussion
Topic: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)
Replies: 282
Views: 55782

Re: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)

Wow. Finally got it working, and found a "Gotcha" that I haven't seen documented. (I can also provide the fix). I haven't done this with a fresh install. I was already booting with /boot on the sdcard, and fsroot on the hard drive, which was working just fine. I had no desire to create a fresh insta...
by Roken
Fri May 22, 2020 7:22 am
Forum: General discussion
Topic: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)
Replies: 282
Views: 55782

Re: Raspberry Pi 4 USB mass storage beta

Well, I tried using james' instructions to get it working. No dice. Just hung (whatever I tried) at a failure to find the sdcard. I even tried forcing the issue with BOOT_ORDER=0x4 (big mistake), which simply left me with an unbootable Pi. Unfortunately, I'd forgotten how much of my network relied o...
by Roken
Mon May 18, 2020 10:54 pm
Forum: Raspberry Pi OS
Topic: How to disable the GUI (without rebooting)
Replies: 3
Views: 159

Re: How to disable the GUI (without rebooting)

Technically, enable and disable are nothing to do with boot up defaults (or boot at all), but that's a by the by. As long as stopping the service (and I added .service for completeness) and it doesn't restart automatically, then it's all good.
by Roken
Mon May 18, 2020 12:26 pm
Forum: Raspberry Pi OS
Topic: How to disable the GUI (without rebooting)
Replies: 3
Views: 159

Re: How to disable the GUI (without rebooting)

I can't verify this at the moment, but if you know the DM you are using (e.g. lxdm) EDIT: Try ps -ef | grep dm to identify the DM. I have an idea that default raspbian uses lightdm, but not sure. sudo systemctl disable lxdm.service sudo systemctl stop lxdm.service should do it. The reason for disabl...
by Roken
Fri May 15, 2020 10:56 pm
Forum: Off topic discussion
Topic: What do you guys store your pi boards in when not in use?
Replies: 29
Views: 1460

Re: What do you guys store your pi boards in when not in use?

"When not in use"?

What does this mean?
by Roken
Mon May 04, 2020 8:37 am
Forum: General discussion
Topic: HELP Noob old 61 year old. Can one PI support hosting, cloud server, mail server and Wordpress?
Replies: 17
Views: 549

Re: HELP Noob old 61 year old.

Sorry I have a hard time explaining my self. Oh, BTW I just found a youtube that helps with booting off the hard drive. And it worked. But afraid that I can't add and do everything from the Booted HD. I'm totally confused. Since you've said much the same thing twice, I have to ask what you mean exa...
by Roken
Sun Apr 26, 2020 12:22 pm
Forum: Networking and servers
Topic: Pi as dedicated sql server
Replies: 5
Views: 224

Re: Pi as dedicated sql server

Awesome.

And even if it doesn't work out of the box, it's plenty that I can work it out for myself.

Thank you./
by Roken
Sun Apr 26, 2020 9:38 am
Forum: Networking and servers
Topic: Pi as dedicated sql server
Replies: 5
Views: 224

Re: Pi as dedicated sql server

I'm not - this is simply to take the databases off the individual PIs and consolidate them. e.g. Pi 1 - Plex server Pi 2 - Nextcloud server Pi 3 - TVheadend server All have sql databases running on the respective machines. I'm thinking adding a new PI to take all those databases onto a single sql in...
by Roken
Sun Apr 26, 2020 8:28 am
Forum: General discussion
Topic: Disappointment: why Raspberry Pi 4 was made exclusively for the "Linux Market"?
Replies: 95
Views: 4687

Re: Disappointment: why Raspberry Pi 4 was made exclusively for the "Linux Market"?

because the implementation (aka magic numbers) is given to them I'm curious as to who, exactly, "them" is? Linux is not an organisation. It's a collaborative project of hundreds of thousands of contributors (including Microsoft*). And Linux only refers to the kernel (if you are talking about the OS...
by Roken
Sun Apr 26, 2020 8:21 am
Forum: Networking and servers
Topic: Pi as dedicated sql server
Replies: 5
Views: 224

Pi as dedicated sql server

Looking for a pointer to resources. I currently have 5 RPIs, all doing different jobs, and pretty much all of them have a sql server running on them for applications on the host PI. I'm thinking of getting another PI, who's only job will be as a simple sql server (probably MariaDB) to host the datab...
by Roken
Wed Apr 22, 2020 4:55 pm
Forum: Advanced users
Topic: How to Get Rid of the need to Type "sudo"?
Replies: 65
Views: 1670

Re: How to Get Rid of the need to Type "sudo"?

Code: Select all

mkdir ~/test123
cd ~/test12£
rm *
If you are in a directory such as /etc at the time of the above, with a simple mistype, then you for all intents and purposes destroy your system if you are logged in as root.

Without root, you would be forced to examine what you have done.
by Roken
Tue Apr 14, 2020 4:17 pm
Forum: Advanced users
Topic: Can someone explain how this works
Replies: 1
Views: 209

Can someone explain how this works

I have 5 x RPi. One is a 4B, 4GB, which among other duties, holds a 1TB USB HD. On the HD are videos, music etc. And, more importantly, folders with rootfs for the other 4. Today, I hit a problem with audio (which wasn't my first thought of issue, I route pulse through to my desktop server, and was ...
by Roken
Sun Apr 12, 2020 5:16 pm
Forum: Advanced users
Topic: Mounted root filesystem using NFS hangs at /sbin/init
Replies: 14
Views: 348

Re: Mounted root filesystem using NFS hangs at /sbin/init

Why not just use cmdline.txt. Mine: dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/nfs nfsroot=192.168.1.188:/mnt/NFS/pi3b,udp,vers=3 rw ip=dhcp rootfstype=nfs smsc95xx.turbo_mode=N plymouth.enable=0 ip=192.168.1.123 which works just fine - with 4 Pis booting from a single NFS dr...
by Roken
Sun Apr 12, 2020 12:50 pm
Forum: Networking and servers
Topic: Well that was a chore - Nextcloud update
Replies: 0
Views: 94

Well that was a chore - Nextcloud update

Hithertoo, I've had no problems updating Nextcloud (Pi3B+) using the web interface, ut oh, no. Not this time. After three attempts, and it getting stuck on backing up (and I mean, I couldn't even login in via SSH so had to reset and start again), I gave up and decided to update manually. Step one. b...
by Roken
Fri Apr 10, 2020 6:42 pm
Forum: Beginners
Topic: clock to display 1440 images (1 for each minute of the day)
Replies: 30
Views: 760

Re: clock to display 1440 images (1 for each minute of the day)

With enough images, named correctly, it is certainly doable.
by Roken
Fri Apr 10, 2020 6:32 pm
Forum: General discussion
Topic: Pi Speed test
Replies: 13
Views: 3043

Re: Pi Speed test

To measure just the speed on the LAN, iperf3
by Roken
Fri Apr 10, 2020 6:29 pm
Forum: Beginners
Topic: clock to display 1440 images (1 for each minute of the day)
Replies: 30
Views: 760

Re: clock to display 1440 images (1 for each minute of the day)

Might be easier to have the python/tkinter program show a “digital” clock of 4 digits e.g. 12:45 then you only need ten pictures. However, that may not be your purpose. Let us know. I assume a different and historically interesting clock will tell the time at each minute. At 6:20 one might display ...
by Roken
Fri Apr 10, 2020 1:15 pm
Forum: Beginners
Topic: clock to display 1440 images (1 for each minute of the day)
Replies: 30
Views: 760

Re: clock to display 1440 images (1 for each minute of the day)

Persoanlly, I'd use a cron job rather than a while loop. It's more robust - if your script crashes you'd need additional intervention to restart it. A cron job that runs as a oneshot every minute should self recover. I agree, though there's no reason for the script to crash (after your kill modific...
by Roken
Fri Apr 10, 2020 12:35 pm
Forum: Beginners
Topic: clock to display 1440 images (1 for each minute of the day)
Replies: 30
Views: 760

Re: clock to display 1440 images (1 for each minute of the day)

The only "programming" required is to fix the /path/to/images/ You've missed my point. Progamming skills (yours) were required to create those scripts. I suppose, but then again, editing cron jobs also requires a similar level of skill as the (rudimentary) script I supplied. At the end of the day, ...

Go to advanced search