!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

865 Members
Declaratively manage your switching, routing, wireless, tunneling and more. | Don't rely on `networking.*` use systemd-networkd and NetworkManager instead. | Set `SYSTEMD_LOG_LEVEL=debug` to debug networking issues with networkd | No bad nft puns, please. | Room recommendations: #sysops:nixos.org248 Servers

Load older messages


SenderMessageTime
17 Oct 2025
@k900:0upti.meK900image.png
Download image.png
16:57:25
@magic_rb:matrix.redalder.orgmagic_rbGreat if your device can run nixos, but not everything can :(16:57:58
@hexa:lossy.networkhexa (clat on linux when) linux mit nix? 17:14:02
18 Oct 2025
@nrbray:matrix.orgNigel

system = "zyxel-nwa50ax";

May I ask if you deploy liminix on zyxel-nwa50ax hardware and is there any special configuration needed to fit in the limited memory?

07:20:04
@raitobezarius:matrix.orgraitobezarius
In reply to @nrbray:matrix.org

system = "zyxel-nwa50ax";

May I ask if you deploy liminix on zyxel-nwa50ax hardware and is there any special configuration needed to fit in the limited memory?

Nothing
07:39:01
@xgwq:nerdberg.dexgwq Could someone review my PR I think it fits mostly into the Networking category. Would be very nice.
Also I have packaged the peeringDB python client in this PR, but as ist also packages a handful of dependencys I will ask for reviews in the python chat.
22:04:41
19 Oct 2025
@axelkar:matrix.orgAxel Karjalainen joined the room.15:25:42
@tiferrei:tiferrei.comtiferrei joined the room.15:43:39
@tiferrei:matrix.org@tiferrei:matrix.org left the room.15:45:33
@azahi:azahi.ccazahi left the room.15:46:54
@azahi:azahi.ccazahi joined the room.19:45:26
20 Oct 2025
@felix.schroeter:scs.ems.host@felix.schroeter:scs.ems.host changed their display name from Felix Schröter to Felix Schröter (🌄 27.10. – 09.11.).08:34:04
@felix.schroeter:scs.ems.host@felix.schroeter:scs.ems.host left the room.09:55:03
@tiferrei:tiferrei.comtiferrei changed their display name from Tiago Ferreira to tiferrei.17:34:14
21 Oct 2025
@echobc:matrix.org@echobc:matrix.org joined the room.18:08:41
@mjolnir:nixos.orgNixOS Moderation Bot banned @echobc:matrix.org@echobc:matrix.org (<no reason supplied>).18:08:43
22 Oct 2025
@raphi-debug:matrix.orgraphi-debug joined the room.10:06:19
24 Oct 2025
@daniel-fahey:matrix.orgDaniel Fahey joined the room.12:00:27
26 Oct 2025
@hennofur839393:matrix.org@hennofur839393:matrix.org joined the room.00:34:34
@mjolnir:nixos.orgNixOS Moderation Bot banned @hennofur839393:matrix.org@hennofur839393:matrix.org (spam).00:34:35
@prince213:matrix.orgprince213Hi, I'd like to kindly request a review on https://github.com/NixOS/nixpkgs/pull/39858705:02:50
@prince213:matrix.orgprince213It adds a NixOS module and some tests for FirewallD05:03:25
@sir-morton:matrix.orgSir_Morton joined the room.15:33:42
27 Oct 2025
@clerie:entr0py.declerie

I managed to get Dual-Stack-Lite running under NixOS. If you have any ideas for making it prettier your welcome. Especially dhcpcd is much more in the way than helpful.

https://git.clerie.de/clerie/nixfiles/commit/f3629c2653f311398bfa5fad876b2744ffc66b40

20:36:54
28 Oct 2025
@dawnofmidnight:catgirl.cloudwhispers joined the room.20:58:55
@kraynyan:tchncs.de@kraynyan:tchncs.de left the room.23:56:27
29 Oct 2025
@danishsouls:matrix.orgdanishsouls joined the room.15:51:50
@crushing-smite:matrix.orgcrushing-smite

Wireless chip is MT7922. And here's my wireless.nix:

{
  config,
  lib,
  pkgs,
  ...
}: {
    boot.extraModprobeConfig = ''
        options cfg80211 ieee80211_regdom="DE"
    '';

    hardware.wirelessRegulatoryDatabase = true;

    services.hostapd = {
        enable = true;

        radios."wlp5s0" = {
            settings.ieee80211h = lib.mkForce false;

            wifi5 = {
                enable = true;
                operatingChannelWidth = "20or40";
                require = true;
            };

            countryCode = "DE";
            channel = 36;
            band = "5g";

            networks.wlp5s0 = {
                logLevel = 1;
                ssid = "SsidName";
                authentication = {
                    mode = "wpa3-sae";
                    saePasswords = [
                        { password = "Password"; }
                    ];
                    enableRecommendedPairwiseCiphers = true;
                };
                settings = {
                    bridge = "br0";
                    beacon_int = 50;
                };
            };
        };
    };
}

Issues:

  1. Only Linux and MacOS clients can connect to this network. iOS 18 and Windows 11, both obviously supporting Wifi5, cannot connect to it - it is visible in the list of networks, but both fail upon connection try.
  2. On Linux and MacOS, it takes some time for network to become visible in the list. On Linux via nmcli dev wifi list it may take even a minute or two for it to show up. This is not a recurring issue, but it happens about 1/3 of all the times.
  3. I could not switch operatingChannelWidth = "20or40"; to 80 - I can apply the option, the system rebuilds and boots fine, network is visible and allows to connect to, there is WAN, but network itself is still 20 MHz (not even 40), as confirmed by both cat /run/hostapd/wlp5s0.hostapd.conf on router (output below) and wavemon on Linux client (reports width: 20 MHz). Please also mind ht_capab and vht_capab (looks suspisious to me).
[root@nixos:~]# cat /run/hostapd/wlp5s0.hostapd.conf
# Radio base configuration: wlp5s0
################################

channel=36
country_code=DE
driver=nl80211
ht_capab=[HT40][SHORT-GI-20][SHORT-GI-40]
hw_mode=a
ieee80211ac=1
ieee80211d=1
ieee80211h=0
ieee80211n=1
noscan=0
require_ht=0
require_vht=1
vht_capab=
vht_oper_chwidth=0


# BSS 0: wlp5s0
################################

interface=wlp5s0
ap_isolate=0
auth_algs=1
beacon_int=50
bridge=br0
ctrl_interface=/run/hostapd
ctrl_interface_group=wheel
ieee80211w=1
ignore_broadcast_ssid=0
logger_stdout=-1
logger_stdout_level=1
logger_syslog=-1
logger_syslog_level=1
macaddr_acl=0
rsn_pairwise=CCMP GCMP GCMP-256
sae_pwe=2
sae_require_mfp=1
ssid=SsidName
transition_disable=0x01
utf8_ssid=1
wmm_enabled=1
wpa=2
wpa_key_mgmt=SAE
wpa_pairwise=CCMP GCMP GCMP-256
sae_password=password
21:09:23
@crushing-smite:matrix.orgcrushing-smiteNow, how to troubleshoot/which other info do you need?21:09:39
@k900:0upti.meK900Check hostapd logs for when your clients fail to associate21:13:50

Show newer messages


Back to Room ListRoom Version: 6