IcedRaktajino

joined 1 year ago

The only tricky bit is forcing the Pi's USB port into host mode by default. I thought the hub was defective but it worked when I put an OTG adapter into the micro USB port. The default auto detect behavior doesn't work with this since it doesn't connect to the OTG pin.

I had to edit /boot/firmware/config.txt and add under the [all] section:

[all]
dtoverlay=dwc2,dr_mode=host
[–] IcedRaktajino@startrek.website 0 points 2 days ago (2 children)

They can browse for free to see what it's about. That's how ArsTechnica works, and I've been a subscriber there for 10+ years.

Sometimes a little bit of friction and slight gatekeeping is a good thing. As my massive block list can attest, not everyone who signs up here makes the fediverse a better place.

[–] IcedRaktajino@startrek.website -3 points 2 days ago (4 children)

Still get the benefit of the determined people funding the instances they're using.

 

Not a large fee. Just something like the local equivalent of $10 USD.

The deposit sits in escrow during a probationary period while the new account holder has to prove they're here with good intentions. If the account starts spamming, advertising, trolling, or plugging their slop-coded garbage, they get banned and forfeit the deposit to the instance they signed up with. If they interact in good faith for the "probationary" period without showing signs of being an LLM bot / gaming the system / "karma farming", the deposit gets refunded in full and they exit the probationary period.

If they don't interact enough to prove their intentions here a good, the deposit still gets refunded in full but the account gets banned.

This would virtually eliminate drive-by spam and trolls while also funding instances and encouraging positive engagement.

Is it feasible? Probably not. Is this an idea likely to be popular? Nope, otherwise I wouldn't be posting it here. Do I think this is a good idea? Yep.

Check this out: https://hackaday.com/2026/07/20/old-ssds-find-new-life-as-game-cartridges/

Just saw it on Hack a Day and remembered this post. It's using old SSDs instead of SD cards but is basically what you're describing.

And they're using auto launch scripts like I mentioned in my first comment and a whitelist to address security.

[–] IcedRaktajino@startrek.website 1 points 2 days ago (2 children)

https://www.amazon.com/dp/B01K9IVUYM

I bought that earlier this year. Works great. Have two RTL-SDRs hooked into it along with a Meshtastic node. It mounts under the Pi Zero so you still have your headers available for other stuff.

[–] IcedRaktajino@startrek.website 11 points 3 days ago (14 children)

Every time I play Skyrim:

"You are carrying too much to be able to run"

Inventory:

  • ...
  • 30 "Solution of Strength" potions

Me: But I might need those later.

[–] IcedRaktajino@startrek.website 11 points 3 days ago* (last edited 3 days ago)

Riker could have gone for a real power move in the last panel:

"That was a compliment, Doctor. You're the beard here. And yes".

Lol, no. And if you were expecting something clever like a goat, sorry to disappoint lol. Just a basic battery-electric push mower that I've charged from solar panels all season.

[–] IcedRaktajino@startrek.website 14 points 4 days ago* (last edited 4 days ago) (2 children)

Check back in 2-3 years when I (hope to) get an EV. I'm sure I'll be crowing about it then 😆

In the mean time, would you like to hear about my solar powered lawn mower?

The usable south-facing roof area is full, unfortunately. I'll have to do ground mount in the back yard and run a bunch of conduit if I want to add any more PV.

The 32 kWh of batteries are made of two 16 kWh batteries in parallel. Since this system is in lieu of a backup generator, I have it configured to only draw the batteries down to 50%. That leaves the bottom 16 kWH available for emergency use. Basically, for day to day usage, I treat the battery as being half the capacity it really is.

I've only been running this system for about 3 weeks now, but the batteries have been operating between 65% and 90% pretty consistently even running the A/C pretty heavily. They've been closer to low 60s this past week, but the wildfire smoke was choking out the sunlight Thursday and Friday.

[–] IcedRaktajino@startrek.website 2 points 4 days ago (1 children)

about $0.06 USD/kWh

😭 The per-kilowatt hour rider fees on top of my base rate per kWh are way more than that lol.

[–] IcedRaktajino@startrek.website 2 points 4 days ago* (last edited 4 days ago) (3 children)

Lol, def can become an obsession. First hand experience there.

