General Raspberry Pi stuff

Subjects that don't have their own home
User avatar
jack
Social outcast
Posts: 3659
Joined: Wed Dec 29, 2010 8:58 pm
Location: ɐılɐɹʇsnɐ oʇ ƃuıʌoɯ ƃuıɹǝpısuoɔ
Contact:

Re: General Raspberry Pi stuff

Post by jack » Thu May 14, 2020 2:09 pm

Neal - did you use the official Pi-hole docker container?

See https://github.com/pi-hole/docker-pi-hole - a complete example is given. https://hub.docker.com/r/pihole/pihole

Likewise for LMS, there is a complete docker setup at https://hub.docker.com/r/jgoerzen/logitech-media-server

For LMS, there are several options - the one above I've found to work well.
Vivitur ingenio, caetera mortis erunt

Neal
Needs to get out more
Posts: 1949
Joined: Fri Aug 03, 2007 10:57 am
Location: From the land of the Bodgers

Re: General Raspberry Pi stuff

Post by Neal » Thu May 14, 2020 8:09 pm

Yup used the official pihole container, doesn’t work for me on a bridge network. Used mrtestone for LMS as stated works well. You need a dhcp relay for a bridge network afaik...
Only the Sith deal in absolutes.

User avatar
jack
Social outcast
Posts: 3659
Joined: Wed Dec 29, 2010 8:58 pm
Location: ɐılɐɹʇsnɐ oʇ ƃuıʌoɯ ƃuıɹǝpısuoɔ
Contact:

Re: General Raspberry Pi stuff

Post by jack » Sun May 17, 2020 9:53 pm

So very, very close :)

https://github.com/raspberrypi/rpi-eepr ... e-notes.md

BTW, Neal - why are you using a bridged network? I have a wireless bridge between my office/workshops and the main house, but I operate the bridge in transparent mode, thus it's essentially one larger network and all subnets are available anywhere (VLANs permitting).

DHCP is fine in that mode (obviously).
Vivitur ingenio, caetera mortis erunt

Neal
Needs to get out more
Posts: 1949
Joined: Fri Aug 03, 2007 10:57 am
Location: From the land of the Bodgers

Re: General Raspberry Pi stuff

Post by Neal » Tue May 19, 2020 2:50 pm

Bridge network in portainer....
Only the Sith deal in absolutes.

User avatar
jack
Social outcast
Posts: 3659
Joined: Wed Dec 29, 2010 8:58 pm
Location: ɐılɐɹʇsnɐ oʇ ƃuıʌoɯ ƃuıɹǝpısuoɔ
Contact:

Re: General Raspberry Pi stuff

Post by jack » Sat May 23, 2020 5:09 pm

Pi-hole V5 is out - just upgraded, so will see how it fares - it's a BIG upgrade - many things changed.

https://github.com/pi-hole/FTL/releases

Updated all the RPis in the house - 9 of them. Tedious job.
Vivitur ingenio, caetera mortis erunt

SimonC
Old Hand
Posts: 535
Joined: Mon Sep 24, 2007 11:34 am
Location: West Yorkshire

Re: General Raspberry Pi stuff

Post by SimonC » Sun May 24, 2020 9:33 am

Looks like USB boot for Pi-4 has just been released in beta:
https://www.tomshardware.com/uk/how-to/ ... y-pi-4-usb

Simon C

User avatar
ed
retired
Posts: 4225
Joined: Thu Jun 21, 2007 4:01 pm
Location: yorkshire
Contact:

Re: General Raspberry Pi stuff

Post by ed » Sun May 24, 2020 9:39 am

that's interesting Simon...I was under the impression it was already long in the tooth...

I was going to implement this:

https://www.stewright.me/2019/10/run-ra ... erry-pi-4/

and my understanding(possibly naively) was that it would boot from the usb stick....

as you can guess, I haven't done it yet.

edit:
I'm a bit slow here..I've just discovered these:
https://www.amazon.co.uk/Hard-Drive-Doc ... 1480103031
Maybe get the whole music collection here and dispense with using the nas to stream.
There's nowhere you can be that isn't where you're meant to be

User avatar
jack
Social outcast
Posts: 3659
Joined: Wed Dec 29, 2010 8:58 pm
Location: ɐılɐɹʇsnɐ oʇ ƃuıʌoɯ ƃuıɹǝpısuoɔ
Contact:

Re: General Raspberry Pi stuff

Post by jack » Sun May 24, 2020 10:04 am

There seems to be a bit of confusion about this.

I posted a link to the Pi 4 boot ROM release notes a few days ago (see above) - on the 15th May a note was published saying beta work was complete and that the new eeprom binaries would soon be available, but I haven't seen them yet, even on the beta stream (as of yesterday).

What ed is referring to has been around for a while for the pi 4 - it's booting of an uSD card then running off the USB MSD, not natively booting directly from USB as you can with the Pi 3B+.

What I'm waiting for is the Pi 4 native USB MSD boot, and that's almost there - should out be a few days. The whole object is to not have to use a uSD card at all.

Toms Hardware seem to have jumped the gun slightly.
Vivitur ingenio, caetera mortis erunt

User avatar
Nick
Site Admin
Posts: 12512
Joined: Sun May 06, 2007 10:20 am
Location: West Yorkshire

