Hi Michael, As mentioned at the monthly conf call I tested out today the wireless function in CU199 but it won't start for me.
Basically the code overwrites the WPA Passphrase in hostapd.conf with a directory. In the WUI the passphrase is still correctly shown. It is correctly stored in the wlanap/settings file. It is just not correct in the hostapd.conf file. The first time I tried the update the WPA Passphrase was replaced with /srv/web/ipfire/cgi-bin/ The second time I tried the update it was overwritten by / which is the version shown below. The hostapd.conf with CU197 (with 63 character Passphrase redacted) was ------------------------------------- driver=nl80211 ######################### basic hostapd configuration ########################## # country_code=NL country3=0x49 # indoor ieee80211d=1 ieee80211h=1 channel=6 # Always advertise TPC local_pwr_constraint=3 spectrum_mgmt_required=1 hw_mode=g ieee80211n=1 wmm_enabled=1 ht_capab= # Enable logging logger_syslog=-1 logger_syslog_level=4 auth_algs=1 ctrl_interface=/var/run/hostapd ctrl_interface_group=0 disassoc_low_ack=1 # SSID ssid2="Jarnsaxa" utf8_ssid=1 noscan=1 ieee80211w=0 ######################### wpa hostapd configuration ############################ # wpa=2 wpa_passphrase=*************************************************************** wpa_key_mgmt=WPA-PSK SAE rsn_pairwise=CCMP ------------------------------------- After the update the file contained ------------------------------------- # Automatically generated configuration # DO NOT EDIT logger_syslog=-1 logger_syslog_level=4 driver=nl80211 country_code=NL country3=0x49 ieee80211d=1 ieee80211h=1 channel=6 local_pwr_constraint=3 spectrum_mgmt_required=1 enable_background_radar=1 wmm_enabled=1 hw_mode=g ieee80211n=1 ht_capab=[HT40+][HT40-] [GF] [RX-STBC1] [SHORT-GI-40] [TX-STBC] [MAX-AMSDU-7935] [SHORT-GI-20] auth_algs=1 ctrl_interface=/var/run/hostapd ctrl_interface_group=0 disassoc_low_ack=1 ssid2="Jarnsaxa" utf8_ssid=1 noscan=1 ieee80211w=0 wpa=2 wpa_passphrase=/ wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256 SAE rsn_pairwise=CCMP ssid_protection=1 extended_key_id=1 oce=7 interworking=1 access_network_type=0 internet=1 time_advertisement=2 multicast_to_unicast=1 ------------------------------------- The wireless log not surprisingly had a problem with the passphrase 15:00:00 hostapd: blue0: interface state ENABLED->DISABLED 15:00:00 hostapd: blue0: AP-DISABLED 15:00:00 hostapd: blue0: CTRL-EVENT-TERMINATING 15:00:00 hostapd: nl80211: deinit ifname=blue0 disabled_11b_rates=0 15:00:02 hostapd: blue0: interface state UNINITIALIZED->COUNTRY_UPDATE 15:00:02 hostapd: Driver does not support configured HT capability [MAX-AMSDU-7935] 15:00:02 hostapd: blue0: interface state COUNTRY_UPDATE->DISABLED 15:00:02 hostapd: blue0: AP-DISABLED 15:00:02 hostapd: blue0: Unable to setup interface. 15:00:02 hostapd: blue0: interface state DISABLED->DISABLED 15:00:02 hostapd: blue0: AP-DISABLED 15:00:02 hostapd: blue0: CTRL-EVENT-TERMINATING 15:00:02 hostapd: hostapd_free_hapd_data: Interface blue0 wasn't started 15:00:02 hostapd: nl80211: deinit ifname=blue0 disabled_11b_rates=0 15:04:57 hostapd: Line 27: invalid WPA passphrase length 1 (expected 8..63) 15:04:57 hostapd: WPA-PSK enabled, but PSK or passphrase is not configured. 15:04:57 hostapd: 2 errors found in configuration file '/etc/hostapd.conf' 15:04:57 hostapd: Failed to set up interface with /etc/hostapd.conf 15:04:58 hostapd: Failed to initialize interface The log also mentions that the driver for the wireless chip in the Prime unit doesn't support a configured HT capability. I am presuming that that issue is the second error hostapd found in the configuration file. I have also just noticed that the hostapd.conf file that was used in CU197 is still physically present in /var/ipfire/wlanap/ while the new version is in /etc. Probably should delete the version from the old location if it is being replaced by the new version. Regards, Adolf.
