Ubuntu 开启wifi 5G 热点
- [安装 hostapd](#安装 hostapd)
- [创建并修改 hostapd.conf](#创建并修改 hostapd.conf)
- 执行开启
安装 hostapd
bash
sudo apt install hostapd
创建并修改 hostapd.conf
在 /etc/hostapd/
路径下创建 hostapd.conf
,如下内容:
bash
interface=wlp129s0f0
ssid=My5GWiFi
hw_mode=a
channel=36
ieee80211n=1
ieee80211ac=1
wpa=2
wpa_passphrase=YourPasswordHere
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
rsn_pairwise=CCMP
执行开启
bash
hostapd /etc/hostapd.conf -d