diary @ telent

Tunnel Vision#

Sun 19 Feb 2023 11:42:36 AM UTC

Topics: liminix

This week in Liminix: am happy to report that the rewritten PHRAM/tftpboot stuff almost worked first time, and the delta between first and second time was just a simple syntax error. The GL-AR750 boots :-)

Most of this week was spent on tooling and infra to make Actual Hardware Development simpler.

Trivial Fix, Transmits Packets

I mentioned last week that I'd written a TFTP server that plays nice with Nixpkgs conventions (doesn't expose all of /, but does follow symlinks so I can serve files like result/uimage). (When I say "written" it's really a thin wrapper around someone else's library). After hooking up to a client, it turned out not to be 100% bug free, so spent some time fixing problems in the way it uses luasocket.

Border Network Gateway

(A tip: performing internet searches for the term "BRAS" - Broadband Remote Access Server - may not yield the intended results if you don't add some qualifiers)

Here in the UK, the interface between your home router and the internet that comes into the house is probably PPPoE (PPP over Ethernet). Unless it's DHCP ...

So the tl;dr is that PPPoE is an important use case for a home router - but if you have to order in a second fibre line to the property to try it, that rather reduces the opportunities for people to hack on it. So this is why I've been working on bordervm - a QEMU VM I can use with a passthru PCI ethernet card, that provides a PPPoE service and relays it to an L2TP (Layer 2 Tunneling Protocol) somewhere on the Internet. Mine is from Andrews & Arnold but presumably others also exist.

Writing Things Down

The Liminix README file was getting very long and quite unstructured - and it seemed unlikely that trend would reverse. So I've started on writing a manual.

Tangential developments

I also upgraded my self-hosted Pleroma service from 2.4.4. to 2.5 and it seems to be a lot faster and less timeout-y (here's hoping it stays that way). This isn't Liminix-related per se, but sort of relevant in that a lot of what I post about is Liminix. @dan@brvt.telent.net