Go to advanced search

by BeauSlim
Wed Nov 10, 2021 10:44 pm
Forum: General discussion
Topic: overclocking settings Pi Zero2 W
Replies: 16
Views: 3175

Re: overclocking settings Pi Zero2 W

arm_freq=1200 over_voltage=2 core_freq=500 This seems to be a very stable overclock for me with a 19x19x9 mm sink thermal taped on. No fan. It settles at about 52C after a long 1c stress run and 73C after a long 4c stress run. 1400 crashed often long before warming up and 1300 still saw the occasio...
by BeauSlim
Sun Nov 07, 2021 10:30 pm
Forum: Advanced users
Topic: mirror ssh session on 128x64oled display
Replies: 2
Views: 139

Re: mirror ssh session on 128x64oled display

Usefulness is going to be pretty limited, even using a very tiny font like Tom Thumb.
If you haven't sourced an OLED yet, I'd recommend getting one with SPI available instead of just I2C.
by BeauSlim
Mon Oct 25, 2021 11:02 pm
Forum: Advanced users
Topic: aarch64 openssl speedup
Replies: 16
Views: 664

Re: aarch64 openssl speedup

I haven't seem much talk about it in the Pi community, but if you need faster crypto, there is MT-AES-CTR from the HPN-SSH project:
https://www.psc.edu/hpn-ssh-home/hpn-ssh-faq/
by BeauSlim
Sat Oct 23, 2021 8:03 pm
Forum: Advanced users
Topic: How to create an automatic secondary boot if the first one fails by editing cmdline.txt?
Replies: 8
Views: 513

Re: How to create an automatic secondary boot if the first one fails by editing cmdline.txt?

tryboot definitely looks like it could help provide a fallback boot when enhanced with some scripting. It would be nice to avoid resorting to EFI or grub. I see that you can also specify an alternate boot partition (eg. reboot '3 tryboot'), which might lend itself to some interesting A + B + rescue ...
by BeauSlim
Fri Oct 22, 2021 7:29 pm
Forum: Advanced users
Topic: How to create an automatic secondary boot if the first one fails by editing cmdline.txt?
Replies: 8
Views: 513

Re: How to create an automatic secondary boot if the first one fails by editing cmdline.txt?

This is something that I've just started working on myself. Having a rescue fallback on boot failure is really helpful for IoT/embedded/remote installations. There seem to be quite a few choices if you want to choose an OS manually via keyboard, touch screen, or even GPIO pin, including Multiboot, N...
by BeauSlim
Thu Oct 14, 2021 12:15 am
Forum: Compute Module
Topic: An example python pwm fan cotroller
Replies: 9
Views: 471

Re: An example python pwm fan cotroller

Thanks!

Your timing is perfect. My waveshare -B board just arrived (to replace the -A) so I needed a different PWM control for Ubuntu 64 and your script works without modification.

The anti-hunting feature is much appreciated.
by BeauSlim
Sun Sep 26, 2021 6:11 pm
Forum: Networking and servers
Topic: RaspberryPi connection to Fanuc controller
Replies: 3
Views: 509

Re: RaspberryPi connection to Fanuc controller

This is generally referred to as a "client bridge".
There are solutions for this from many of the usual suspects (Phoenix Contact, etc.) that are rated for use in industrial environments.
by BeauSlim
Sun Sep 26, 2021 5:30 pm
Forum: Networking and servers
Topic: Wifi for internet and Lan for plc
Replies: 5
Views: 551

Re: Wifi for internet and Lan for plc

193.x.x.x is a public, routeable block that belongs to someone. Making up random IP addresses is a bad idea. Best case, you will have issues reaching certain sites on the net. Worst case your firewalls won't filter them. Use addresses in these ranges for internal networks: 192.168.0.0 – 192.168.255....
by BeauSlim
Sat Sep 25, 2021 7:11 am
Forum: Compute Module
Topic: opinions on cm4 heatsink design/requirements
Replies: 23
Views: 1308

Re: opinions on cm4 heatsink design/requirements

