raspberrypi

2993 readers
5 users here now

Community about the single-board computers, micro-controllers and related projects.

https://www.raspberrypi.com/

Other RaspberryPi communities on Lemmy

founded 4 years ago
MODERATORS
1
 
 

Friends... my new Raspberry Pi makes me crazy!!!

I would like to install Docker on the RPi5 (8 GB). I am following this guide: https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository

However, at step 2:

sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

I always get the error:

E: Package 'docker-ce' has no installation candidate
E: Package 'docker-ce-cli' has no installation candidate
E: Unable to locate package containerd.io
E: Couldn't find any package by glob 'containerd.io'
E: Couldn't find any package by regex 'containerd.io'
E: Unable to locate package docker-buildx-plugin
E: Unable to locate package docker-compose-plugin

Then I found out that at step 1:

sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update

I receive the error:

Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Ign:5 https://download.docker.com/linux/ubuntu bookworm InRelease
Err:6 https://download.docker.com/linux/ubuntu bookworm Release
  404  Not Found [IP: 18.165.183.12 443]

What I am doing wrong? :-( What am I missing? Why can't this IP be found?

Many thanks! :-)

2
 
 

cross-posted from: https://sh.itjust.works/post/20857188

I can't seem to get it to work. I always get these errors in the terminal when running the spi flash tool that they recommend:

Scanning USB port...
Search usb, timeout set as 3600000 ms

and then eventually an S_TIMEOUT. I think my thinkpad is not even detecting the orange pi at all through usb. Anybody have experience with this. The official documentation is really bad. I also seem to get this on startup of the flash tool:

QThread::setPriority: Cannot set priority, thread is not running
"05-14-2024"
QObject::moveToThread: Cannot move objects with a parent
3
4
 
 

I don't get a very detailed error message but it fails and tells me to try reinserting it. I've tried a few times. It fails at different percentages sometimes. Any thoughts or ways to get a more detailed error message? I have Mac and Linux too.

5
6
 
 

So I've got an 8GB Pi 5 with the offical Active Cooler and then the Pineberry NVME HAT on top in the Pi52 tall alumnium cooling case and thermals are not great. Looking for guidance and/or recommendations.

I already have the active cooler so I'm all out of fan headers, and I have 3 hard drives plugged in so I'm not sure about powering a whole USB fan.

I saw that Noctua finally came out with their desk fan and thought that may be a perfect solution. I was thinking of just slapping it under the Pi, but I was wondering if this would even make a difference.

Also wondering what the best configuration would be between push/pull & bottom/top or if anybody has better ideas, I'm all ears. Thank y'all!

7
 
 

Hey all! I wanted to build/buy a retro gaming console with Raspberry Pi to play roms. What is the simplest way to do this? Can I buy a Raspberry Pi that has RetroPi installed already, then just dump my roms onto it?

Thanks 👍

8
9
10
11
 
 

This seems really cool to me.

12
13
22
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 
 

DietPi is an excellent ARM SBC debian distro if you want to run a DIY NAS/media server/Pi-Hole/torrent platform.

They have a great set of CLI tools to cover most common use cases for a headless device. Personally, I found their tooling to be a great introduction to CLI linux. The baseline tools have you covered, but you can start experimenting once are comfortable with linux CLI (and you need to implement some custom solutions).

One cool feature that it has is that logging is done in RAM, thus extending the life of your SD card.

I've been using DietPi since 2018. For a relatively small distro (about ~100K users), they are very active and responsive on their communication channels.

14
 
 

"Raspberry Pi Ltd, a leader in low-cost, high-performance computing, announces that it is considering an initial public offering (the "IPO" or the "Offer") and that it intends to publish today a registration document (the "Registration Document"). The Company is considering applying for admission of its ordinary shares to the premium listing segment of the Official List of the FCA and to trading on the Main Market of the London Stock Exchange ("Admission")."

15
6
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 
 

I have a Raspberry Pi 02W running Pi-Hole and ordinarily things work perfectly, but I've got something in my house tripping my fuse box which I'm unable to locate. The tripper, not the fuse box. Anyway, what it means is occasionally, I lose power and so my router and my Pi-Hole go down.

I've configured my /etc/dhcpcd.conf so that my RPi02W can have a static IP

interface wlan0
static ip_address=192.168.1.100/24
static routers=192.168.1.1
static domain_name_servers=194.168.4.100 194.168.8.100

And have rebooted to confirm it's fine, and it's fine.

However when the router goes down and I bring everything back up, the Pi-Hole can't reconnect to the router. I can log in to the router and see it connect briefly, but it's only briefly and then nothing. I even try enabling DHCP on the router and it still refuses to reconnect. Ultimately the only way to get it to reconnect is to factory reset the router, change the password back to my usual password, wait for the RPi02W to connect and then disable the DHCP again. Needless to say it's a pain in the arse.

What am I doing wrong? How do I fix this?

#Solution I switched the DNS servers from Virgin Media to 8.8.8.8 and that seems to fix it. Not sure why, but it does.

16
17
 
 

Is this possible at all?

18
 
 

I recently acquired a Raspberry Pi 5, but I've been having a lot of difficulty in getting LUKS encryption to work. Has anyone had any luck?

