Live data from Hacker News

Switching to 5Ghz WiFi made the Raspberry Pi fly again

moritzhamann.com

21–24 of 24 posts

Re: Switching to 5Ghz WiFi made the Raspberry Pi fly again

#21
post #20

For reliability I suppose you always want LAN.

Of course wired network is almost always faster, more reliable, and easier (no selecting ssid, no password, just plug in and it works), but it's not always an option; in an apartment you may not be able to do wired, or placement of the machine can render it impractical.

Re: Switching to 5Ghz WiFi made the Raspberry Pi fly again

#22

You can set BandModifier2_4GHz=0.01 to make 2.4GHz 1/100th as preferred in the excellent excellent iwd daemon (or 0 for disable). https://man.archlinux.org/man/iwd.config.5.en#Rank

Oh that's clever - not disabling/forcing it outright, but preferring one frequency over the other(s).

Re: Switching to 5Ghz WiFi made the Raspberry Pi fly again

#23
post #12
post #10

Earlier quoted context omitted.

If you don't need the pinouts, it's likely cheaper to get a used thin client or a N100 based machine. You'd get similar power draw, plus a case and a PSU.

It doesn't seem even close. Rasberry Pi 4 starts at €40 or so, while the cheapest N100 PC my amazon query returns is €180.

I suspect that either you care about performance and the pi loses badly, or you care about price and the pi 4 loses to... probably other pis, actually. Or used x86 off eBay. Or you care about absolute power consumption and again other pis win.

Re: Switching to 5Ghz WiFi made the Raspberry Pi fly again

#24
post #7

Cross-compiling ? Aren't M1 and Pi both ARM processors ? I've been building apps for my M1 to run on Pi without any issue. Some optimization options maybe ?

Cross-compilling from MacOS to Linux. By default OCaml does dynamic linking of all C dependencies. Even with static linking there is a dependency on libc (or the MacOS equivalent) as far as I remember. I had some success so far with Rust, Nim and Go using a musl toolchain[1], but no luck for OCaml. At the moment I'm just using a docker container which mirrors the Debian distribution running on the Pi.

[1] https://github.com/messense/homebrew-macos-cross-toolchains

Post reply on HN