!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

889 Members
Declaratively manage your switching, routing, wireless, tunneling and more.260 Servers

Load older messages


SenderMessageTime
30 Oct 2025
@k900:0upti.meK900Then it might be time to start looking at the logs on the clients13:33:00
@crushing-smite:matrix.orgcrushing-smiteMind telling me how on windows 😅13:33:20
@k900:0upti.meK900It's probably in event viewer somewhere13:34:16
@k900:0upti.meK900I definitely can't tell you where exactly13:34:23
@crushing-smite:matrix.orgcrushing-smiteI don't know what's an event viewer even13:34:48
@crushing-smite:matrix.orgcrushing-smiteWell, I'll google around, brb13:34:53
@k900:0upti.meK900 eventvwr.exe 13:35:56
@crushing-smite:matrix.orgcrushing-smite

K900: there are 3 events for a WLAN connection

  1. Information - WLAN AutoConfig service started a connection to a wireless network.
  2. Information - Wireless network association started.
  3. Error - WLAN AutoConfig service failed to connect to a wireless network. Failure Reason: The specific network is not available.
20:16:48
@crushing-smite:matrix.orgcrushing-smiteNothing else of particular interest20:17:02
@crushing-smite:matrix.orgcrushing-smiteThat is from Event Viewer -> Microsoft -> Windows -> WLAN-AutoConfig -> Operational20:17:36
@crushing-smite:matrix.orgcrushing-smiteI'l try setting AP to WPA220:24:22
@crushing-smite:matrix.orgcrushing-smiteAnd it works with windows 11 now with wpa3-sae-transition20:31:54
@crushing-smite:matrix.orgcrushing-smiteThis fucking sucks, how come this year's laptop and win11 don't support plain wpa3-sae20:32:25
@crushing-smite:matrix.orgcrushing-smitebut iOS 18 still does not work...20:34:14
@crushing-smite:matrix.orgcrushing-smitethis is very tiresome20:34:19
@k900:0upti.meK900 Have you tried just WPA2? 20:35:09
@crushing-smite:matrix.orgcrushing-smite no, it's wpa3-sae-transition 20:36:01
@k900:0upti.meK900Please try just WPA220:37:35
@crushing-smite:matrix.orgcrushing-smiteRedacted or Malformed Event21:55:38
31 Oct 2025
@daniel-fahey:matrix.orgDaniel Fahey set a profile picture.14:56:02
1 Nov 2025
@sross:matrix.orgSean Ross Hi ElvishJerricco, I just wanted to follow up on this it was a combination of networking.useNetworkd = true; and networking.vswitches.<name>.interfaces.<name> 17:00:09
@elvishjerricco:matrix.orgElvishJerricco Sean Ross: FYI, most matrix clients are really bad at threads. I wouldn't have seen this message if macOS wasn't the only OS with a good notification system :P 17:02:22
@elvishjerricco:matrix.orgElvishJerriccoso generally we recommend using replies instead of threads17:02:37
@sross:matrix.orgSean RossOkay, I'll keep that in mind thankyou.17:06:15
@crushing-smite:matrix.orgcrushing-smitecontinuing:20:44:46
@crushing-smite:matrix.orgcrushing-smite

When I change either operatingChannelWidth from 20or40 to 80 or channel from 36 to 44 (both together, or just one of these), hostapd fails to start with the following log:

