!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

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

You have reached the beginning of time (for this room).


SenderMessageTime
1 Nov 2025
@crushing-smite:matrix.orgcrushing-smiteHostapd service started, no errors reported, but I don't see the network in the list, let's give it some more time to show up21:25:53
@crushing-smite:matrix.orgcrushing-smite

iw dev does not report wlp5s0 to have any SSID:

phy#0
	Interface wlp5s0
		ifindex 7
		wdev 0x1
		addr c8:94:02:5e:e0:ed
		type AP
		txpower 3.00 dBm
		multicast TXQ:
			qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
			0	0	0	0	0	0	0	0		0
21:27:14
@crushing-smite:matrix.orgcrushing-smite* Hostapd service started, but I don't see the network in the list, let's give it some more time to show up21:28:30
@crushing-smite:matrix.orgcrushing-smite

here's hostapd log:

...skipping...
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Channel 153 has insufficient survey data
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Survey for freq 5785 is missing noise floor
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Survey for freq 5785 is missing noise floor
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Survey for freq 5785 is missing noise floor
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Survey for freq 5785 is missing noise floor
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Survey for freq 5785 is missing noise floor
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Channel 157 has insufficient survey data
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Survey for freq 5805 is missing noise floor
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Survey for freq 5805 is missing noise floor
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Survey for freq 5805 is missing noise floor
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Survey for freq 5805 is missing noise floor
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Survey for freq 5805 is missing noise floor
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Channel 161 has insufficient survey data
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Survey for freq 5825 is missing noise floor
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Survey for freq 5825 is missing noise floor
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Survey for freq 5825 is missing noise floor
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Survey for freq 5825 is missing noise floor
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Survey for freq 5825 is missing noise floor
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Channel 165 has insufficient survey data
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Surveys have insufficient data
Nov 01 21:27:53 nixos hostapd[1609]: ACS: All study options have failed
Nov 01 21:27:53 nixos hostapd[1609]: Interface initialization failed
Nov 01 21:27:53 nixos hostapd[1609]: wlp5s0: interface state ACS->DISABLED
Nov 01 21:27:53 nixos hostapd[1609]: wlp5s0: AP-DISABLED
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Possibly channel configuration is invalid, please report this along with your config file.
Nov 01 21:27:53 nixos hostapd[1609]: ACS: Failed to start
Nov 01 21:27:53 nixos hostapd[1609]: wlp5s0: AP-DISABLED
Nov 01 21:27:53 nixos hostapd[1609]: hostapd_free_hapd_data: Interface wlp5s0 wasn't started
Nov 01 21:27:53 nixos hostapd[1609]: nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
Nov 01 21:27:53 nixos hostapd[1609]: wlp5s0: interface state DISABLED->DISABLED
Nov 01 21:27:53 nixos hostapd[1609]: wlp5s0: interface state DISABLED->DISABLED
Nov 01 21:27:53 nixos hostapd[1609]: wlp5s0: AP-DISABLED
Nov 01 21:27:53 nixos hostapd[1609]: wlp5s0: CTRL-EVENT-TERMINATING
Nov 01 21:27:53 nixos hostapd[1609]: rmdir[ctrl_interface=/run/hostapd]: Device or resource busy
Nov 01 21:27:53 nixos hostapd[1609]: hostapd_free_hapd_data: Interface wlp5s0 wasn't started
Nov 01 21:27:53 nixos systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 21.
Nov 01 21:27:53 nixos systemd[1]: Starting IEEE 802.11 Host Access-Point Daemon...
Nov 01 21:27:53 nixos systemd[1]: Started IEEE 802.11 Host Access-Point Daemon.
Nov 01 21:27:53 nixos hostapd[1625]: wlp5s0: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 01 21:27:53 nixos hostapd[1625]: ACS: Automatic channel selection started, this may take a bit
Nov 01 21:27:53 nixos hostapd[1625]: wlp5s0: interface state COUNTRY_UPDATE->ACS
Nov 01 21:27:53 nixos hostapd[1625]: wlp5s0: ACS-STARTED
21:28:49
@crushing-smite:matrix.orgcrushing-smiteI'll try switching back to channel 4421:28:59
@crushing-smite:matrix.orgcrushing-smite

And it's again failing to start (operatingChannelWidth = "80";, channel = 44;, settings.ieee80211h removed), logs are almost the same:

