!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

920 Members
Declaratively manage your switching, routing, wireless, tunneling and more.268 Servers

Load older messages


SenderMessageTime
21 May 2025
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonehow do you know all this15:36:04
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneawesome15:36:07
@hexa:lossy.networkhexathe openwrt realtek switch upbringing effort15:36:18
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonebookmarked15:36:32
@emilazy:matrix.orgemilyhuh, they're cheap. maybe i'll get one15:36:41
@hexa:lossy.networkhexaquite a bit of this has landed in openwrt already15:36:44
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneand by extension, if it can run openwrt, it can run liminix, I'd port that stuff15:37:07
@emilazy:matrix.orgemilyI don't, I just… spend 5 seconds doing web searches when I want to know things. googling "openwrt switch" and "network switch custom os" will turn up this stuff15:37:22
@emilazy:matrix.orgemilyhttps://openwrt.org/toh/views/switches15:37:27
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonebut openwrt is more than good enough for the dainty task of running a managed switch15:37:31
@emilazy:matrix.orgemilyit's a lot easier to figure things out if you just put any effort at all into research :P15:37:39
@emilazy:matrix.orgemilyI knew genuinely nothing about networking ~2 months ago when I asked about the BPI initially15:38:03
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneis openwrt actually a good match for a managed switch though? it's webui and utils are more geared towards routing15:38:06
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneAnd if we think they're just using Linux to configure an asic.. it should probably not be necessary to have all of openwrt running there 15:38:41
@emilazy:matrix.orgemilyI mean it's Linux.15:39:00
@emilazy:matrix.orgemilythere's no reason to use anything less than Linux.15:39:06
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneyeah admittedly Linux is needed to keep it simple and easy15:39:19
@emilazy:matrix.orgemilythe SoC has the capability to do it and the drivers were written. it's free real estate15:39:21
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonebut the most ideal thing would just be some firmware written in embassy/micropython that's easy to contribute to and test 15:39:36
@emilazy:matrix.orgemilyit's way less pleasant to write for some embedded thing with no infrastructure15:39:38
@emilazy:matrix.orgemilyhow would it be "most ideal"?15:39:51
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneThe vendor ships a webpage that lets you choose some options in html in a dropdown, the form is submitted, this programs the asic15:40:23
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneto respond to a html form, you only need some basic micropython code15:40:40
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneyou don't need linux, or routing, or all the stuff that comes with openwrt 15:41:01
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneso it would be most ideal if there were something else that isn't openwrt just for the purposes of providing an API or webui for managing a switch15:41:23
@emilazy:matrix.orgemilybut it's not that simple15:41:34
@emilazy:matrix.orgemilyyou need to persist the configuration15:41:41
@emilazy:matrix.orgemilyyou need to handle upgrades, for issues in the configuration UI15:41:46
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneif openwrt ends up having infra for that, and the UI/api ends up being different for the one use-case of a managed switch, I'm interested in that15:41:47
@emilazy:matrix.orgemilyoperating systems exist because they make writing software systems easier15:42:08

Show newer messages


Back to Room ListRoom Version: 6