Okay I’m sorry to say but I am stuck again. I followed the appnote to compile hostapd_s1g and wpa_supplicant_s1g, along with morse_cli. I am using the example configs from the appnote with the only exception being I changed country_code in the hostapd.conf to be US.
hostapd_s1g output.
root@pi5-halow:~# hostapd_s1g hostapd.conf
s1g mapped ht channel 163
Automatically configuring VHT due to 160MHz chan selection
Full Channel Information
Operating Frequency: 924000 kHz
Operating BW: 8 MHz
Primary BW: 2 MHz
Primary Channel Index: 0
wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
wlan1: interface state COUNTRY_UPDATE->ENABLED
wlan1: AP-ENABLED
But when I try to launch wpa_supplicant_s1g
root@pi5-halow:~# wpa_supplicant_s1g -D nl80211 -i wlan1 -c wpa_supplicant.conf
Successfully initialized wpa_supplicant
nl80211: kernel reports: Match already configured
nl80211: Could not configure driver mode
nl80211: deinit ifname=wlan1 disabled_11b_rates=0
wlan1: Failed to initialize driver interface
wlan1: CTRL-EVENT-DSCP-POLICY clear_all
I tried a couple commands with morse_cli but they all seem to fail. Maybe that’s expected because I’m not using your hardware.
root@pi5-halow:~# morse_cli hw_version
NL80211, code -95: Error callback called
NL80211, code -10: Failed to rcvmsgs
Command 'morse_cli hw_version' failed with error code -10
root@pi5-halow:~# morse_cli stats
NL80211, code -95: Error callback called
NL80211, code -10: Failed to rcvmsgs
NL80211, code -95: Error callback called
NL80211, code -10: Failed to rcvmsgs
Command 'morse_cli stats' failed with error code -10
EDIT: Ah, am I supposed to run hostapd on one device, and wpa_supplicant on another?
they seem to be competing with each other.
EDIT: Progress!!
pi5-halow: hostapd
root@pi5-halow:~# hostapd_s1g ./hostapd.conf
s1g mapped ht channel 163
Automatically configuring VHT due to 160MHz chan selection
Full Channel Information
Operating Frequency: 924000 kHz
Operating BW: 8 MHz
Primary BW: 2 MHz
Primary Channel Index: 0
wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
RAW Settings: disable 4096 26900 1 disable 0 0 0 0
wlan1: interface state COUNTRY_UPDATE->ENABLED
wlan1: AP-ENABLED
wlan1: STA 3c:22:7f:71:d9:e7 IEEE 802.11: associated (aid 1)
wlan1: AP-STA-CONNECTED 3c:22:7f:71:d9:e7
wlan1: STA 3c:22:7f:71:d9:e7 RADIUS: starting accounting session CD4545396FFC24CB
wlan1: STA 3c:22:7f:71:d9:e7 WPA: pairwise key handshake completed (RSN)
wlan1: EAPOL-4WAY-HS-COMPLETED 3c:22:7f:71:d9:e7
pi5-halow-client: wpa_supplicant
root@pi5-halow-client:~# wpa_supplicant_s1g -D nl80211 -i wlan1 -c ./wpa_supplicant.conf
Successfully initialized wpa_supplicant
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
morse: disable long sleep on ifname wlan1
wlan1: SME: Trying to authenticate with 3c:22:7f:37:4d:57 (SSID='MorseMicro' chan=37)
wlan1: SME: Trying to authenticate with 3c:22:7f:37:4d:57 (SSID='MorseMicro' chan=37)
wlan1: PMKSA-CACHE-ADDED 3c:22:7f:37:4d:57 0
wlan1: Trying to associate with 3c:22:7f:37:4d:57 (SSID='MorseMicro' chan=-1)
wlan1: Associated with 3c:22:7f:37:4d:57
wlan1: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlan1: WPA: Key negotiation completed with 3c:22:7f:37:4d:57 [PTK=CCMP GTK=CCMP]
wlan1: CTRL-EVENT-CONNECTED - Connection to 3c:22:7f:37:4d:57 completed [id=0 id_str=]
Am able to pass data between nodes! Also confirmed meshing doesn’t seem to work when I add mode=5 to my wpa_supplicant.conf. Any current work arounds for 802.11s with these seeedstudio cards and your firmware/drivers?
What else is super weird is I cannot ping from server to client (hostapd to wpa_supplicant) unless im already pinging client to server. hopefully that makes sense. pings report host unreachable unless im actively trying to ping the other direction. Same issue occurs with iperf3. I did have a successful iperf3 test with the server as the hostapd system, and the client as the wpa_supplicant system
root@pi5-halow-client:~# iperf3 -c 10.0.0.1
Connecting to host 10.0.0.1, port 5201
[ 5] local 10.0.0.2 port 37360 connected to 10.0.0.1 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 2.19 MBytes 18.4 Mbits/sec 0 119 KBytes
[ 5] 1.00-2.00 sec 2.49 MBytes 20.9 Mbits/sec 0 223 KBytes
[ 5] 2.00-3.00 sec 2.80 MBytes 23.5 Mbits/sec 0 313 KBytes
[ 5] 3.00-4.00 sec 2.24 MBytes 18.8 Mbits/sec 0 393 KBytes
[ 5] 4.00-5.00 sec 2.42 MBytes 20.3 Mbits/sec 0 414 KBytes
[ 5] 5.00-6.00 sec 2.42 MBytes 20.3 Mbits/sec 0 414 KBytes
[ 5] 6.00-7.00 sec 1.62 MBytes 13.6 Mbits/sec 0 414 KBytes
[ 5] 7.00-8.00 sec 2.42 MBytes 20.3 Mbits/sec 0 414 KBytes
[ 5] 8.00-9.00 sec 1.62 MBytes 13.5 Mbits/sec 0 421 KBytes
[ 5] 9.00-10.00 sec 2.61 MBytes 21.9 Mbits/sec 0 445 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 22.8 MBytes 19.1 Mbits/sec 0 sender
[ 5] 0.00-10.13 sec 20.9 MBytes 17.3 Mbits/sec receiver
iperf Done.
Also I’d love to use 915 MHz