| 1 Nov 2025 |
crushing-smite | (I've changed everything authentication mode to wpa2-sha256 btw, so clients do work with it now) | 20:47:47 |
K900 | What does iw phy say for it? | 20:48:49 |
crushing-smite | Right now, or when it fails? | 20:49:19 |
K900 | Doesn't matter | 20:49:24 |
crushing-smite | https://termbin.com/vmzn
| 20:51:07 |
K900 | Which one of those is the one you're using for the AP? | 21:04:23 |
crushing-smite | phy0 | 21:06:09 |
K900 | That looks perfectly capable of what you're trying to set up | 21:06:29 |
K900 | Which is strange | 21:06:31 |
K900 | Can you post the full generated hostapd.conf? | 21:06:37 |
crushing-smite | # Radio base configuration: wlp5s0
################################
channel=44
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=0
logger_syslog=-1
logger_syslog_level=0
macaddr_acl=0
rsn_pairwise=CCMP GCMP GCMP-256
sae_require_mfp=1
ssid=SsidName
utf8_ssid=1
wmm_enabled=1
wpa=2
wpa_key_mgmt=WPA-PSK-SHA256
wpa_pairwise=CCMP GCMP GCMP-256
wpa_passphrase=password
| 21:07:54 |
K900 | Are you forcing ieee80211h=0? | 21:08:19 |
crushing-smite | btw, it appears channel 44 does work | 21:08:37 |
crushing-smite | I have settings.ieee80211h = lib.mkForce false; | 21:08:48 |
K900 | Yeah don't do that | 21:08:57 |
crushing-smite | So, change to true and also change to operatingChannelWidth = "80"? | 21:09:22 |
crushing-smite | or just true for now? | 21:09:29 |
K900 | Just remove it entirely | 21:11:37 |
crushing-smite | Rebuilt, well, it works for operatingChannelWidth = "20or40"; and operatingChannelWidth = "80"; | 21:16:15 |
crushing-smite | * Rebuilt, well, it works for operatingChannelWidth = "20or40"; and channel = 44; | 21:16:23 |
crushing-smite | Should I try to switch to operatingChannelWidth = "80", or is there some other output you would like to see before? | 21:16:57 |
K900 | You should, yes | 21:17:14 |
crushing-smite | Keep channel = 44;, or bring it to lower 36? | 21:20:05 |
crushing-smite | * Keep channel = 44;, or bring it to lower 36? | 21:20:08 |
K900 | I would just set it to auto | 21:20:37 |
crushing-smite | Okay, setting it to zero and rebuilding | 21:22:11 |
crushing-smite | Hostapd service started, no errors reported, but I don't see the network in the list, let's give it some more time to show up | 21:25:53 |
crushing-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 | * Hostapd service started, but I don't see the network in the list, let's give it some more time to show up | 21:28:30 |
crushing-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 |