The game machine doesn't seem completely unreasonable. Many of those game emulators aren't that high load and run reasonably well even on a Pi Zero if the display is low-res. In the video's comments he suggests that they are taking temperature into account, going so far as to move WiFi to an externa...
by BeauSlim
Thu Sep 23, 2021 9:38 pm
Forum: Compute Module
Topic: opinions on cm4 heatsink design/requirements
Replies: 23
Views: 1308

Re: opinions on cm4 heatsink design/requirements

Looks good. I like that the flare on your camera version looks like it also acts as a stand to angle the cameras a bit. I can't share mine yet. Printer hot-end went kaboom on me. Replacement should be here Monday. Speaking of component shortages, the 2242 SSD I ordered still hasn't arrived, so I'm t...
by BeauSlim
Tue Sep 21, 2021 5:26 am
Forum: Compute Module
Topic: CM4 throttling problem with nvme SSD
Replies: 0
Views: 277

CM4 throttling problem with nvme SSD

Hardware: CM4 with 4GB RAM, 8GB MMC, WiFi Waveshare CM4-IO-BASE-A (with m.2 m key slot) ADATA SX8200PNP 256GB NVMe SSD Software: RasbperryPiOS 32 (buster, now with updated kernel via rpi-update) July bootloader update Booting from MMC, not NVMe. Problem: I'm testing SSD speeds using Jeff Geerling's ...
by BeauSlim
Mon Sep 20, 2021 8:50 pm
Forum: Compute Module
Topic: opinions on cm4 heatsink design/requirements
Replies: 23
Views: 1308

Re: opinions on cm4 heatsink design/requirements

Something else I've read that might help is shrouding the fan/heatsink. By that i mean putting something over the top of the heatsink so that air has to pass through all fins to exit the case via the fan. Laptops pretty much do it that way. Shrouds definitely help, but I suspect that on smaller sca...
by BeauSlim
Sun Sep 19, 2021 1:40 am
Forum: Compute Module
Topic: opinions on cm4 heatsink design/requirements
Replies: 23
Views: 1308

Re: opinions on cm4 heatsink design/requirements

Those really flat, thick heat sinks are designed for bursty loads and slow dissipation with low noise. Not great for fast dissipation under constant load. And they trap air underneath them. I like to use recycled "Northbridge" sinks from old PCs. They are usually 38x38mmx30mm (or so). They...
by BeauSlim
Thu Sep 09, 2021 6:12 am
Forum: Python
Topic: Help using Luma.OLED/PIL to continuously scroll text horizontally
Replies: 6
Views: 627

Re: Help using Luma.OLED/PIL to continuously scroll text horizontally

I am a huge fan of luma, but (being a pure python library) it does not scroll horizontally over i2c at a pleasing speed. The raspioled library uses a C back-end to drive the OLED and updates much faster. https://github.com/h-nari/raspioled The documentation is almost entirely in Japanese, but I figu...
by BeauSlim
Thu Sep 09, 2021 4:05 am
Forum: Troubleshooting
Topic: ShairPlay (Apple AirPlay): change icon that shows up on iOS?
Replies: 1
Views: 222

Re: ShairPlay (Apple AirPlay): change icon that shows up on iOS?

Interesting question. I like to do this sort of thing, too, but I don't see any options in the shairport-sync docs or source code. Being able to inspect mdns records with something like Discovery on macOS will probably help a lot. This is just a guess, but you might try messing with the string that ...
by BeauSlim
Tue Jul 13, 2021 5:17 pm
Forum: Networking and servers
Topic: Weird behaviour - Rasp is setting ISP IP as DNS Server in /etc/resolv.conf
Replies: 3
Views: 392

Re: Weird behaviour - Rasp is setting ISP IP as DNS Server in /etc/resolv.conf

RaspberryPiOS *is* a bit "weird" when it comes to networking, since they use dhcpcd instead of a more typical setup like network-manager or ifupdown. At least they don't seem to use systemd-resolved. man dhcpcd.conf and man 8 resolvconf You might also disable ipv6 completely by adding ipv6...
by BeauSlim
Tue Jul 06, 2021 6:40 pm
Forum: Networking and servers
Topic: Pi Zero W with pi-hole to handle DHCP and DNS
Replies: 21
Views: 1337

