Before changing the hostapd.conf
file again, make sure you have other way to connect to the Rover in case the Access Point becomes unreachable.
For example: Connect the rover to local network, then check its ip with the ip address
command. You should be able to SSH to the Rover from a computer connected to the same network.
Once you’ve done that, modify the hostapd file by commenting out the lines below 2.4 GHz
section and uncommenting the lines under 5 GHz
section.
The file should look like this:
# https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf
ssid=LeoRover-ffec
wpa_passphrase=password
country_code=US
interface=wlan_ext
driver=nl80211
wpa=2
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
wmm_enabled=1
ieee80211n=1
ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40]
# 2.4 GHz
# hw_mode=g
# channel=1
# 5 GHz
hw_mode=a
ieee80211ac=1
channel=36
vht_oper_chwidth=1
vht_capab=[MAX-MPDU-11454][MAX-MPDU-11454][SU-BEAMFORMEE][HTC-VHT]
vht_oper_centr_freq_seg0_idx=42
Now, restart the hostapd
service:
sudo systemctl restart hostapd
and check the logs again:
journalctl --no-pager -b -u hostapd