eyJhb changed the topic of #nixos-on-your-router to: NixOS on your Router || https://logs.nix.samueldr.com/nixos-on-your-router
lopsided98 has quit [Remote host closed the connection]
lopsided98 has joined #nixos-on-your-router
mmlb has quit [Ping timeout: 240 seconds]
asymmetric has quit [Quit: Peace.]
asymmetric has joined #nixos-on-your-router
thefloweringash has quit [Quit: killed]
hpfr[m] has quit [Quit: killed]
Dandellion has quit [Quit: killed]
dtz11 has quit [Quit: killed]
Ox4A6F has quit [Quit: killed]
mdlayher has quit [Quit: killed]
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-on-your-router
mdlayher has joined #nixos-on-your-router
thefloweringash has joined #nixos-on-your-router
Dandellion has joined #nixos-on-your-router
hpfr[m] has joined #nixos-on-your-router
dtz has joined #nixos-on-your-router
Ox4A6F has joined #nixos-on-your-router
ottidmes has joined #nixos-on-your-router
<ottidmes> I finally plan to do this, putting NixOS on my router. I plan to buy 2 new routers/devices to do so. What hardware would you recommend to buy when wanting to run NixOS on your router?
<gchristensen> nice
<gchristensen> a bunch of us use the PCEgines APU2c
<ottidmes> gchristensen: Thanks! So they are like Raspberry Pi / Arduino targeted at networking?
<gchristensen> these are embedded x86 devices with usually 2 ethernet ports
<gchristensen> pretty nice little machines, and affordable!
<gchristensen> so many embedded x86 devices are $$$$
<ottidmes> "Because of unbelievably bureaucratic recycling regulations, PC Engines will NOT sell directly to end users within the EU." Luckily it does allow distributors, one of them being in NL where I live.
<ottidmes> I was wondering about that, if I buy a full fledged router that is flashable, say on the list of supported by OpenWRT (so likely to run NixOS as well), would they mostly be ARM then?
<gchristensen> probably yes, and probably a bigger, more difficult project
<thefloweringash> I haven't been following closely, but I think there's likely a decent number of mips products in that category.
<thefloweringash> there is an effort to make something that runs on those kinds of devices at: https://github.com/telent/nixwrt
<gchristensen> if at all possible, you'd benefit a lot from getting a device which has an architecture Hydra builds for
<thefloweringash> if you're looking for a project, jump in, but if you just want a working router, you might want to get something with few more resources than the typical openwrt targets
<ottidmes> Thanks for the link, will check it out
<ottidmes> On the distributor site of PC Engines I see the one you mentioned: PC Engines APU2E4 sold for 130 euro
<ottidmes> gchristensen: When you mention "few more resources" you mean hardware resources or documentation resources?
<gchristensen> thefloweringash mentioned resources, but: hard disk, cpu, ram
<ottidmes> Ow sorry, only focused on the color of the name XD
<ottidmes> The more I read the more naive I feel thinking I could buy a powerful enough router and put NixOS on it
<NinjaTrappeur> If you have a little bit more budget (~250€ in europe), the qotom line worth having a look.
<gchristensen> link?
<gchristensen> oh wow that looks pretty nice
<gchristensen> wow, does that have 6 interfaces, or is it an internal switch
<NinjaTrappeur> I bought this one ~ 1 year ago
<NinjaTrappeur> I'm rather satisfied with it.
<NinjaTrappeur> You probably want to avoid the celeron version, it does not handle aes-ni
<NinjaTrappeur> appart from that, it's a pretty nice home router/nuc
<NinjaTrappeur> It's 6 individual interfaces
<hexa-> apus have 4 these days
<hexa-> up to 4
<hexa-> Would love m.2 e key on a router
<gchristensen> wow nice
<thefloweringash> I'm also using a Qotom
<NinjaTrappeur> The only downside is the wifi chip builtin. It's 802.11n only. That said you can upgrade it to AC for ~40€ (counting module + antennas)
<hexa-> Apus are still stuck with minipcie
<hexa-> WiFi needs to be on an add-on card imo
<hexa-> Embedded chips can be the worst
<NinjaTrappeur> +1
<ottidmes> wow, I am checking aliexpress and the search default suggestion is "mask virus" at the moment
<cransom> wow. i didn't think i'd see 1 db9 serial on a device again, letalone 3.
<cransom> sorry, 4.
<cransom> i wonder if they are big as point of sale machines
<ottidmes> gchristensen: When you mentioned Hydra support, this means when I stick to x86_64, i386, or aarch64, I should be good, right?
<gchristensen> x86_64 or aarch64 would be best
<gchristensen> i686 has ... middling support
<ottidmes> Alright, good to know!
<ottidmes> Too bad my national oriented websites don't have nice overviews for this particular category, amazon so far has the most relevant suggestions
<ottidmes> Another product I see coming up a few times is the Protectli Vault, which is somewhat similar to the Qotoms suggested before
<ottidmes> I read in the comments section on one of them devices that the CPU will most likely be the bottleneck for the Mbps you can reach. In a few years I am expecting to get a glass fiber connection, so I am wondering, does anybody have experience with CPU bottlenecks?
<Ox4A6F> If you take glass into account, maybe buy something like this:
<ottidmes> Maybe, if I have more to spend at that time
<cransom> i'd be a little shocked if a residential hand off was something that required an sfp, but maybe
<ottidmes> gchristensen: Just to consider my options, those PC Engines boards, they are just the boards right, so did you buy an enclosure for it, or are just using it as is?
<cransom> it's more common that you'll have some kind of PON/passive optical network box in your house that uses one fiber. but yeah, you'd not know that until service arrives
<gchristensen> I bought the enclosure too
<ottidmes> Ah, I see, it was not within the menu or my local distributor but after googling for them I see them. Good to know they sell them too!
<ottidmes> cransom: Yeah, they supply the hardware for that, so I will not be needing special support for glass other than having sufficient performance to get the most out of it
ottidmes has quit [Quit: WeeChat 2.7.1]
<andi-> I still dream of a programmable network chip that does most of my forwarding...
<andi-> And no just moving more stuff into the kernel with some BPF isn't the solution.
<cransom> that exists. any of the white box switching hardware with broadcom chips in it are all moving packets without cpu.
<andi-> I know and I regulary rant about that fact :D
<andi-> Their SDK isn't public and I don't feel like jumping in the market for some intermediary distribution of software just because broadcom
* andi- goes hunt for a cheap old netfpga
* andi- thinks xilinux and closes the tab
<gchristensen> lol
<andi-> It is all terrible /o\
<hexa-> broadcoms open source efforts are close to non-existant
<flokli> hexa-: andi-: isn't there https://github.com/Broadcom-Switch/OpenNSL ?
<flokli> which is what's used by https://github.com/facebook/fboss
mmlb has joined #nixos-on-your-router
<andi-> flokli: IIRC they all still require a blob from broadcom
<andi-> yeah, just because there is a GitHub repo doesn't mean it is any "good"... There are a bunch of libopennsl.so's in that repo....
<flokli> andi-: yeah, sure it's not all open source.
<flokli> But it's better than having just header files.
<flokli> Or not even that.