Re: General Raspberry Pi stuff

Post by Nick » Sun May 24, 2020 11:02 am

What I'm waiting for is the Pi 4 native USB MSD boot, and that's almost there - should out be a few days. The whole object is to not have to use a uSD card at all.
Ahh. I was wondering about this when it was first posted, I assumed that it would be simple to have a first stage boot loader run on the sd card loading the boot image from elsewhere. Similar to what UEFI or before that BIOS does. I see what was wanted was more than that.
Resistance isn't futile it's V / I.

User avatar
jack
Social outcast
Posts: 3659
Joined: Wed Dec 29, 2010 8:58 pm
Location: ɐılɐɹʇsnɐ oʇ ƃuıʌoɯ ƃuıɹǝpısuoɔ
Contact:

Re: General Raspberry Pi stuff

Post by jack » Sun May 24, 2020 12:15 pm

Nick wrote:
Sun May 24, 2020 11:02 am
What I'm waiting for is the Pi 4 native USB MSD boot, and that's almost there - should out be a few days. The whole object is to not have to use a uSD card at all.
Ahh. I was wondering about this when it was first posted, I assumed that it would be simple to have a first stage boot loader run on the sd card loading the boot image from elsewhere. Similar to what UEFI or before that BIOS does. I see what was wanted was more than that.
Indeed - the Pi 4 has a completely different boot process to any other Pi - there is now a separate boot eeprom with distinct firmware from that of the main CPU. The Pi 3B+ can boot happily without an uSD card installed - it can boot directly from USB MSD, which is great and a far more reliable process (for long-term stability) than booting from the uSD as normal, then having the root partition on the MSD - eventually, the uSD will die.

So, what I want is what I already do on the 3B+ devices - I want the M.2 drive I have on the 3B+ on the Pi 4, and then to boot off it with no sodding about (technical phrase, that). Just flash it with Etcher or similar, then boot directly off it. No uSD need even darken my workshop again...
Vivitur ingenio, caetera mortis erunt

User avatar
ed
retired
Posts: 4225
Joined: Thu Jun 21, 2007 4:01 pm
Location: yorkshire
Contact:

Re: General Raspberry Pi stuff

Post by ed » Sun May 24, 2020 1:52 pm

well now that you've alerted me to the frailty of the sd cards that is exactly what I want as well....just usb boot....and preferably with one of those external ssd things I linked to....

oh waily waily another reminder of the memory problem...I just wanted to telnet into the pi4 lamp machine to see what gives with the boot situation and I have absolutely no memory of setting it up, no more than 3 weeks ago, no memory of the user or password I used at all. I even had to struggle to remember where I would have stored that information.....oh waily!
There's nowhere you can be that isn't where you're meant to be

User avatar
pre65
Amstrad Tower of Power
Posts: 18491
Joined: Wed Aug 22, 2007 11:13 pm
Location: North Essex

Re: General Raspberry Pi stuff

Post by pre65 » Sun May 24, 2020 1:57 pm

ed wrote:
Sun May 24, 2020 1:52 pm
and I have absolutely no memory of setting it up, no more than 3 weeks ago, no memory of the user or password I used at all. I even had to struggle to remember where I would have stored that information.....oh waily!
Welcome to the autumn part of our lives ED. :wink:
Life is what happens to you while you're busy making other plans. John Lennon

G-Popz THE easy listening connoisseur. (Philip)

User avatar
jack
Social outcast
Posts: 3659
Joined: Wed Dec 29, 2010 8:58 pm
Location: ɐılɐɹʇsnɐ oʇ ƃuıʌoɯ ƃuıɹǝpısuoɔ
Contact:

Re: General Raspberry Pi stuff

Post by jack » Sun May 24, 2020 2:58 pm

I now standardise on the free version of LastPass.

None of the very small number of key passwords are in there (I only have to remember those) but all the others are - 100s of them. It also means that I can use a different "randomly" generated password for each site.

Quite like LastPass...

Also: use SSH - I have disabled telnet on every device - it's a massive hole.
Vivitur ingenio, caetera mortis erunt

User avatar
Nick
Site Admin
Posts: 12512
Joined: Sun May 06, 2007 10:20 am
Location: West Yorkshire

Re: General Raspberry Pi stuff

Post by Nick » Sun May 24, 2020 3:48 pm

eventually, the uSD will die.
Do they die when only used to read from?
Resistance isn't futile it's V / I.

User avatar
jack
Social outcast
Posts: 3659
Joined: Wed Dec 29, 2010 8:58 pm
Location: ɐılɐɹʇsnɐ oʇ ƃuıʌoɯ ƃuıɹǝpısuoɔ
Contact:

Re: General Raspberry Pi stuff

Post by jack » Sun May 24, 2020 4:52 pm

Nick wrote:
Sun May 24, 2020 3:48 pm
eventually, the uSD will die.
Do they die when only used to read from?
My understanding is that its write cycles that are the issue, not read, though SD cards do evetually simply "forget" after a few years as the charge in the cells slowly bleeds away...

So, just booting off an SD card and running off the USB MSD works, but IMHO is an unnecessary complexity.

Simple is good; do away with the SD card.
Vivitur ingenio, caetera mortis erunt

Post Reply