I've wanted a whole house PV system for a long time, and this is just me finally getting around to making it happen. SO and I were talking about getting a backup generator installed, but that would have been about $7,000 for something that would only get used two or three times a year since our power doesn't go out often (we have no heat or ability to cook when the power goes out, and it's always in the dead of winter when we lose power). The PV system I sketched out was about $9.000, but in addition to covering us during outages, we could use it daily to reduce electric bill so, unlike the generator, this would pay for itself over time.

SO finally came around to my way of thinking, so here we are lol. My limiting factor is usable roof area. Of the roof that's south facing, only about 14x20 feet of it is suitable for mounting panels. There's a west-facing gable, but it's blocked most of the time by a tree. The east-facing side of the gable is available, but it's pretty much always foggy in the mornings here, so it wouldn't add much to the system.

Unless I build a ground mount setup in the back yard, we're pretty much at the limit of how many panels I can buy. I'm kind of glad for that because otherwise I'd just keep buying them.

 

Yes, it was, in fact, a Unix system.

Everything in the set was real. We couldn’t fake any of it, because audiences are so sophisticated now in their knowledge of computers. All told, $875,000 worth of computer hardware loaned by Silicon Graphics, $350,000 worth from Apple and some $500,000 in additional hardware and software went into equipping both the set and off-stage control room.

The Ars article is just a summary of this: https://fabiensanglard.net/jurrasic_park_computers/index.html

 

Yes, thank you so much. I totally wanted and have time for a scavenger hunt + jigsaw puzzle. Clearly you understand enough of the issue to know that I need to handle it but can't be bothered to spend 45 seconds to summarize the relevant bits.

 

By popular demand from this post, here's the write-up for my version of that travel server.

The travel server is shown with the, currently, bare 5V UPS board to its right. One day I hope to have a 3D printed case for both of those, but they're currently separate as my 3D modeling skills are basically non-existent. The power cable is wrapped in aluminum foil and then wrapped in electrical tape due to EMI from the wifi adapter causing random glitches. A ferrite bead would probably solve that more elegantly, but I didn't have any on hand so made due with what I have.

Hardware

  • Banana Pi M4 Zero
    • 1.5 GHz Quad Core ARM64
    • 4 GB RAM
    • 32 GB eMMC
    • 1 TB Samsung PRO Plus SD Card (bought before prices went nuts)
  • Li-2B UPS Board + 2x 3,000 mAh 18650 batteries
  • USB-C to USB-A 90 degree angle adapter
  • USB Nano Wifi adapter

Note: Unlike the Pi Zero, these have two USB ports. One is configured in host mode and the other in peripheral mode.

Features and Capabilities

  • Multiple wifi clients can use this for network access
  • Multiple "WAN" options
  • Multiple VPN connections (OpenVPN, Wireguard, IPSEC) e.g.
    • Privacy VPN for general internet traffic
    • Wireguard to connect back to home network
  • Ad-blocking via PiHole
  • Local file sharing via Samba/SMB
  • Locally-hosted web applications with valid hostnames and valid SSL certs (via Let's Encrypt).
    • SearxNG
    • Jellyfin
    • Pairdrop
    • CodeServer
    • Snapcast Server
    • myMPD (MPD web UI)
    • Kiwix (including full Wikipedia dump with images)
    • NodeRED
    • CalibreWeb

Travel Router / Access Point

For internet uplink, there are multiple options depending on need. By default, the internal/bulit-in wi-fi is the internet uplink and the USB wi-fi adapter is the client-facing AP interface. This is how I normally keep it configured in my use-cases.

Alternatively, the built-in wi-fi can be used as the client-facing AP and the uplink to the internet can be provided by a USB-tethered smartphone or a USB ethernet adapter --OR-- the internet uplink can be omitted entirely and either the USB or built-in wifi adapters can serve clients (or both: one in 2.4 GHz mode and the other in 5 GHz mode). Fortunately, the built-in wifi chip in the Banana Pi works well in AP mode but that's not always the case (cough Orange Pi Zero W2 cough).

If a PC is connected to USB0 (the OTG port), the device will act as an ethernet gadget. The travel server will add its end of the usb0 interface into the LAN bridge along with the client-side AP. This means the connected PC will be on the same LAN as the wireless clients.

It's also possible to add a USB ethernet adapter and bridge it into the LAN side as well.

Depending on configuration, a small USB-C hub may be needed. I've got one that includes a USB A port, ethernet port, and additional USB C port.

VPNs can also be configured as needed. I've got a privacy one that can route all traffic as well as a Wireguard one that connects back to my home LAN when I'm using it remotely.

DHCP and DNS are both provided by PiHole

Reverse Proxy

All applications hosted on the travel server are fronted by Nginx and use valid Let's Encrypt certificates. This eliminates the need to install a custom CA cert in end devices or have the clients accept an untrusted self-signed cert.

This also ensures all applications are protected by TLS which is required for full functionality of some applications.

How does that work?

The hostname of the travel server (mobile) is a subdomain of my personal, project domain (mydomain.xyz). All applications are a subdomain of that (e.g. jellyfin.mobile.mydomain.xyz), and I simply request a wildcard cert from Let's Encrypt for *.mobile.mydomain.xyz. Currently, Let's Encrypt requires the use of DNS validation when requesting wildcard certificates.

Movies/TV

Movies and TV shows are provided by Jellyfin and are stored on the 1 TB SD card. I've tested 4 simultaneous streams, and the travel server didn't even break a sweat. Granted, it's not transcoding anything so I believe I'm mostly limited by USB, wifi, and/or SD card bandwidth in that regard.

For reliability, the Jellyfin database is stored on the internal 32 GB eMMC rather than the SD card. This both reduces wear and tear on the card as well as proves to be faster and more reliable.

CPU transoding is a non-starter, and the GPU drivers for these boards isn't exactly well supported. The GPU drivers also rely on V4L which Jellyfin has deprecated for hardware transcoding, so I opted to forego transcoding entirely.

To load movies/TV shows on here, I pre-process them with ffmpeg in the following way:

  • Scale to 720p to save space
  • Encode to H.264 in an MP4 container (including subtitles as mov_text if available) in yuv420p pixel format to avoid the need for remuxing or transcoding
  • Map only the primary English audio and subtitle streams to further save space
  • Downmix multi-channel audio to two-channel stereo

Music

Music is provided by a combination of MPD and Snapcast and the library is also stored on the 1TB SD card.

MPD manages the music collection while Snapcast allows synchronized multi-room audio and connecting receivers via wifi.

For local playback, I use myMPD web UI and use its streaming feed or use the MPD and Snapcast clients on the end device. There's also a Snapcast client installed on the travel server itself, so if you add a USB speaker it can playback music directly.

Books

It runs Calibre-Web to manage my book collection which is also stored on the 1 TB SD card. When my phone is connected to its wifi, it can use my FBReader app to connect to the Calibre library over OPDS to download books.

Development

The travel server runs CodeServer which is an un-Microsofted web-based version of VSCode. You can set that up however you want, but I've got it setup for:

  • React / NextJS development
  • Python development
  • ESP8266/ESP32 development with Platform.io

Other services it runs to facilitate development include:

  • NodeJS and Bun
  • Postgres (via Docker)
  • Mosquitto MQTT
  • Redis
  • CouchDB
  • NodeRED

Offline Knowledge

Kiwix is installed with a large selection of ZIMS for offline reference.

  • DevDocs for React, Bun, NodeJS, ExpressJS, NextJS, etc. Pretty much every major libarary and framework I work with has offline docs
  • Full text Wikipedia dump with images (approx 130GB)

Search

I installed SearxNG so I always have an ad-free, AI-free, no BS search engine available.

File Sharing

The travel server has a few different ways to share files:

  • Samba (SMB) shared folder
  • PairDrop for quick and easy one-to-one local sharing in the browser or phone app
  • SSHFS (alternative method of accessing the SMB shares

Future Plans / Not Yet Implemented

  • Add data passthrough to the UPS board so a host PC can charge the UPS/power the travel server while also enumerating it as a USB ethernet device. Currently the UPS board only passes power and plugs into the peripheral USB port.
  • Add some kind of tile server and map viewer. Inspired by this project.
  • Set up captive portal so Android (and probably Apple, too) devices don't freak out if there's no internet uplink. Currently requires an annoying "Stay connected to this network" and enabling airplane mode so that DNS will work over the wifi connection if there's no internet uplink available.
  • Make a web UI to manage services/configs. Currently, config changes require SSH-ing in and modifying the config directly. I do have preset configs for different "modes" but you still have to swap them around by hand.
  • Design and 3D print a case that can hold the UPS board and the travel server itself while allowing the travel server to be "ejected" (basically I imagine it slotting into it from the outside and connecting to fixed USB and mini HDMI connectors embedded in the case).
 

Decades before we had HomeAssistant, you could hook your IBM PC, Commodore 64, TRS-80, and several other vintage home computers into an X-10 interface and control your devices from your PC.

Our 1996 IBM Aptiva came with the IBM Home Director which was based on the same X-10 hardware and had a nice GUI.

 

The lone exception is Pudding in a Cloud because it's delicious.

view more: next ›