| 21 May 2025 |
matthewcroughan - nix.zone | how do you know all this | 15:36:04 |
matthewcroughan - nix.zone | awesome | 15:36:07 |
hexa | the openwrt realtek switch upbringing effort | 15:36:18 |
matthewcroughan - nix.zone | bookmarked | 15:36:32 |
emily | huh, they're cheap. maybe i'll get one | 15:36:41 |
hexa | quite a bit of this has landed in openwrt already | 15:36:44 |
matthewcroughan - nix.zone | and by extension, if it can run openwrt, it can run liminix, I'd port that stuff | 15:37:07 |
emily | I 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 stuff | 15:37:22 |
emily | https://openwrt.org/toh/views/switches | 15:37:27 |
matthewcroughan - nix.zone | but openwrt is more than good enough for the dainty task of running a managed switch | 15:37:31 |
emily | it's a lot easier to figure things out if you just put any effort at all into research :P | 15:37:39 |
emily | I knew genuinely nothing about networking ~2 months ago when I asked about the BPI initially | 15:38:03 |
matthewcroughan - nix.zone | is openwrt actually a good match for a managed switch though? it's webui and utils are more geared towards routing | 15:38:06 |
matthewcroughan - nix.zone | And 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 |
emily | I mean it's Linux. | 15:39:00 |
emily | there's no reason to use anything less than Linux. | 15:39:06 |
matthewcroughan - nix.zone | yeah admittedly Linux is needed to keep it simple and easy | 15:39:19 |
emily | the SoC has the capability to do it and the drivers were written. it's free real estate | 15:39:21 |
matthewcroughan - nix.zone | but the most ideal thing would just be some firmware written in embassy/micropython that's easy to contribute to and test | 15:39:36 |
emily | it's way less pleasant to write for some embedded thing with no infrastructure | 15:39:38 |
emily | how would it be "most ideal"? | 15:39:51 |
matthewcroughan - nix.zone | The vendor ships a webpage that lets you choose some options in html in a dropdown, the form is submitted, this programs the asic | 15:40:23 |
matthewcroughan - nix.zone | to respond to a html form, you only need some basic micropython code | 15:40:40 |
matthewcroughan - nix.zone | you don't need linux, or routing, or all the stuff that comes with openwrt | 15:41:01 |
matthewcroughan - nix.zone | so 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 switch | 15:41:23 |
emily | but it's not that simple | 15:41:34 |
emily | you need to persist the configuration | 15:41:41 |
emily | you need to handle upgrades, for issues in the configuration UI | 15:41:46 |
matthewcroughan - nix.zone | if 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 that | 15:41:47 |
emily | operating systems exist because they make writing software systems easier | 15:42:08 |