Re: Pi Zero W with pi-hole to handle DHCP and DNS

There probably isn't a need for the Zero to do DHCP assuming that you can specify the Zero's IP in your router configuration as the DNS server.

As far as filtering goes, you are aware that most any client can plug 8.8.8.8 into their own DNS settings and bypass PiHole, right? Just checking.
by BeauSlim
Tue Jul 06, 2021 6:26 pm
Forum: Networking and servers
Topic: Raspberry Pi as Client Bridge
Replies: 2
Views: 406

Re: Raspberry Pi as Client Bridge

DIY client bridging is kind of a voodoo thing. Going with a more typical NAT setup (and port forwarding so clients on the WiFi can reach hosts behind your Pi) will be simpler. Yes, try WDS via OpenWRT first. If that doesn't work, you might try proxy ARP. It has been a long time, but I have used it. ...
by BeauSlim
Sun May 23, 2021 7:56 pm
Forum: Camera board
Topic: RTSP stream cutting out
Replies: 8
Views: 1340

Re: RTSP stream cutting out

I use motioneyeOS on a pi zero w to send video from a v2 camera via the RTSP streaming feature. I view with vlc on both mac and linux. The only timeout issues I experience seem to be related to wifi dropping. A stream can go for hours. I do recall upping the buffer size in VLC. Beyond that, maybe lo...
by BeauSlim
Fri Apr 09, 2021 1:02 am
Forum: Camera board
Topic: MotionEye OS RTSP stream
Replies: 2
Views: 6287

Re: MotionEye OS RTSP stream

A late reply but after much digging today I found the solution is to use a URL of the form:

rtsp://MOTIONEYEOS_IP:554/h264

At least with vlc, the port number seems to be optional since 554 is the default for rtsp.
by BeauSlim
Sat Feb 20, 2021 11:31 pm
Forum: Networking and servers
Topic: Pi 4 as home wifi router?
Replies: 16
Views: 17537

Re: Pi 4 as home wifi router?

Jeff Geerling recently did a vid about a crazy 12x m.2 slot PCIe card that works with the CM4 (https://www.youtube.com/watch?v=Ozwyh_Pfe6g). Definitely overkill and expensive, but a single slot m.2 or mPCIe carrier for the CM4 could make for an inexpensive but capable simultaneous dual-band router.
by BeauSlim
Wed Dec 16, 2020 4:49 pm
Forum: Ubuntu
Topic: Auto Provisioning Ubuntu 64-bit (Bare Metal Builds)
Replies: 1
Views: 669

Re: Auto Provisioning Ubuntu 64-bit (Bare Metal Builds)

This is almost certainly possible using PXE and TFTP. I've looked at MAAS but never tried it. Looks very interesting for Pi clusters. I see that someone has at least one Pi4 working as you suggest: https://discourse.maas.io/t/raspberry-pi-4-provisioning-and-kvm-pod-setup/3607 Please update on your p...
by BeauSlim
Thu Oct 08, 2020 12:25 am
Forum: Ubuntu
Topic: PI 4 and Ubuntu 20.04 (Focal) - Gigabit Issue
Replies: 14
Views: 1262

Re: PI 4 and Ubuntu 20.04 (Focal) - Gigabit Issue

Do not turn off flow control. Er, well, actually try twiddling all the options. It won't catch fire. I mentioned it because I've seen flow control issues with Pis and consumer switches. It was probably old (100Mbit) Pis connecting to Gbit switches, though. It is older and may have a completely diff...
by BeauSlim
Thu Sep 24, 2020 5:51 am
Forum: Ubuntu
Topic: SSH, Getty Taking Long Time To Start
Replies: 2
Views: 305

Re: SSH, Getty Taking Long Time To Start

By any chance did you change the hostname but not update /etc/hosts?

Go to advanced search