-- Boot ef950a87f7f14e2bb3fb920037886385 --
Nov 01 20:31:55 nixos systemd[1]: Starting IEEE 802.11 Host Access-Point Daemon...
Nov 01 20:31:55 nixos systemd[1]: Started IEEE 802.11 Host Access-Point Daemon.
Nov 01 20:31:55 nixos hostapd[796]: wlp5s0: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 01 20:31:55 nixos hostapd[796]: Interface initialization failed
Nov 01 20:31:55 nixos hostapd[796]: wlp5s0: interface state COUNTRY_UPDATE->DISABLED
Nov 01 20:31:55 nixos hostapd[796]: wlp5s0: AP-DISABLED
Nov 01 20:31:55 nixos hostapd[796]: wlp5s0: Unable to setup interface.
Nov 01 20:31:55 nixos hostapd[796]: wlp5s0: interface state DISABLED->DISABLED
Nov 01 20:31:55 nixos hostapd[796]: wlp5s0: AP-DISABLED
Nov 01 20:31:55 nixos hostapd[796]: wlp5s0: CTRL-EVENT-TERMINATING
Nov 01 20:31:55 nixos hostapd[796]: rmdir[ctrl_interface=/run/hostapd]: Device or resource busy
Nov 01 20:31:55 nixos hostapd[796]: hostapd_free_hapd_data: Interface wlp5s0 wasn't started
Nov 01 20:31:55 nixos hostapd[796]: nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
Nov 01 20:31:56 nixos systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 20:31:56 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 20:31:56 nixos systemd[1]: hostapd.service: Consumed 107ms CPU time, 3.9M memory peak, 2.2M read from disk.
Nov 01 20:31:56 nixos systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 1.
Nov 01 20:31:56 nixos systemd[1]: Starting IEEE 802.11 Host Access-Point Daemon...
Nov 01 20:31:56 nixos systemd[1]: Started IEEE 802.11 Host Access-Point Daemon.
Nov 01 20:31:56 nixos hostapd[952]: wlp5s0: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 01 20:31:56 nixos hostapd[952]: Interface initialization failed
Nov 01 20:31:56 nixos hostapd[952]: wlp5s0: interface state COUNTRY_UPDATE->DISABLED
Nov 01 20:31:56 nixos hostapd[952]: wlp5s0: AP-DISABLED
Nov 01 20:31:56 nixos hostapd[952]: wlp5s0: Unable to setup interface.
Nov 01 20:31:56 nixos hostapd[952]: wlp5s0: interface state DISABLED->DISABLED
Nov 01 20:31:56 nixos hostapd[952]: wlp5s0: AP-DISABLED
Nov 01 20:31:56 nixos hostapd[952]: wlp5s0: CTRL-EVENT-TERMINATING
Nov 01 20:31:56 nixos hostapd[952]: rmdir[ctrl_interface=/run/hostapd]: Device or resource busy
Nov 01 20:31:56 nixos hostapd[952]: hostapd_free_hapd_data: Interface wlp5s0 wasn't started
Nov 01 20:31:56 nixos hostapd[952]: nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
Nov 01 20:31:56 nixos hostapd[952]: nl80211: Failed to remove interface wlp5s0 from bridge br0: Invalid argument
Nov 01 20:31:56 nixos systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 20:31:56 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 20:31:56 nixos systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 2.
Nov 01 20:31:56 nixos systemd[1]: Starting IEEE 802.11 Host Access-Point Daemon...
Nov 01 20:31:56 nixos systemd[1]: Started IEEE 802.11 Host Access-Point Daemon.
Nov 01 20:31:56 nixos hostapd[952]: wlp5s0: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 01 20:31:56 nixos hostapd[952]: Interface initialization failed
Nov 01 20:31:56 nixos hostapd[952]: wlp5s0: interface state COUNTRY_UPDATE->DISABLED
Nov 01 20:31:56 nixos hostapd[952]: wlp5s0: AP-DISABLED
Nov 01 20:31:56 nixos hostapd[952]: wlp5s0: Unable to setup interface.
Nov 01 20:31:56 nixos hostapd[952]: wlp5s0: interface state DISABLED->DISABLED
Nov 01 20:31:56 nixos hostapd[952]: wlp5s0: AP-DISABLED
Nov 01 20:31:56 nixos hostapd[952]: wlp5s0: CTRL-EVENT-TERMINATING
Nov 01 20:31:56 nixos hostapd[952]: rmdir[ctrl_interface=/run/hostapd]: Device or resource busy
Nov 01 20:31:56 nixos hostapd[952]: hostapd_free_hapd_data: Interface wlp5s0 wasn't started
Nov 01 20:31:56 nixos hostapd[952]: nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
Nov 01 20:31:56 nixos hostapd[952]: nl80211: Failed to remove interface wlp5s0 from bridge br0: Invalid argument
Nov 01 20:31:56 nixos systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 20:31:56 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 20:31:56 nixos systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 2.
Nov 01 20:31:56 nixos systemd[1]: Starting IEEE 802.11 Host Access-Point Daemon...
Nov 01 20:31:56 nixos systemd[1]: Started IEEE 802.11 Host Access-Point Daemon.
Nov 01 20:31:56 nixos hostapd[968]: wlp5s0: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 01 20:31:56 nixos hostapd[968]: Interface initialization failed
Nov 01 20:31:56 nixos hostapd[968]: wlp5s0: interface state COUNTRY_UPDATE->DISABLED
Nov 01 20:31:56 nixos hostapd[968]: wlp5s0: AP-DISABLED
Nov 01 20:31:56 nixos hostapd[968]: wlp5s0: Unable to setup interface.
Nov 01 20:31:56 nixos hostapd[968]: wlp5s0: interface state DISABLED->DISABLED
Nov 01 20:31:56 nixos hostapd[968]: wlp5s0: AP-DISABLED
Nov 01 20:31:56 nixos hostapd[968]: wlp5s0: CTRL-EVENT-TERMINATING
Nov 01 20:31:56 nixos hostapd[968]: rmdir[ctrl_interface=/run/hostapd]: Device or resource busy
Nov 01 20:31:56 nixos hostapd[968]: hostapd_free_hapd_data: Interface wlp5s0 wasn't started
Nov 01 20:31:56 nixos hostapd[968]: nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
Nov 01 20:31:56 nixos hostapd[968]: nl80211: Failed to remove interface wlp5s0 from bridge br0: Invalid argument
Nov 01 20:31:57 nixos systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 20:31:57 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 20:31:57 nixos systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 3.
Nov 01 20:31:57 nixos systemd[1]: Starting IEEE 802.11 Host Access-Point Daemon...
Nov 01 20:31:57 nixos systemd[1]: Started IEEE 802.11 Host Access-Point Daemon.
Nov 01 20:31:57 nixos hostapd[984]: wlp5s0: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 01 20:31:57 nixos hostapd[984]: Interface initialization failed
Nov 01 20:31:57 nixos hostapd[984]: wlp5s0: interface state COUNTRY_UPDATE->DISABLED
Nov 01 20:31:57 nixos hostapd[984]: wlp5s0: AP-DISABLED
Nov 01 20:31:57 nixos hostapd[984]: wlp5s0: Unable to setup interface.
Nov 01 20:31:57 nixos hostapd[984]: wlp5s0: interface state DISABLED->DISABLED
Nov 01 20:31:57 nixos hostapd[984]: wlp5s0: AP-DISABLED
Nov 01 20:31:57 nixos hostapd[984]: wlp5s0: CTRL-EVENT-TERMINATING
Nov 01 20:31:57 nixos hostapd[984]: rmdir[ctrl_interface=/run/hostapd]: Device or resource busy
Nov 01 20:31:57 nixos hostapd[984]: hostapd_free_hapd_data: Interface wlp5s0 wasn't started
Nov 01 20:31:57 nixos hostapd[984]: nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
Nov 01 20:31:57 nixos hostapd[984]: nl80211: Failed to remove interface wlp5s0 from bridge br0: Invalid argument
Nov 01 20:31:57 nixos systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 20:31:57 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 20:31:57 nixos systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 4.
Nov 01 20:31:57 nixos systemd[1]: Starting IEEE 802.11 Host Access-Point Daemon...
Nov 01 20:31:57 nixos systemd[1]: Started IEEE 802.11 Host Access-Point Daemon.
Nov 01 20:31:57 nixos hostapd[999]: wlp5s0: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 01 20:31:57 nixos hostapd[999]: Interface initialization failed
Nov 01 20:31:57 nixos hostapd[999]: wlp5s0: interface state COUNTRY_UPDATE->DISABLED
Nov 01 20:31:57 nixos hostapd[999]: wlp5s0: AP-DISABLED
Nov 01 20:31:57 nixos hostapd[999]: wlp5s0: Unable to setup interface.
Nov 01 20:31:57 nixos hostapd[999]: wlp5s0: interface state DISABLED->DISABLED
Nov 01 20:31:57 nixos hostapd[999]: wlp5s0: AP-DISABLED
Nov 01 20:31:57 nixos hostapd[999]: wlp5s0: CTRL-EVENT-TERMINATING
Nov 01 20:31:57 nixos hostapd[999]: rmdir[ctrl_interface=/run/hostapd]: Device or resource busy
Nov 01 20:31:57 nixos hostapd[999]: hostapd_free_hapd_data: Interface wlp5s0 wasn't started
Nov 01 20:31:57 nixos hostapd[999]: nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
Nov 01 20:31:57 nixos hostapd[999]: nl80211: Failed to remove interface wlp5s0 from bridge br0: Invalid argument
Nov 01 20:31:58 nixos systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 20:31:58 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 20:31:58 nixos systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 5.
Nov 01 20:31:58 nixos systemd[1]: hostapd.service: Start request repeated too quickly.
Nov 01 20:31:58 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 20:31:58 nixos systemd[1]: Failed to start IEEE 802.11 Host Access-Point Daemon.
20:46:03
@crushing-smite:matrix.orgcrushing-smiteThe br0 interface when hostapd fails to start also loses ability to provide wired internet connection20:46:55
@crushing-smite:matrix.orgcrushing-smite (I've changed everything authentication mode to wpa2-sha256 btw, so clients do work with it now) 20:47:47
@k900:0upti.meK900 What does iw phy say for it? 20:48:49
@crushing-smite:matrix.orgcrushing-smiteRight now, or when it fails?20:49:19

Show newer messages


Back to Room ListRoom Version: 6