!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

881 Members
on your Router! Declaratively manage your switching, routing, wireless, tunneling and more.258 Servers

Load older messages


SenderMessageTime
1 Nov 2025
@crushing-smite:matrix.orgcrushing-smite *

There's also this warning each time I rebuild:

"""
evaluation warning: The combination of systemd.network.enable = true, networking.useDHCP = true and networking.useNetworkd = false can cause both networkd and dhcpcd to manage the same interfaces. This can lead to loss of networking. It is recommended you choose only one of networkd (by also enabling networking.useNetworkd) or scripting (by disabling systemd.network.enable)
"""

22:18:26
@k900:0upti.meK900 This is fine for your particular setup 22:18:37
@k900:0upti.meK900 Though you may want to fix it 22:18:41
@crushing-smite:matrix.orgcrushing-smite
╰─❯ uname -a
Linux nixos 6.17.3 #1-NixOS SMP PREEMPT_DYNAMIC Wed Oct 15 10:04:23 UTC 2025 x86_64 GNU/Linux
22:21:30
@crushing-smite:matrix.orgcrushing-smite
...skipping...
Nov 01 22:20:33 nixos hostapd[962]: nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
Nov 01 22:20:33 nixos hostapd[962]: nl80211: Failed to remove interface wlp5s0 from bridge br0: Invalid argument
Nov 01 22:20:33 nixos systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 22:20:33 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 22:20:34 nixos systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 3.
Nov 01 22:20:34 nixos systemd[1]: Starting IEEE 802.11 Host Access-Point Daemon...
Nov 01 22:20:34 nixos systemd[1]: Started IEEE 802.11 Host Access-Point Daemon.
Nov 01 22:20:34 nixos hostapd[978]: wlp5s0: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 01 22:20:34 nixos hostapd[978]: Interface initialization failed
Nov 01 22:20:34 nixos hostapd[978]: wlp5s0: interface state COUNTRY_UPDATE->DISABLED
Nov 01 22:20:34 nixos hostapd[978]: wlp5s0: AP-DISABLED
Nov 01 22:20:34 nixos hostapd[978]: wlp5s0: Unable to setup interface.
Nov 01 22:20:34 nixos hostapd[978]: wlp5s0: interface state DISABLED->DISABLED
Nov 01 22:20:34 nixos hostapd[978]: wlp5s0: AP-DISABLED
Nov 01 22:20:34 nixos hostapd[978]: wlp5s0: CTRL-EVENT-TERMINATING
Nov 01 22:20:34 nixos hostapd[978]: rmdir[ctrl_interface=/run/hostapd]: Device or resource busy
Nov 01 22:20:34 nixos hostapd[978]: hostapd_free_hapd_data: Interface wlp5s0 wasn't started
Nov 01 22:20:34 nixos hostapd[978]: nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
Nov 01 22:20:34 nixos hostapd[978]: nl80211: Failed to remove interface wlp5s0 from bridge br0: Invalid argument
Nov 01 22:20:34 nixos systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 22:20:34 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 22:20:34 nixos systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 4.
Nov 01 22:20:34 nixos systemd[1]: Starting IEEE 802.11 Host Access-Point Daemon...
Nov 01 22:20:34 nixos systemd[1]: Started IEEE 802.11 Host Access-Point Daemon.
Nov 01 22:20:34 nixos hostapd[994]: wlp5s0: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 01 22:20:34 nixos hostapd[994]: Interface initialization failed
Nov 01 22:20:34 nixos hostapd[994]: wlp5s0: interface state COUNTRY_UPDATE->DISABLED
Nov 01 22:20:34 nixos hostapd[994]: wlp5s0: AP-DISABLED
Nov 01 22:20:34 nixos hostapd[994]: wlp5s0: Unable to setup interface.
Nov 01 22:20:34 nixos hostapd[994]: wlp5s0: interface state DISABLED->DISABLED
Nov 01 22:20:34 nixos hostapd[994]: wlp5s0: AP-DISABLED
Nov 01 22:20:34 nixos hostapd[994]: wlp5s0: CTRL-EVENT-TERMINATING
Nov 01 22:20:34 nixos hostapd[994]: rmdir[ctrl_interface=/run/hostapd]: Device or resource busy
Nov 01 22:20:34 nixos hostapd[994]: hostapd_free_hapd_data: Interface wlp5s0 wasn't started
Nov 01 22:20:34 nixos hostapd[994]: nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
Nov 01 22:20:34 nixos hostapd[994]: nl80211: Failed to remove interface wlp5s0 from bridge br0: Invalid argument
Nov 01 22:20:34 nixos systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 22:20:34 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 22:20:35 nixos systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 5.
Nov 01 22:20:35 nixos systemd[1]: hostapd.service: Start request repeated too quickly.
Nov 01 22:20:35 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 22:20:35 nixos systemd[1]: Failed to start IEEE 802.11 Host Access-Point Daemon.
22:21:49
@crushing-smite:matrix.orgcrushing-smiteSame22:21:53
@k900:0upti.meK900 Try removing the forced regulatory domain on cfg80211 and adding it to the hostapd config instead? 22:24:08
@crushing-smite:matrix.orgcrushing-smitehow to?22:25:01
@k900:0upti.meK900 Honestly for starters just remove the boot.extraModprobeConfig 22:27:57
2 Nov 2025
@dawnofmidnight:catgirl.cloud@dawnofmidnight:catgirl.cloud changed their display name from whispers to whispers (it/fae).17:58:16
3 Nov 2025
@skorpy:entropia.deskorpy (she/her or none) 🏳️‍⚧️ set a profile picture.16:32:34
4 Nov 2025
@cafkafk:gitter.imcafkafk changed their profile picture.08:23:31
@gradientvera:matrix.orgVera Gradient joined the room.08:34:52
@whispers:catgirl.cloudwhispers (it/fae) joined the room.20:10:37
@dawnofmidnight:catgirl.cloud@dawnofmidnight:catgirl.cloud left the room.20:12:08
@letgamer:tchncs.deAlex Stephan joined the room.20:19:36
@ncfavier:matrix.orgncfavier changed their profile picture.23:54:51
5 Nov 2025
@wckd:matrix.org@wckd:matrix.org joined the room.13:25:23
@wckd:matrix.org@wckd:matrix.org left the room.15:15:57
@autiboy:matrix.mautiweb.netAutiboy changed their profile picture.19:18:58
7 Nov 2025
@atra1n:matrix.org@atra1n:matrix.org removed their profile picture.16:36:36
@atra1n:matrix.org@atra1n:matrix.org removed their display name Train.16:36:54
@atra1n:matrix.org@atra1n:matrix.org left the room.16:37:10
@nrbray:matrix.orgNigel May I ask how to work around networking.useNetworkd = true; causing activation to fail (stalled indefinitely) after services are stopped and the vps inaccessible via ssh. 21:20:18
@k900:0upti.meK900It is not perfect21:23:59
@k900:0upti.meK900You probably want to see what it actually sets up21:24:04
@nrbray:matrix.orgNigelI added -v to the switch command but it didn't help. It was copied from a near identical vps that I intended to transfer a mailserver from (and worked).21:25:58
@k900:0upti.meK900Not like that21:26:21
@k900:0upti.meK900Inspect the generated networkd units21:26:57
@nrbray:matrix.orgNigelI guess using nix before activation - please may I ask how to look at this?21:29:42

Show newer messages


Back to Room ListRoom Version: 6