具有单个NIC的WiFi AP
我试图通过同一张网卡连接到我的wifi网络时,将PC无线网卡用作AP,但是我遇到了问题。我要实现的目标等同于Windows的虚拟Wi-fi技术。根据原理,这非常简单: service network-manager stop iw dev wlan0 del iw phy phy0 interface add new0 type station service network-manager start iw phy phy0 interface add new1 type __ap hostapd -B /etc/hostapd.conf 使用适合hostapd的配置: cat /etc/hostapd/hostapd.conf interface=new1 driver=nl80211 logger_syslog=-1 logger_syslog_level=2 logger_stdout=-1 logger_stdout_level=2 ssid=XXXX country_code=us hw_mode=g channel=1 macaddr_acl=0 auth_algs=3 ignore_broadcast_ssid=0 eap_server=0 wpa=2 wpa_passphrase=XXXX wpa_pairwise=TKIP …