I finally found a use case for the Raspberry Pi that I got a decade ago. Wasn’t sure which model it is, turns out: Raspberry Pi Model B Rev 2. That’s the very first model, really ancient.
Which means that I needed Raspberry Pi OS (Legacy) for it. But despite “Legacy” it’s current – October last year. And it just worked.
And then I needed a browser. Not necessarily current, it wouldn’t connect to arbitrary websites. The preinstalled Chromium immediately refused to work on such outdated hardware. And internet discussions indicated that things would be similar for Firefox.
Yet Firefox not only installed but started as well. And it is Firefox 102 ESR which was discontinued merely a year ago – compared to the hardware this is brand new. Wow!
(No, I’m not recommending running Firefox on this device for regular browsing, it’s horribly slow. But for my purpose it might do.)
=> More informations about this toot | More toots from WPalant@infosec.exchange
And now that I got a spare WiFi dongle, this Raspberry Pi is actually doing its job. I ended up using Midori 7.0 instead of Firefox – it goes easier on resources of which this platform doesn’t have too many. Even starting this browser takes close to a minute.
Yet while Midori browser itself it quite outdated (the vendor decided to develop a Chromium fork instead), it uses webkit2gtk and that one is recent enough to run modern JavaScript code without any trouble whatsoever.
The biggest challenge was getting all hardware to work. The WiFi dongle required a custom kernel module which turned out to be rather simple – thanks to some people who forked Realtek’s original drivers and patched them up for newer Linux kernels.
But automating the system, making sure that it displays a single application window in fullscreen mode on boot – that was fairly trivial. I didn’t even need to connect any input devices while setting this up. Quite a breeze after having to deal with Android before.
=> More informations about this toot | More toots from WPalant@infosec.exchange
@WPalant
Now i am excited to hear of this use case - if it is not too personal and may be helping someone else.
=> More informations about this toot | More toots from alex_mastodon@troet.cafe
@alex_mastodon The use case is displaying a single webpage (dashboard). For years I’ve been using old tablets for that but they aren’t meant to be run continuously on AC power. A Raspberry Pi should be more reliable, and it can command a better display.
Originally, all the logic was contained in that web page. But eventually I’ve moved much of it into a Rust-based web server which is running on my home router. So the requirements on the device displaying the page aren’t exactly high now.
=> More informations about this toot | More toots from WPalant@infosec.exchange
@WPalant
👍 Thanks
Using tablets continuously on AC power only works with software charge limit or a "chargie" device.
=> More informations about this toot | More toots from alex_mastodon@troet.cafe This content has been proxied by September (3851b).Proxy Information
text/gemini