23 points genghizkhan 2 days ago 7 comments

o_-_o 22 minutes ago | parent

I think the most disturbing part of this article is; "I haven't replaced the dead CMOS battery on my router and the clock resets every time the router restarts." O_o

tosti 15 minutes ago | parent

That would be bad for a server, not so much for a router.

tosapple 12 minutes ago | parent

and if it has a deterministic rng, it will restart/initialize at seed[0] every time?

RVuRnvbM2e 18 minutes ago | parent

Isn't it a misconfiguration that the ISP is handing out a different prefix each time pppd restarts? Shouldn't the prefix be fairly static?

BadBadJellyBean 11 minutes ago | parent

No. Not necessarily.

arcfour 5 minutes ago | parent

Why do you even need networkd for a router? Setting one up on Alpine (so not all this cruft) is easy as pie and the whole thing can cold boot in under 10 seconds... Would make the whole setup much more understandable + smaller attack surface...

> I usually prefer using systemd utilities wherever possible.

Ah. There's your problem. See, when something promises it can do anything and everything, rarely can it do much of it well. The type of issue you encountered is a pervasive failure mode you will encounter the more and more systemd utilities you rely on. For something like a router, systemd is wholly unnecessary. Try it! You'll agree.