#nixwrt on qemu is sending dhcp and all the gubbins to a second qemu process that I booted using a System-Rescue iso image.

This is probably an achievement. I say "probably" because I can't actually see the output from the system-rescue vm because it doesn't work properly with -serial stdio. But the packets are flowing ...

Nov 21 17:56:45 dnsmasq-dhcp[120]: 13935373 client MAC address: 52:54:00:12:34:56

Nov 21 17:56:45 dnsmasq-dhcp[120]: 13935373 client provides name: sysrescue

Nov 21 17:56:45 dnsmasq-dhcp[120]: 13935373 DHCPSOLICIT(eth1) 00:04:dc:c5:43:08:80:09:95:31:b5:c5:75:68:d8:5f:2e:2e

Nov 21 17:56:45 dnsmasq-dhcp[120]: 13935373 DHCPREPLY(eth1) 2001:8b0:de3a:40dc::f0dc

00:04:dc:c5:43:08:80:09:95:31:b5:c5:75:68:d8:5f:2e:2e sysrescue

from https://www.rubydoc.info/github/mongoid/mongoid/Mongoid%2FFindable:find_by

If a matching Document is not found and Mongoid.raise_not_found_error is true it raises Mongoid::Errors::DocumentNotFound, return null nil elsewise.

So a global config option affects the semantics of this method quite fundamentally. Didn't we agree this was a bad idea back in the php.ini days?

The upshot is that any library code using mongoid is unable to give any guarantees about its behaviour in error situations because it doesn't know how the app it's embedded into has set its configuration options.

I grant that ActiveRecord has its own design problems, but if you're going to ignore it in favour of doing your own thing, maybe at least try not to make it worse?

seeking advice from #linux/#networking folk

I have a ppp over l2tp interface, using xl2tpd and pppd. The L2TP bit seems to work OK, the PPP interface comes up and negotiates IPv4 addresses then IPV6 link addresses.

I can v4 ping both ends of the connection But: I can't ping the v6 link addresses (maybe this is normal) and when I run odhcp6c to get a prefix delegation, it sends a SOLICIT but doesn't see the ADVERTISE replies from the DHCP6 server

(I know the DHCP6 server is sending replies because I can see them in tcpdump)

  • The kernel doesn't have netfilter or any iptables stuff compiled in, so I don't think there's any kind of firewalling

  • rp_filter, as far as I can tell, works only for ipv4 not ipv6

I'm a bit stuck for what to try next. Any ideas?

Did a giant #nixwrt WIP commit, because I have now changed so many things at once I have given up on the prospect of it making any sense in my head.

But it's on a branch. When I get to the end of this journey (l2tp connection to my ISP and all the IPv6 prefix faff) I will ... probably print the diff and use four colours of magic marker to decide which bits to commit in what order to create some meaningful narrative

https://github.com/telent/nixwrt/compare/services-wip don't look

Comparing main...services-wip · telent/nixwrt

Build images for embedded MIPS SoCs using NixPkgs (experimental) -...


Daniel Barlow boosted

it is possible that NixWRT is doing a lot more compilation than it needs to (even given that there is no MIPS binary cache) because of I-didn't-understand-how-overlays-work when I wrote the overlay for it.

For example, where I wrote coreutils = super.coreutils.overrideAttrs (o: { doCheck = false } ) that changes the build system coreutils as well as the mips coreutils, so everything x86-64 that depends on coreutils is getting built from source instead of pulled from cache.

Leastways, that's how I now think it works. ICBW this time too

#nixpkgs #nixwrt

Daniel Barlow boosted

Wishing there were a standard data format for #activitypub services. If I want to change the software my mail server runs, I know I can get the data transferred in mbox (or maildir) format. If I want to change my gitweb presenter, the repos are there. To change from ActivityPub server program A to B, then unless A is Mastodon and B is Pleroma it appears I'm basically out of luck.

Someone tell me different?

https://microblog.pub/ is abandoned, as far as I can tell (and no, I don't have time to maintain a fork)