-- Boot db3003159e084db6be376bb913948dc7 --
Nov 01 21:31:29 nixos systemd[1]: Starting IEEE 802.11 Host Access-Point Daemon...
Nov 01 21:31:29 nixos systemd[1]: Started IEEE 802.11 Host Access-Point Daemon.
Nov 01 21:31:29 nixos hostapd[788]: wlp5s0: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 01 21:31:29 nixos hostapd[788]: Interface initialization failed
Nov 01 21:31:29 nixos hostapd[788]: wlp5s0: interface state COUNTRY_UPDATE->DISABLED
Nov 01 21:31:29 nixos hostapd[788]: wlp5s0: AP-DISABLED
Nov 01 21:31:29 nixos hostapd[788]: wlp5s0: Unable to setup interface.
Nov 01 21:31:29 nixos hostapd[788]: wlp5s0: interface state DISABLED->DISABLED
Nov 01 21:31:29 nixos hostapd[788]: wlp5s0: AP-DISABLED
Nov 01 21:31:29 nixos hostapd[788]: wlp5s0: CTRL-EVENT-TERMINATING
Nov 01 21:31:29 nixos hostapd[788]: rmdir[ctrl_interface=/run/hostapd]: Device or resource busy
Nov 01 21:31:29 nixos hostapd[788]: hostapd_free_hapd_data: Interface wlp5s0 wasn't started
Nov 01 21:31:29 nixos hostapd[788]: nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
Nov 01 21:31:29 nixos systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 21:31:29 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 21:31:29 nixos systemd[1]: hostapd.service: Consumed 110ms CPU time, 3.7M memory peak, 2.2M read from disk.
Nov 01 21:31:30 nixos systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 1.
Nov 01 21:31:30 nixos systemd[1]: Starting IEEE 802.11 Host Access-Point Daemon...
Nov 01 21:31:30 nixos systemd[1]: Started IEEE 802.11 Host Access-Point Daemon.
Nov 01 21:31:30 nixos hostapd[939]: wlp5s0: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 01 21:31:30 nixos hostapd[939]: Interface initialization failed
Nov 01 21:31:30 nixos hostapd[939]: wlp5s0: interface state COUNTRY_UPDATE->DISABLED
Nov 01 21:31:30 nixos hostapd[939]: wlp5s0: AP-DISABLED
Nov 01 21:31:30 nixos hostapd[939]: wlp5s0: Unable to setup interface.
Nov 01 21:31:30 nixos hostapd[939]: wlp5s0: interface state DISABLED->DISABLED
Nov 01 21:31:30 nixos hostapd[939]: wlp5s0: AP-DISABLED
Nov 01 21:31:30 nixos hostapd[939]: wlp5s0: CTRL-EVENT-TERMINATING
Nov 01 21:31:30 nixos hostapd[939]: rmdir[ctrl_interface=/run/hostapd]: Device or resource busy
Nov 01 21:31:30 nixos hostapd[939]: hostapd_free_hapd_data: Interface wlp5s0 wasn't started
Nov 01 21:31:30 nixos hostapd[939]: nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
Nov 01 21:31:30 nixos hostapd[939]: nl80211: Failed to remove interface wlp5s0 from bridge br0: Invalid argument
Nov 01 21:31:30 nixos systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 21:31:30 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 21:31:30 nixos systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 2.
Nov 01 21:31:30 nixos systemd[1]: Starting IEEE 802.11 Host Access-Point Daemon...
Nov 01 21:31:30 nixos systemd[1]: Started IEEE 802.11 Host Access-Point Daemon.
Nov 01 21:31:30 nixos hostapd[955]: wlp5s0: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 01 21:31:30 nixos hostapd[955]: Interface initialization failed
Nov 01 21:31:30 nixos hostapd[955]: wlp5s0: interface state COUNTRY_UPDATE->DISABLED
Nov 01 21:31:30 nixos hostapd[955]: wlp5s0: AP-DISABLED
Nov 01 21:31:30 nixos hostapd[955]: wlp5s0: Unable to setup interface.
Nov 01 21:31:30 nixos hostapd[955]: wlp5s0: interface state DISABLED->DISABLED
Nov 01 21:31:30 nixos hostapd[955]: wlp5s0: AP-DISABLED
Nov 01 21:31:30 nixos hostapd[955]: wlp5s0: CTRL-EVENT-TERMINATING
Nov 01 21:31:30 nixos hostapd[955]: rmdir[ctrl_interface=/run/hostapd]: Device or resource busy
Nov 01 21:31:30 nixos hostapd[955]: hostapd_free_hapd_data: Interface wlp5s0 wasn't started
Nov 01 21:31:30 nixos hostapd[955]: nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
Nov 01 21:31:30 nixos hostapd[955]: nl80211: Failed to remove interface wlp5s0 from bridge br0: Invalid argument
Nov 01 21:31:30 nixos systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 21:31:30 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 21:31:31 nixos systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 3.
Nov 01 21:31:31 nixos systemd[1]: Starting IEEE 802.11 Host Access-Point Daemon...
Nov 01 21:31:31 nixos systemd[1]: Started IEEE 802.11 Host Access-Point Daemon.
Nov 01 21:31:31 nixos hostapd[971]: wlp5s0: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 01 21:31:31 nixos hostapd[971]: Interface initialization failed
Nov 01 21:31:31 nixos hostapd[971]: wlp5s0: interface state COUNTRY_UPDATE->DISABLED
Nov 01 21:31:31 nixos hostapd[971]: wlp5s0: AP-DISABLED
Nov 01 21:31:31 nixos hostapd[971]: wlp5s0: Unable to setup interface.
Nov 01 21:31:31 nixos hostapd[971]: wlp5s0: interface state DISABLED->DISABLED
Nov 01 21:31:31 nixos hostapd[971]: wlp5s0: AP-DISABLED
Nov 01 21:31:31 nixos hostapd[971]: wlp5s0: CTRL-EVENT-TERMINATING
Nov 01 21:31:31 nixos hostapd[971]: rmdir[ctrl_interface=/run/hostapd]: Device or resource busy
Nov 01 21:31:31 nixos hostapd[971]: hostapd_free_hapd_data: Interface wlp5s0 wasn't started
Nov 01 21:31:31 nixos hostapd[971]: nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
Nov 01 21:31:31 nixos hostapd[971]: nl80211: Failed to remove interface wlp5s0 from bridge br0: Invalid argument
Nov 01 21:31:31 nixos systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 21:31:31 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 21:31:31 nixos systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 4.
Nov 01 21:31:31 nixos systemd[1]: Starting IEEE 802.11 Host Access-Point Daemon...
Nov 01 21:31:31 nixos systemd[1]: Started IEEE 802.11 Host Access-Point Daemon.
Nov 01 21:31:31 nixos hostapd[986]: wlp5s0: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 01 21:31:31 nixos hostapd[986]: Interface initialization failed
Nov 01 21:31:31 nixos hostapd[986]: wlp5s0: interface state COUNTRY_UPDATE->DISABLED
Nov 01 21:31:31 nixos hostapd[986]: wlp5s0: AP-DISABLED
Nov 01 21:31:31 nixos hostapd[986]: wlp5s0: Unable to setup interface.
Nov 01 21:31:31 nixos hostapd[986]: wlp5s0: interface state DISABLED->DISABLED
Nov 01 21:31:31 nixos hostapd[986]: wlp5s0: AP-DISABLED
Nov 01 21:31:31 nixos hostapd[986]: wlp5s0: CTRL-EVENT-TERMINATING
Nov 01 21:31:31 nixos hostapd[986]: rmdir[ctrl_interface=/run/hostapd]: Device or resource busy
Nov 01 21:31:31 nixos hostapd[986]: hostapd_free_hapd_data: Interface wlp5s0 wasn't started
Nov 01 21:31:31 nixos hostapd[986]: nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
Nov 01 21:31:31 nixos hostapd[986]: nl80211: Failed to remove interface wlp5s0 from bridge br0: Invalid argument
Nov 01 21:31:31 nixos systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 21:31:31 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 21:31:32 nixos systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 5.
Nov 01 21:31:32 nixos systemd[1]: hostapd.service: Start request repeated too quickly.
Nov 01 21:31:32 nixos systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 01 21:31:32 nixos systemd[1]: Failed to start IEEE 802.11 Host Access-Point Daemon.
21:33:47

Show newer messages


Back to Room ListRoom Version: 6