Also, I am using an NVMe drive, so Raspbian is really the only OS that works well. NetBSD can see the disk, too, but I found it annoying to use; and FreeBSD ended up breaking itself. I have not yet tried Armbian.

19
20
4
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 
 

This is independent of other projects I have asked for help on. I'm just looking for anything done similar to my plan.

I am visually impaired. So tend to find most laptop pi projects way to small for common use. But also want an experimental bed for pie projects and experiments in genral.

So my idea is. I'll get a aluminium briefcase like case. Mount a 18 plus inch portable USB c powered display into the lid. It would also be nice if I could have my 15inch display fold out on a vesa mount. As an extra.

Inside the case id like to mount a large 18650 or similar lifepo4 batt. I'm thinking 4s 4p with a BMS so I can power usb 100w output with a 12v hub. This should allow out put to multiple monitors and a pie or 2.

I have a great small wireless keyboard and mouse. That could be popped in and out.

For the main board currently I'll use my waveshare CM4 poe board b with my 32/8 gb cm4.

But long term the itx cluster board looks good. When I have a bit more cash.

The main idea is it will allow me to connect multiple pcie riser cables to the boards via a 4 way wave share pcie switch to start with. Providing space to mount different boards and options as I change projects.

As folks may have seen from other projects. I move between home and my tiny narrowboat I share with my brother. So this will be more about being able to port multiple pie projects as much as being a usable PC type thing.

So if anyone has seen or worked on a project that may point to cool ways to mount this. I'd love to see them.

As I do not have a 3d printer. And cannot really argue the value for as rare as id use it. I am thinking alliminium plate cut and riveted to mount boards etc to the inside. But would love other ideas folks have seen or can come up with.

21
 
 

I've been using Chromecasts and it's gotten so slow and buggy. I was trying to cast from VLC on my phone to it and I had a ton of trouble getting it to show up and connect and after I finished streaming from my phone I tried to switch to the YouTube app and it just kept on crashing.

It's 2024, I'm tired of dealing with shitty tv streaming experiences. I want something completely uncompromising. I want a silky smooth experience and I don't want it to randomly break on my.

I'm thinking about shelling out for a shield TV, but I'd rather have control over my device since I don't want to deal with the manufacturers fucking around with my device after the fact.

I'd love to be able to set up a raspberry pi for this, but would I be able to get a seamless experience? I don't mind doing extra up front work to get it set up, but I don't want it to be an ongoing maintenance thing, and I'd like it to work with Chromecast so it's easy to stream to from a variety of devices.

Can I actually pull that off with a raspberry pi or should I go with the shield TV?

22
 
 

My laptop is having a tantrum and seems like it needs a hard-drive replacement. Not a major issue, I've been thinking about switching to a SFF Desktop for a while.

But the issue is, I have a brand new Raspberry Pi Zero 2 W that I want to install PiHole on to.

So, I grab an old phone, LG G6 and install Etchdroid, download Raspberry Pi OS from the official website and the phone keeps having a tantrum and switching the SD card adapter to charging only. I try a second adapter, still no joy. So I think fuck it, maybe the phone is too old.

I grab a newer phone, Pixel 6 Pro and attempt the same thing again and encounter the same problem again. No matter what, I don't seem to be able to flash this OS from Android.

Anyone know of a way to get me over the finish line without me having to buy new hardware?

23
24
6
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 
 

Sorry I am expecting no here. But cannot help but hope someone knows a way around the limitation.

I have a project where I plan to use an nvme on a waveshare mini b io board.

I am just now learning my way around CM4 pies. So purchased a few parts to experiment before fitting to manage stuff on my boat.

Unfortunately I did not know enough whan I got the dev cm4. Seeing as the cost difference between Emmc and lite was tiny. I decided there was little to lose with getting a Emmc one. Not knowing the EMMC uses the same pin address as the SD slot on io boards.

I now know this will mean the SD card port is not available. As I plan to use that to move software updates.

I was wondering if anyone knows a software way of enabling the internal sd port. IE basically disabling the EMMC.

If not ill just set up with a USB SD reader so all my cm4 can run identical. But if I can use the one on the board. It will be simpler. Maybe have some option to reboot the boat cm4 in either option with an emergency os on the emmc in the event of a fault.

25
 
 

In December 2017 I set up a Raspberry Pi Zero W (v1.1) with a bash script to automatically launch Chromium browser at startup in kiosk mode, wait 2 minutes, then use xdotool to change tabs.

Browser was configured to launch with 2 tabs. One was a locally hosted (static) HTML file, the other was a Google Slides slideshow. HTML file displayed a welcome message and current time (via css clock) while the slideshow loaded in the background tab.

This was working flawlessly for years.

Here's my problem
If the display was showing desktop background instead of clock/slideshow I would just SSH in and reboot to fix it ... but over the last 6 months, this "reboot fix" reliability of launching the Chromium browser has fallen off a cliff... From 100% to 50% to 10% then basically 0%

I suspected the latest version of the browser is not supported on this old Zero W ... So I formatted the SD card, burned the 32-bit Legacy version of Pi OS (bullseye) for the Zero W using imager and confirmed my suspicions.

I almost fixed the issue by launching Midori in Fullscreen mode instead, but it's displaying the navbar for some reason. Am I missing something?

For this simple use case, would I be better off running 32-bit Pi OS Lite and an X11 window manager? How?

view more: next ›