{"id":105827,"date":"2026-09-16T08:16:30","date_gmt":"2026-09-16T00:16:30","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/105827.html"},"modified":"2026-09-16T08:16:30","modified_gmt":"2026-09-16T00:16:30","slug":"%e3%80%8awifi-%e5%b5%8c%e5%85%a5%e5%bc%8f%e7%89%a9%e8%81%94%e7%bd%91%e5%bc%80%e5%8f%91%e5%85%a8%e5%a5%97%e5%ae%9e%e6%88%98%e3%80%8b-%e7%ac%ac-11-%e7%ab%a0-hostapd-%e7%83%ad%e7%82%b9%e6%90%ad","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/105827.html","title":{"rendered":"\u300aWiFi \u5d4c\u5165\u5f0f\u7269\u8054\u7f51\u5f00\u53d1\u5168\u5957\u5b9e\u6218\u300b | \u7b2c 11 \u7ae0 hostapd \u70ed\u70b9\u642d\u5efa\u539f\u7406\u3001AP \u6a21\u5f0f\u8ba4\u8bc1\u3001\u6700\u5927\u8fde\u63a5\u6570\u3001\u9694\u79bb\u7b56\u7565"},"content":{"rendered":"<p>\u4e13\u680f&#xff1a;\u300aWiFi \u5d4c\u5165\u5f0f\u7269\u8054\u7f51\u5f00\u53d1\u5168\u5957\u5b9e\u6218\u300b \u4e13\u680f\u5b9a\u4f4d&#xff1a;\u5d4c\u5165\u5f0f Linux\/ESP32 WiFi \u4ece\u539f\u7406\u2192\u9a71\u52a8\u2192\u914d\u7f51\u2192\u534f\u8bae\u2192\u7a33\u5b9a\u6027\u2192\u6293\u5305\u8c03\u8bd5\u2192\u91cf\u4ea7\u4f18\u5316\u5168\u5957\u5de5\u4e1a\u5b9e\u6218 \u9002\u914d&#xff1a;\u7269\u8054\u7f51\u8bbe\u5907\u3001\u667a\u80fd\u5bb6\u5c45\u3001\u5de5\u63a7\u7f51\u5173\u3001\u65e0\u7ebf\u900f\u4f20\u8bbe\u5907\u30014G&#043;WiFi \u53cc\u6a21\u8bbe\u5907 &#x1f496; \u70b9\u8d5e &#043; \u6536\u85cf &#043; \u5173\u6ce8&#xff0c;\u5d4c\u5165\u5f0f WiFi \u91cf\u4ea7\u5b9e\u6218\u5168\u5957\u6559\u7a0b\u6301\u7eed\u66f4\u65b0&#xff01;<\/p>\n<h3>\u672c\u7ae0\u524d\u8a00<\/h3>\n<p>\u5d4c\u5165\u5f0f Linux \u8bbe\u5907\u5f00\u53d1\u8fc7\u7a0b\u4e2d&#xff0c;AP \u70ed\u70b9\u6a21\u5f0f\u5c5e\u4e8e\u9ad8\u9891\u4e1a\u52a1\u573a\u666f&#xff1a;\u8bbe\u5907\u51fa\u5382\u914d\u7f51\u70ed\u70b9\u3001\u5de5\u63a7\u8bbe\u5907\u672c\u5730\u8c03\u8bd5\u5165\u53e3\u30014G \u8f6c WiFi \u7f51\u5173\u3001\u65e0\u7ebf\u900f\u4f20\u6a21\u5757\u3001\u672c\u5730\u5c40\u57df\u7f51\u63a7\u5236\u90fd\u4f9d\u8d56 AP \u63a5\u5165\u80fd\u529b\u3002 \u5728 Linux \u751f\u6001\u4e2d&#xff0c;hostapd \u662f\u5b9e\u73b0 802.11 AP \u63a5\u5165\u70b9\u7684\u6838\u5fc3\u7528\u6237\u6001\u5b88\u62a4\u7a0b\u5e8f\u3002\u5b83\u57fa\u4e8enl80211\/cfg80211\u5185\u6838\u63a5\u53e3\u548c\u65e0\u7ebf\u7f51\u5361\u9a71\u52a8\u914d\u5408&#xff0c;\u5b8c\u6210 Beacon \u4fe1\u6807\u5e27\u53d1\u9001\u3001\u63a2\u6d4b\u5e27\u54cd\u5e94\u3001\u94fe\u8def\u8ba4\u8bc1\u3001\u5173\u8054\u5904\u7406\u3001WPA\/WPA2 \u56db\u6b21\u63e1\u624b\u3001\u5ba2\u6237\u7aef\u63a5\u5165\u7ba1\u7406\u3001\u63a5\u5165\u6570\u91cf\u7ba1\u63a7\u3001\u5ba2\u6237\u7aef\u9694\u79bb\u6574\u5957\u903b\u8f91\u3002<\/p>\n<p>\u5f88\u591a\u5de5\u7a0b\u5e08\u7f51\u4e0a\u590d\u5236\u4e00\u4efd\u7b80\u77ed\u914d\u7f6e&#xff0c;PC \u73af\u5883\u6d4b\u8bd5\u6b63\u5e38&#xff0c;\u79fb\u690d\u5230\u5d4c\u5165\u5f0f\u677f\u5b50\u5c31\u51fa\u73b0\u5404\u7c7b\u7591\u96be\u73b0\u8c61&#xff1a;\u641c\u7d22\u4e0d\u5230\u70ed\u70b9\u3001\u80fd\u641c\u5230\u4f46\u662f\u8fde\u63a5\u5931\u8d25\u3001\u5bc6\u7801\u6b63\u786e\u53cd\u590d\u65ad\u5f00\u3001\u63a5\u5165\u51e0\u53f0\u8bbe\u5907\u4e4b\u540e\u65b0\u8bbe\u5907\u65e0\u6cd5\u8fde\u63a5\u3001\u591a\u53f0\u63a5\u5165\u8bbe\u5907\u4e4b\u95f4\u975e\u6cd5\u4e92\u76f8\u8bbf\u95ee\u3002 \u672c\u7ae0\u4e25\u683c\u56f4\u7ed5\u672c\u7ae0\u6807\u9898&#xff1a;\u70ed\u70b9\u5e95\u5c42\u642d\u5efa\u539f\u7406\u3001AP \u5b8c\u6574\u8ba4\u8bc1\u6d41\u7a0b\u3001\u6700\u5927\u8fde\u63a5\u6570\u673a\u5236\u3001\u5ba2\u6237\u7aef\u9694\u79bb\u7b56\u7565\u5c55\u5f00&#xff0c;\u4ece\u539f\u7406\u3001\u914d\u7f6e\u3001\u8c03\u8bd5\u3001\u6293\u5305\u73b0\u8c61\u3001\u91cf\u4ea7\u5751\u70b9\u5b8c\u6574\u8bb2\u89e3&#xff0c;\u4e0d\u53d1\u6563\u65e0\u5173\u5185\u5bb9\u3002<\/p>\n<p>\u5b9e\u9a8c\u73af\u5883&#xff1a;\u5d4c\u5165\u5f0f Linux&#xff0c;hostapd\u20112.9\/2.10&#xff0c;\u7f51\u5361\u652f\u6301 AP \u6a21\u5f0f&#xff1b;\u9002\u7528\u7f51\u5173\u3001\u667a\u80fd\u5bb6\u5c45 Linux \u4e3b\u677f\u3002<\/p>\n<h3>11.1 hostapd \u70ed\u70b9\u642d\u5efa\u5e95\u5c42\u539f\u7406<\/h3>\n<h4>11.1.1 hostapd \u6574\u4f53\u5de5\u4f5c\u5206\u5c42<\/h4>\n<li>\u914d\u7f6e\u5c42 hostapd.conf \u5b9a\u4e49 SSID\u3001\u4fe1\u9053\u3001\u5e26\u5bbd\u3001\u52a0\u5bc6\u5957\u4ef6\u3001\u56fd\u5bb6\u7801\u3001\u6700\u5927\u63a5\u5165\u7ad9\u70b9\u3001\u9694\u79bb\u7b56\u7565\u7b49\u5168\u90e8 AP \u884c\u4e3a\u53c2\u6570&#xff0c;hostapd \u542f\u52a8\u52a0\u8f7d\u89e3\u6790\u3002<\/li>\n<li>hostapd \u7528\u6237\u6001\u8fdb\u7a0b\u6838\u5fc3\u5de5\u4f5c<\/li>\n<ul>\n<li>\u5b9a\u65f6\u751f\u6210\u5e76\u53d1\u9001 Beacon \u4fe1\u6807\u5e27&#xff0c;\u5bf9\u5916\u5e7f\u64ad\u70ed\u70b9\u5b58\u5728&#xff1b;<\/li>\n<li>\u54cd\u5e94\u5ba2\u6237\u7aef Probe Request \u63a2\u6d4b\u8bf7\u6c42&#xff1b;<\/li>\n<li>\u5904\u7406 802.11 Open System \u94fe\u8def\u8ba4\u8bc1&#xff1b;<\/li>\n<li>\u5904\u7406 Association \u5173\u8054\u8bf7\u6c42&#xff0c;\u505a\u63a5\u5165\u6761\u4ef6\u6821\u9a8c&#xff1b;<\/li>\n<li>\u5b8c\u6210 WPA\u2011PSK \u56db\u6b21\u63e1\u624b\u5bc6\u94a5\u534f\u5546&#xff0c;\u771f\u6b63\u6821\u9a8c WiFi \u5bc6\u7801&#xff1b;<\/li>\n<li>\u7ef4\u62a4\u5728\u7ebf STA \u5ba2\u6237\u7aef\u94fe\u8868&#xff0c;\u7edf\u8ba1\u63a5\u5165\u8bbe\u5907\u6570\u91cf&#xff1b;<\/li>\n<li>\u6267\u884c\u6700\u5927\u8fde\u63a5\u6570\u9650\u5236\u3001\u5ba2\u6237\u7aef\u4e8c\u5c42\u9694\u79bb\u7b56\u7565&#xff1b;<\/li>\n<li>\u901a\u8fc7 netlink (nl80211) \u5c06\u547d\u4ee4\u4e0b\u53d1\u5185\u6838&#xff0c;\u63a5\u6536\u5185\u6838\u4e0a\u62a5\u65e0\u7ebf\u4e8b\u4ef6\u3002<\/li>\n<\/ul>\n<li>\u5185\u6838\u5c42 cfg80211 \/nl80211 netlink \u5957\u63a5\u5b57\u4f5c\u4e3a hostapd \u548c\u9a71\u52a8\u4e4b\u95f4\u901a\u4fe1\u6865\u6881&#xff0c;\u8d1f\u8d23\u8f6c\u53d1\u914d\u7f6e\u3001\u5e27\u4e8b\u4ef6\u3001STA \u72b6\u6001\u53d8\u66f4\u3002<\/li>\n<li>WiFi \u9a71\u52a8 &#043; Firmware \u56fa\u4ef6 \u8d1f\u8d23\u65e0\u7ebf\u62a5\u6587\u5b9e\u9645\u6536\u53d1&#xff0c;\u5c04\u9891\u529f\u7387\u63a7\u5236&#xff0c;\u786c\u4ef6\u5c42\u9762\u5904\u7406\u5e27\u3002<\/li>\n<p>\u26a0\ufe0f\u5173\u952e\u5de5\u7a0b\u524d\u63d0&#xff1a;\u7f51\u5361\u786c\u4ef6 &#043; \u56fa\u4ef6\u5fc5\u987b\u652f\u6301 AP \u6a21\u5f0f\u3002 \u6267\u884ciw list\u67e5\u770b Supported interface modes&#xff0c;\u5fc5\u987b\u5b58\u5728AP&#xff1b;\u5373\u4fbf\u914d\u7f6e\u5b8c\u5168\u6b63\u786e&#xff0c;\u5982\u679c\u786c\u4ef6\u4e0d\u652f\u6301 AP&#xff0c;hostapd \u542f\u52a8\u76f4\u63a5\u62a5\u9519&#xff0c;\u8fd9\u662f\u5d4c\u5165\u5f0f\u79fb\u690d\u6700\u9ad8\u9891\u8e29\u5751\u3002<\/p>\n<h4>11.1.2 hostapd \u548c wpa_supplicant \u5206\u5de5\u8fb9\u754c<\/h4>\n<ul>\n<li>hostapd&#xff1a;AP \u6a21\u5f0f&#xff0c;\u5145\u5f53\u65e0\u7ebf\u63a5\u5165\u70b9&#xff0c;\u63a5\u6536\u5916\u90e8\u8bbe\u5907\u63a5\u5165<\/li>\n<li>wpa_supplicant&#xff1a;STA \u6a21\u5f0f&#xff0c;\u672c\u673a\u4f5c\u4e3a\u5ba2\u6237\u7aef\u53bb\u8fde\u63a5\u5916\u90e8\u8def\u7531\u5668<\/li>\n<\/ul>\n<p>\u7edd\u5927\u591a\u6570\u65e0\u7ebf\u7f51\u5361\u786c\u4ef6&#xff0c;\u5355\u7f51\u5361\u4e0d\u80fd\u540c\u65f6\u8fd0\u884c hostapd \u4e0e wpa_supplicant&#xff1b;\u5c11\u6570\u82af\u7247\u652f\u6301 AP&#043;STA&#xff0c;\u9700\u8981\u9a71\u52a8\u3001\u56fa\u4ef6\u53cc\u91cd\u652f\u6301\u3002 \u542f\u52a8 hostapd \u4e4b\u524d\u5fc5\u987b\u505c\u6b62 wpa_supplicant&#xff0c;\u5426\u5219\u7f51\u5361\u8d44\u6e90\u88ab\u5360\u7528&#xff0c;AP \u6a21\u5f0f\u521d\u59cb\u5316\u5931\u8d25\u3002<\/p>\n<h3>11.2 AP \u6a21\u5f0f\u5b8c\u6574\u8ba4\u8bc1\u4ea4\u4e92\u6d41\u7a0b<\/h3>\n<p>\u624b\u673a\u6216\u8005\u5176\u4ed6 STA \u8bbe\u5907\u8fde\u63a5 hostapd \u642d\u5efa\u7684\u70ed\u70b9&#xff0c;\u5b8c\u6574 802.11 \u4ea4\u4e92\u6d41\u7a0b&#xff0c;\u5bf9\u5e94\u6293\u5305\u5e27\u7c7b\u578b&#xff0c;\u7528\u4e8e\u6545\u969c\u5b9a\u4f4d\u3002<\/p>\n<li>Beacon \u5e27\u5e7f\u64ad hostapd \u6bcf 100TU&#xff08;\u7ea6 102.4ms&#xff09;\u53d1\u9001 Beacon \u7ba1\u7406\u5e27&#xff0c;\u643a\u5e26 SSID\u3001\u4fe1\u9053\u3001\u52a0\u5bc6\u80fd\u529b\u3001\u56fd\u5bb6\u7801\u4fe1\u606f&#xff0c;\u5468\u8fb9\u8bbe\u5907\u626b\u63cf\u5373\u53ef\u53d1\u73b0\u70ed\u70b9\u3002\u9690\u85cf SSID \u6a21\u5f0f\u4e0b Beacon \u5185 SSID \u4e3a\u7a7a\u3002<\/li>\n<li>Probe Request \/ Probe Response \u63a2\u6d4b \u5ba2\u6237\u7aef\u4e3b\u52a8\u53d1\u9001 Probe Request \u63a2\u6d4b\u5e27\u641c\u7d22\u70ed\u70b9&#xff1b;hostapd \u6536\u5230\u540e\u56de\u590d Probe Response\u3002\u9690\u85cf SSID \u573a\u666f&#xff0c;\u53ea\u6709\u643a\u5e26\u6b63\u786e SSID \u7684\u63a2\u6d4b\u5e27\u624d\u4f1a\u54cd\u5e94\u3002<\/li>\n<li>802.11 Open\u2011System \u5f00\u653e\u94fe\u8def\u8ba4\u8bc1 WPA2\u2011PSK \u70ed\u70b9\u5168\u90e8\u4f7f\u7528\u5f00\u653e\u8ba4\u8bc1\u6a21\u5f0f\u3002\u8fd9\u4e00\u6b65\u4e0d\u4f1a\u6821\u9a8c WiFi \u5bc6\u7801&#xff0c;\u5f88\u591a\u5f00\u53d1\u8005\u8bef\u89e3\u5728\u8fd9\u91cc\u6821\u9a8c\u5bc6\u7801\u3002WEP \u65f6\u4ee3\u624d\u4f7f\u7528\u5171\u4eab\u5bc6\u94a5\u8ba4\u8bc1&#xff0c;\u73b0\u4ee3\u4ea7\u54c1\u4e0d\u518d\u4f7f\u7528\u3002<\/li>\n<li>Association Request \/ Response \u5173\u8054 \u5ba2\u6237\u7aef\u53d1\u9001\u5173\u8054\u8bf7\u6c42\u5e27&#xff0c;\u643a\u5e26\u534f\u5546\u901f\u7387\u3001\u52a0\u5bc6\u80fd\u529b\u3002 hostapd \u6b64\u65f6\u6267\u884c\u5173\u952e\u6821\u9a8c\u903b\u8f91&#xff1a;<\/li>\n<ul>\n<li>\u5f53\u524d\u5728\u7ebf STA \u6570\u91cf\u662f\u5426\u5230\u8fbemax_num_sta\u6700\u5927\u8fde\u63a5\u6570&#xff1b;<\/li>\n<li>\u52a0\u5bc6\u5957\u4ef6\u3001\u4fe1\u9053\u53c2\u6570\u662f\u5426\u5339\u914d AP \u914d\u7f6e&#xff1b; \u6821\u9a8c\u5931\u8d25\u76f4\u63a5\u8fd4\u56de\u5173\u8054\u62d2\u7edd\u72b6\u6001\u7801&#xff1b;\u6821\u9a8c\u901a\u8fc7\u8fd4\u56de\u5173\u8054\u6210\u529f\u3002<\/li>\n<\/ul>\n<p>\u26a0\ufe0f\u73b0\u8c61&#xff1a;\u5bc6\u7801\u9519\u8bef&#xff0c;\u5173\u8054\u4f9d\u7136\u53ef\u4ee5\u6210\u529f&#xff0c;\u5bc6\u7801\u6821\u9a8c\u4e0d\u5728\u5173\u8054\u9636\u6bb5\u3002<\/p>\n<li>WPA2\u2011PSK \u56db\u6b21\u63e1\u624b&#xff08;4\u2011Way Handshake&#xff09;WiFi \u5bc6\u7801\u771f\u6b63\u6821\u9a8c\u53d1\u751f\u5728\u6b64\u73af\u8282\u3002 \u5982\u679c\u5bc6\u7801\u9519\u8bef&#xff0c;\u56db\u6b21\u63e1\u624b\u5931\u8d25&#xff0c;\u5ba2\u6237\u7aef\u76f4\u63a5\u65ad\u5f00\u3002\u73b0\u8c61&#xff1a;\u624b\u673a\u663e\u793a \u201c\u5df2\u4fdd\u5b58&#xff0c;\u65e0\u6cd5\u8fde\u63a5\u201d&#xff0c;\u6293\u5305\u53ef\u4ee5\u770b\u5230\u5173\u8054\u6210\u529f&#xff0c;\u4f46\u56db\u6b21\u63e1\u624b\u62a5\u6587\u62a5\u9519\u3002<\/li>\n<li>\u63a5\u5165\u5b8c\u6210 \u56db\u6b21\u63e1\u624b\u5168\u90e8\u5b8c\u6210&#xff0c;STA \u6b63\u5f0f\u52a0\u5165 BSS \u7f51\u7edc&#xff0c;hostapd \u5c06 STA \u52a0\u5165\u5728\u7ebf\u5ba2\u6237\u7aef\u5217\u8868&#xff0c;\u5185\u6838\u5f00\u542f\u6570\u636e\u8f6c\u53d1&#xff0c;\u8bbe\u5907\u53ef\u4ee5\u6b63\u5e38\u6536\u53d1\u7f51\u7edc\u6570\u636e\u3002<\/li>\n<h3>11.3 hostapd \u6838\u5fc3\u914d\u7f6e\u89e3\u6790&#xff1a;\u8ba4\u8bc1\u3001\u6700\u5927\u8fde\u63a5\u6570\u3001\u9694\u79bb\u7b56\u7565<\/h3>\n<p>\u7ed9\u51fa\u5b8c\u6574\u53ef\u8fd0\u884c\u6700\u5c0f\u914d\u7f6e&#xff0c;\u805a\u7126\u672c\u7ae0\u4e09\u4e2a\u6838\u5fc3\u4e3b\u9898&#xff1a;\u8ba4\u8bc1\u76f8\u5173\u53c2\u6570\u3001max_num_sta\u3001ap_isolate\u3002<\/p>\n<p>interface&#061;wlan0<br \/>\ndriver&#061;nl80211<\/p>\n<p>ssid&#061;Linux\u2011AP\u2011Dev<br \/>\ncountry_code&#061;CN<br \/>\nchannel&#061;6<br \/>\nhw_mode&#061;g<br \/>\nht_capab&#061;[HT40-]<\/p>\n<p># &#8212;&#8212;&#8211; AP\u8ba4\u8bc1\u76f8\u5173\u914d\u7f6e &#8212;&#8212;&#8211;<br \/>\nauth_algs&#061;1<br \/>\nwpa&#061;2<br \/>\nwpa_key_mgmt&#061;WPA-PSK<br \/>\nrsn_pairwise&#061;CCMP<br \/>\nwpa_passphrase&#061;12345678<\/p>\n<p># &#8212;&#8212;&#8211; \u6700\u5927\u8fde\u63a5\u6570 &#8212;&#8212;&#8211;<br \/>\nmax_num_sta&#061;8<\/p>\n<p># &#8212;&#8212;&#8211; \u5ba2\u6237\u7aef\u9694\u79bb\u7b56\u7565 &#8212;&#8212;&#8211;<br \/>\nap_isolate&#061;1<\/p>\n<p>ignore_broadcast_ssid&#061;0<br \/>\nbeacon_int&#061;100<\/p>\n<h4>11.3.1 AP \u6a21\u5f0f\u8ba4\u8bc1\u76f8\u5173\u914d\u7f6e\u9010\u9879\u89e3\u6790<\/h4>\n<li>auth_algs&#061;11&#xff1a;Open\u2011System \u5f00\u653e\u8ba4\u8bc1&#xff0c;WPA2\u2011PSK \u5fc5\u987b\u4f7f\u7528&#xff1b;2&#xff1a;WEP \u5171\u4eab\u5bc6\u94a5\u8ba4\u8bc1&#xff0c;\u7981\u6b62\u5728\u91cf\u4ea7\u4ea7\u54c1\u4f7f\u7528&#xff1b;3\u4ee3\u8868\u540c\u65f6\u5f00\u542f\u4e24\u79cd\u8ba4\u8bc1&#xff0c;\u8001\u6559\u7a0b\u5e38\u89c1&#xff0c;\u4f1a\u5f15\u5165 WEP \u5b89\u5168\u9690\u60a3&#xff0c;\u65b0\u9879\u76ee\u4e0d\u8981\u4f7f\u7528\u3002<\/li>\n<li>wpa&#061;2<\/li>\n<ul>\n<li>wpa&#061;1&#xff1a;\u4ec5 WPA&#xff1b;<\/li>\n<li>wpa&#061;2&#xff1a;\u4ec5 WPA2&#xff1b;<\/li>\n<li>wpa&#061;3&#xff1a;WPA&#043;WPA2 \u517c\u5bb9\u6a21\u5f0f\u3002<\/li>\n<\/ul>\n<p>\u91cf\u4ea7\u5efa\u8bae&#xff1a;\u76f4\u63a5wpa&#061;2&#xff0c;\u53ea\u542f\u7528 WPA2&#xff0c;\u51cf\u5c11\u5b89\u5168\u517c\u5bb9\u6f0f\u6d1e\u3002<\/p>\n<li>wpa_key_mgmt&#061;WPA\u2011PSK \u9884\u5171\u4eab\u5bc6\u94a5\u6a21\u5f0f&#xff0c;\u914d\u7f51\u70ed\u70b9\u3001\u6d88\u8d39\u7c7b\u8bbe\u5907\u5168\u90e8\u4f7f\u7528&#xff1b;\u4f01\u4e1a 802.1X \u624d\u4f7f\u7528 WPA\u2011EAP\u3002<\/li>\n<li>rsn_pairwise&#061;CCMP AES\u2011CCMP \u52a0\u5bc6\u7b97\u6cd5&#xff1b;\u4e0d\u8981\u4f7f\u7528 TKIP&#xff0c;TKIP \u5b58\u5728\u5b89\u5168\u6f0f\u6d1e&#xff0c;\u65b0\u7ec8\u7aef\u5df2\u7ecf\u9010\u6b65\u653e\u5f03\u652f\u6301 TKIP\u3002<\/li>\n<h4>11.3.2 max_num_sta \u6700\u5927\u8fde\u63a5\u6570\u673a\u5236<\/h4>\n<p>\u914d\u7f6e\u9879 max_num_sta&#061;N&#xff0c;\u4ee3\u8868 hostapd \u8f6f\u4ef6\u5c42\u9762\u5141\u8bb8\u540c\u65f6\u63a5\u5165\u7684 STA \u6700\u5927\u6570\u91cf\u3002<\/p>\n<li>\u786c\u4ef6\u4e0a\u9650\u4f18\u5148\u7ea7\u9ad8\u4e8e\u8f6f\u4ef6\u914d\u7f6e hostapd \u53c2\u6570\u662f\u8f6f\u4ef6\u9650\u5236&#xff0c;\u4e0d\u80fd\u7a81\u7834 WiFi \u82af\u7247\u56fa\u4ef6\u786c\u4ef6\u4e0a\u9650\u3002\u90e8\u5206\u5ec9\u4ef7 USB \u7f51\u5361\u786c\u4ef6\u6700\u5927\u4ec5\u652f\u6301 4 \u53f0 STA&#xff1b;\u5373\u4f7f\u914d\u7f6emax_num_sta&#061;16&#xff0c;\u5b9e\u9645\u6700\u591a\u53ea\u80fd\u63a5\u5165 4 \u53f0\u8bbe\u5907\u3002<\/li>\n<li>\u8fde\u63a5\u6570\u6ee1\u4e4b\u540e\u884c\u4e3a \u5728\u7ebf STA \u8fbe\u5230\u4e0a\u9650&#xff0c;\u65b0\u5ba2\u6237\u7aef\u53d1\u9001 Association Request&#xff0c;hostapd \u56de\u590d\u5173\u8054\u54cd\u5e94\u5e27&#xff0c;\u72b6\u6001\u780117&#xff08;Association denied because AP is full&#xff09;\u3002<\/li>\n<li>\u771f\u5b9e\u4ea7\u54c1\u73b0\u8c61 \u624b\u673a\u53ef\u4ee5\u626b\u63cf\u5230\u70ed\u70b9&#xff0c;\u8f93\u5165\u5bc6\u7801&#xff0c;\u4e00\u76f4\u8f6c\u5708\u8fde\u63a5\u5931\u8d25&#xff0c;\u7cfb\u7edf\u6ca1\u6709\u5f39\u7a97\u63d0\u793a\u70ed\u70b9\u5df2\u6ee1\u3002hostapd \u666e\u901a\u65e5\u5fd7\u4e0d\u4f1a\u6253\u5370\u62d2\u7edd\u539f\u56e0&#xff0c;\u5fc5\u987b\u5f00\u542f\u2011ddd \u8c03\u8bd5\u65e5\u5fd7&#xff0c;\u624d\u80fd\u6253\u5370\u72b6\u6001\u7801 17 \u62d2\u7edd\u4e8b\u4ef6\u3002<\/li>\n<li>\u5de5\u7a0b\u9009\u578b<\/li>\n<ul>\n<li>\u914d\u7f51\u70ed\u70b9\u573a\u666f&#xff1a;\u8bbe\u5907\u4e34\u65f6\u5f00\u542f AP \u7ed9\u624b\u673a\u914d\u7f51&#xff0c;max_num_sta&#061;4~8\u8db3\u591f&#xff0c;\u4e0d\u9700\u8981\u914d\u7f6e\u5f88\u5927&#xff1b;<\/li>\n<li>\u7f51\u5173\u8def\u7531\u4ea7\u54c1&#xff1a;\u524d\u671f\u67e5\u9605 datasheet \u786e\u8ba4\u82af\u7247\u786c\u4ef6\u652f\u6301\u6700\u5927\u63a5\u5165\u6570\u91cf\u3002<\/li>\n<\/ul>\n<p>\u8c03\u8bd5\u67e5\u770b\u5f53\u524d\u5728\u7ebf\u5ba2\u6237\u7aef&#xff1a;<\/p>\n<p>hostapd_cli all_sta<\/p>\n<p>\u8be5\u547d\u4ee4\u6253\u5370\u5168\u90e8\u5df2\u63a5\u5165 STA \u7684 MAC\u3001\u4fe1\u53f7\u3001\u4fe1\u9053\u4fe1\u606f&#xff0c;\u7528\u4e8e\u7edf\u8ba1\u5728\u7ebf\u8bbe\u5907\u6570\u91cf\u3002<\/p>\n<h4>11.3.3 ap_isolate \u5ba2\u6237\u7aef\u9694\u79bb\u7b56\u7565&#xff08;\u5b89\u5168\u91cd\u70b9&#xff09;<\/h4>\n<p>\u53c2\u6570 ap_isolate&#061;1 \u5f00\u542f\u9694\u79bb&#xff1b;ap_isolate&#061;0\u5173\u95ed\u9694\u79bb\u3002<\/p>\n<ul>\n<li>ap_isolate&#061;1&#xff1a;\u4e8c\u5c42\u5ba2\u6237\u7aef\u9694\u79bb&#xff0c;\u540c\u4e00 AP \u4e0b\u5404\u4e2a\u65e0\u7ebf STA \u4e4b\u95f4\u4e8c\u5c42\u6570\u636e\u5305\u76f4\u63a5\u4e22\u5f03&#xff0c;\u624b\u673a\u4e0e\u624b\u673a\u4e4b\u95f4\u4e0d\u80fd\u4e92\u76f8\u901a\u4fe1&#xff1b;\u65e0\u7ebf STA \u8bbf\u95ee AP \u672c\u673a IP \u4e0d\u53d7\u9694\u79bb\u9650\u5236\u3002<\/li>\n<li>ap_isolate&#061;0&#xff1a;\u5173\u95ed\u9694\u79bb&#xff0c;\u6240\u6709\u63a5\u5165\u8bbe\u5907\u5904\u4e8e\u540c\u4e00\u4e2a\u4e8c\u5c42\u5c40\u57df\u7f51&#xff0c;\u8bbe\u5907\u4e4b\u95f4\u53ef\u4ee5\u4e92\u76f8 ping\u3001\u8bbf\u95ee TCP \u7aef\u53e3\u3002<\/li>\n<\/ul>\n<p>\u4e1a\u52a1\u573a\u666f\u9009\u578b<\/p>\n<li>\u914d\u7f51\u70ed\u70b9\u573a\u666f&#xff1a;\u5fc5\u987b ap_isolate&#061;1 \u4e1a\u52a1\u4ec5\u9700\u8981\u624b\u673a\u8bbf\u95ee Linux \u8bbe\u5907\u672c\u8eab&#xff0c;\u4e0d\u9700\u8981\u5404\u4e2a\u63a5\u5165\u624b\u673a\u4e92\u76f8\u8bbf\u95ee&#xff1b;\u5f00\u542f\u9694\u79bb\u89c4\u907f\u5b89\u5168\u98ce\u9669&#xff0c;\u5f88\u591a\u4ea7\u54c1\u5b89\u5168\u8bc4\u5ba1\u4f1a\u68c0\u67e5\u8be5\u9879\u3002<\/li>\n<li>\u8def\u7531\u5668\u7f51\u5173\u573a\u666f&#xff1a;ap_isolate&#061;0 \u4ea7\u54c1\u4f5c\u4e3a\u65e0\u7ebf\u8def\u7531&#xff0c;\u63a5\u5165\u8bbe\u5907\u4e4b\u95f4\u9700\u8981\u4e92\u76f8\u8bbf\u95ee&#xff0c;\u5173\u95ed\u9694\u79bb\u3002<\/li>\n<p>\u91cf\u4ea7\u9ad8\u9891\u5751&#xff1a;\u5f00\u542f ap_isolate \u4e4b\u540e&#xff0c;\u624b\u673a\u65e0\u6cd5\u8bbf\u95ee\u8bbe\u5907\u670d\u52a1&#xff0c;\u4f18\u5148\u6392\u67e5 iptables \u9632\u706b\u5899\u89c4\u5219&#xff0c;ap_isolate \u4e0d\u4f1a\u9694\u79bb STA \u8bbf\u95ee AP \u672c\u673a IP&#xff0c;\u4e0d\u5c5e\u4e8e hostapd \u9694\u79bb\u95ee\u9898\u3002<\/p>\n<h3>11.4 hostapd \u8c03\u8bd5\u624b\u6bb5<\/h3>\n<h4>11.4.1 \u542f\u52a8\u65b9\u5f0f<\/h4>\n<p>#\u666e\u901a\u8fd0\u884c<br \/>\nhostapd \/etc\/hostapd.conf<\/p>\n<p>#\u5b8c\u6574debug\u65e5\u5fd7&#xff0c;\u6392\u67e5\u8ba4\u8bc1\u3001\u63a5\u5165\u62d2\u7edd\u5fc5\u7528<br \/>\nhostapd -ddd \/etc\/hostapd.conf<\/p>\n<p>11.4.2 hostapd_cli \u5de5\u5177\u96c6<\/p>\n<p>#\u67e5\u770b\u6240\u6709\u63a5\u5165\u5ba2\u6237\u7aef<br \/>\nhostapd_cli all_sta<br \/>\n#\u67e5\u770bAP\u8fd0\u884c\u72b6\u6001<br \/>\nhostapd_cli status<br \/>\n#\u5f3a\u5236\u8e22\u9664\u6307\u5b9aMAC\u8bbe\u5907<br \/>\nhostapd_cli deauthenticate aa:bb:cc:dd:ee:ff<\/p>\n<h3>11.5 AP \u6a21\u5f0f\u5178\u578b\u6545\u969c\u3001\u73b0\u8c61\u4e0e\u6839\u56e0<\/h3>\n<h4>\u6545\u969c 1&#xff1a;hostapd \u542f\u52a8\u62a5\u9519 Failed to set interface wlan0 into AP mode<\/h4>\n<li>\u7f51\u5361\u56fa\u4ef6\u786c\u4ef6\u4e0d\u652f\u6301 AP \u6a21\u5f0f&#xff0c;iw list\u786e\u8ba4\u6709\u65e0 AP \u80fd\u529b&#xff1b;<\/li>\n<li>wpa_supplicant \u8fdb\u7a0b\u672a\u5173\u95ed&#xff0c;\u7f51\u5361\u8d44\u6e90\u5360\u7528&#xff1b;<\/li>\n<li>channel \u4fe1\u9053\u8d85\u51fa country_code \u56fd\u5bb6\u7801\u5141\u8bb8\u8303\u56f4\u3002<\/li>\n<h4>\u6545\u969c 2&#xff1a;\u641c\u5230\u70ed\u70b9&#xff0c;\u5bc6\u7801\u6b63\u786e\u6301\u7eed\u8fde\u63a5\u5931\u8d25<\/h4>\n<p>\u6293\u5305\u770b\u5230 Association \u5173\u8054\u6210\u529f&#xff0c;\u56db\u6b21\u63e1\u624b\u5931\u8d25\u3002<\/p>\n<ul>\n<li>hostapd.conf \u914d\u7f6e\u6587\u4ef6\u5bc6\u7801\u884c\u672b\u5c3e\u5b58\u5728\u7a7a\u683c\u3001\u6362\u884c&#xff1b;<\/li>\n<li>\u9519\u8bef\u4f7f\u7528 TKIP \u52a0\u5bc6\u5957\u4ef6&#xff0c;\u7ec8\u7aef\u4e0d\u517c\u5bb9\u3002<\/li>\n<\/ul>\n<h4>\u6545\u969c 3&#xff1a;\u8fbe\u5230\u6700\u5927\u8fde\u63a5\u6570&#xff0c;\u65b0\u8bbe\u5907\u8fde\u4e0d\u4e0a&#xff0c;\u666e\u901a\u65e5\u5fd7\u770b\u4e0d\u51fa\u95ee\u9898<\/h4>\n<li>\u4f7f\u7528hostapd -ddd\u6253\u5f00\u8be6\u7ec6\u65e5\u5fd7&#xff0c;\u89c2\u5bdf\u662f\u5426\u6253\u5370\u72b6\u6001\u7801 17&#xff1b;<\/li>\n<li>\u786e\u8ba4\u786c\u4ef6\u771f\u5b9e\u652f\u6301\u7684\u6700\u5927 STA \u6570\u91cf&#xff0c;\u8f6f\u4ef6 max_num_sta \u4e0d\u80fd\u8d85\u8d8a\u786c\u4ef6\u4e0a\u9650\u3002<\/li>\n<h4>\u6545\u969c 4&#xff1a;\u90e8\u5206\u624b\u673a\u641c\u4e0d\u5230\u70ed\u70b9<\/h4>\n<li>\u6ca1\u6709\u586b\u5199country_code&#061;CN&#xff0c;\u5c04\u9891\u4fe1\u9053\u529f\u7387\u975e\u6cd5&#xff1b;<\/li>\n<li>2.4G \u5f00\u542f HT40&#xff0c;\u5468\u8fb9\u5e72\u6270\u4e25\u91cd&#xff0c;\u90e8\u5206\u7ec8\u7aef\u517c\u5bb9\u6027\u5dee&#xff0c;\u6539\u4e3a 20M \u5e26\u5bbd\u3002<\/li>\n<h4>\u6545\u969c 5&#xff1a;\u591a\u4e2a\u63a5\u5165\u8bbe\u5907\u4e4b\u95f4\u53ef\u4ee5\u4e92\u76f8\u8bbf\u95ee&#xff0c;\u5b58\u5728\u5b89\u5168\u9690\u60a3<\/h4>\n<p>\u6839\u56e0&#xff1a;\u914d\u7f51\u70ed\u70b9\u5fd8\u8bb0\u5f00\u542fap_isolate&#061;1\u3002<\/p>\n<h3>11.6 \u91cf\u4ea7\u5de5\u7a0b\u843d\u5730\u8981\u70b9<\/h3>\n<li>\u56fd\u5bb6\u7801 country_code&#061;CN \u5fc5\u987b\u914d\u7f6e&#xff0c;\u4e0d\u8bbe\u7f6e\u4f1a\u5bfc\u81f4\u4fe1\u9053\u3001\u53d1\u5c04\u529f\u7387\u4e0d\u53d7\u7ba1\u63a7&#xff0c;\u5c04\u9891\u8ba4\u8bc1\u65e0\u6cd5\u901a\u8fc7&#xff0c;\u90e8\u5206\u7ec8\u7aef\u626b\u63cf\u4e0d\u5230\u70ed\u70b9\u3002<\/li>\n<li>\u914d\u7f51\u70ed\u70b9\u4e1a\u52a1&#xff1a;\u914d\u7f51\u5b8c\u6210\u540e&#xff0c;\u5fc5\u987b\u505c\u6b62 hostapd \u8fdb\u7a0b&#xff0c;\u5207\u6362\u56de STA \u6a21\u5f0f&#xff1b;hostapd \u5e38\u9a7b\u4f1a\u6301\u7eed\u6d88\u8017 CPU\u3001\u5185\u5b58\u8d44\u6e90\u3002<\/li>\n<li>max_num_sta\u4ee5\u82af\u7247\u786c\u4ef6\u89c4\u683c\u4e3a\u51c6&#xff0c;\u4e0d\u8981\u76f2\u76ee\u8bbe\u7f6e\u8d85\u5927\u6570\u503c\u3002<\/li>\n<li>\u5b89\u5168\u5c42\u9762&#xff1a;\u7981\u6b62 WEP \u52a0\u5bc6&#xff1b;\u914d\u7f51\u70ed\u70b9\u907f\u514d\u5f31\u5bc6\u7801\u3002<\/li>\n<li>\u9690\u85cf SSIDignore_broadcast_ssid&#061;1&#xff0c;\u65e0\u6cd5\u771f\u6b63\u63d0\u9ad8\u5b89\u5168\u6027&#xff0c;\u5ba2\u6237\u7aef Probe Request \u4f9d\u65e7\u5e7f\u64ad SSID\u3002<\/li>\n<li>\u589e\u52a0\u8fdb\u7a0b\u5b88\u62a4&#xff1a;hostapd \u5f02\u5e38\u5d29\u6e83\u9700\u8981\u4e0a\u5c42\u68c0\u6d4b\u91cd\u542f&#xff0c;\u5426\u5219\u70ed\u70b9\u76f4\u63a5\u6d88\u5931\u3002<\/li>\n<h3>11.7 \u672c\u7ae0\u5c0f\u7ed3<\/h3>\n<p>hostapd \u5e76\u975e\u53ea\u662f\u4e00\u4efd\u914d\u7f6e\u6587\u4ef6&#xff0c;\u5b8c\u6574\u5b9e\u73b0 802.11 AP \u94fe\u8def\u72b6\u6001\u673a\u3002\u672c\u7ae0\u6838\u5fc3\u4e09\u4e2a\u91cd\u70b9&#xff1a;hostapd \u70ed\u70b9\u642d\u5efa\u5206\u5c42\u539f\u7406\u3001AP \u5b8c\u6574\u8ba4\u8bc1\u4ea4\u4e92\u6d41\u7a0b\u3001max_num_sta \u6700\u5927\u8fde\u63a5\u6570\u8f6f\u4ef6\u4e0e\u786c\u4ef6\u7ea6\u675f\u3001ap_isolate \u5ba2\u6237\u7aef\u4e8c\u5c42\u9694\u79bb\u5b89\u5168\u7b56\u7565\u3002 \u9047\u5230\u63a5\u5165\u5f02\u5e38\u4f18\u5148\u6253\u5f00\u2011ddd\u5b8c\u6574\u65e5\u5fd7&#xff0c;\u7ed3\u5408iw list\u786e\u8ba4\u786c\u4ef6\u80fd\u529b&#xff0c;\u533a\u5206\u662f\u786c\u4ef6\u56fa\u4ef6\u95ee\u9898\u3001\u914d\u7f6e\u53c2\u6570\u95ee\u9898\u3001\u7b56\u7565\u9650\u5236\u95ee\u9898\u3002\u5927\u91cf\u5d4c\u5165\u5f0f\u914d\u7f51\u70ed\u70b9\u7684\u7591\u96be\u6545\u969c&#xff0c;\u6839\u6e90\u90fd\u51fa\u81ea\u672c\u7ae0\u77e5\u8bc6\u70b9\u3002<\/p>\n<p>&#x1f496; \u70b9\u8d5e &#043; \u6536\u85cf &#043; \u5173\u6ce8&#xff0c;\u5d4c\u5165\u5f0f WiFi \u91cf\u4ea7\u5b9e\u6218\u5168\u5957\u6559\u7a0b\u6301\u7eed\u66f4\u65b0&#xff01;<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e13\u680f&#xff1a;\u300aWiFi \u5d4c\u5165\u5f0f\u7269\u8054\u7f51\u5f00\u53d1\u5168\u5957\u5b9e\u6218\u300b \u4e13\u680f\u5b9a\u4f4d&#xff1a;\u5d4c\u5165\u5f0f Linux\/ESP32 WiFi \u4ece\u539f\u7406\u2192\u9a71\u52a8\u2192\u914d\u7f51\u2192\u534f\u8bae\u2192\u7a33\u5b9a\u6027\u2192\u6293\u5305\u8c03\u8bd5\u2192\u91cf\u4ea7\u4f18\u5316\u5168\u5957\u5de5\u4e1a\u5b9e\u6218 \u9002\u914d&#xff1a;\u7269\u8054\u7f51\u8bbe\u5907\u3001\u667a\u80fd\u5bb6\u5c45\u3001\u5de5\u63a7\u7f51\u5173\u3001\u65e0\u7ebf\u900f\u4f20\u8bbe\u5907\u30014GWiFi \u53cc\u6a21\u8bbe\u5907 &#x1f496; \u70b9\u8d5e  \u6536\u85cf  \u5173\u6ce8&#xff0c;\u5d4c\u5165\u5f0f WiFi \u91cf\u4ea7\u5b9e\u6218\u5168\u5957\u6559\u7a0b\u6301\u7eed\u66f4\u65b0&#xff01;\u672c\u7ae0\u524d\u8a00\u5d4c\u5165\u5f0f Linux \u8bbe\u5907\u5f00\u53d1\u8fc7\u7a0b\u4e2d&#xff0c;AP \u70ed\u70b9\u6a21\u5f0f\u5c5e\u4e8e\u9ad8\u9891\u4e1a\u52a1<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[174,217,220,78],"topic":[],"class_list":["post-105827","post","type-post","status-publish","format-standard","hentry","category-server","tag-c","tag-stm32","tag-220","tag-78"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u300aWiFi \u5d4c\u5165\u5f0f\u7269\u8054\u7f51\u5f00\u53d1\u5168\u5957\u5b9e\u6218\u300b | \u7b2c 11 \u7ae0 hostapd \u70ed\u70b9\u642d\u5efa\u539f\u7406\u3001AP \u6a21\u5f0f\u8ba4\u8bc1\u3001\u6700\u5927\u8fde\u63a5\u6570\u3001\u9694\u79bb\u7b56\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/105827.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u300aWiFi \u5d4c\u5165\u5f0f\u7269\u8054\u7f51\u5f00\u53d1\u5168\u5957\u5b9e\u6218\u300b | \u7b2c 11 \u7ae0 hostapd \u70ed\u70b9\u642d\u5efa\u539f\u7406\u3001AP \u6a21\u5f0f\u8ba4\u8bc1\u3001\u6700\u5927\u8fde\u63a5\u6570\u3001\u9694\u79bb\u7b56\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e13\u680f&#xff1a;\u300aWiFi \u5d4c\u5165\u5f0f\u7269\u8054\u7f51\u5f00\u53d1\u5168\u5957\u5b9e\u6218\u300b \u4e13\u680f\u5b9a\u4f4d&#xff1a;\u5d4c\u5165\u5f0f Linux\/ESP32 WiFi \u4ece\u539f\u7406\u2192\u9a71\u52a8\u2192\u914d\u7f51\u2192\u534f\u8bae\u2192\u7a33\u5b9a\u6027\u2192\u6293\u5305\u8c03\u8bd5\u2192\u91cf\u4ea7\u4f18\u5316\u5168\u5957\u5de5\u4e1a\u5b9e\u6218 \u9002\u914d&#xff1a;\u7269\u8054\u7f51\u8bbe\u5907\u3001\u667a\u80fd\u5bb6\u5c45\u3001\u5de5\u63a7\u7f51\u5173\u3001\u65e0\u7ebf\u900f\u4f20\u8bbe\u5907\u30014GWiFi \u53cc\u6a21\u8bbe\u5907 &#x1f496; \u70b9\u8d5e \u6536\u85cf \u5173\u6ce8&#xff0c;\u5d4c\u5165\u5f0f WiFi \u91cf\u4ea7\u5b9e\u6218\u5168\u5957\u6559\u7a0b\u6301\u7eed\u66f4\u65b0&#xff01;\u672c\u7ae0\u524d\u8a00\u5d4c\u5165\u5f0f Linux \u8bbe\u5907\u5f00\u53d1\u8fc7\u7a0b\u4e2d&#xff0c;AP \u70ed\u70b9\u6a21\u5f0f\u5c5e\u4e8e\u9ad8\u9891\u4e1a\u52a1\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/105827.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-16T00:16:30+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/105827.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/105827.html\",\"name\":\"\u300aWiFi \u5d4c\u5165\u5f0f\u7269\u8054\u7f51\u5f00\u53d1\u5168\u5957\u5b9e\u6218\u300b | \u7b2c 11 \u7ae0 hostapd \u70ed\u70b9\u642d\u5efa\u539f\u7406\u3001AP \u6a21\u5f0f\u8ba4\u8bc1\u3001\u6700\u5927\u8fde\u63a5\u6570\u3001\u9694\u79bb\u7b56\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-16T00:16:30+00:00\",\"dateModified\":\"2026-09-16T00:16:30+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/105827.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/105827.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/105827.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u300aWiFi \u5d4c\u5165\u5f0f\u7269\u8054\u7f51\u5f00\u53d1\u5168\u5957\u5b9e\u6218\u300b | \u7b2c 11 \u7ae0 hostapd \u70ed\u70b9\u642d\u5efa\u539f\u7406\u3001AP \u6a21\u5f0f\u8ba4\u8bc1\u3001\u6700\u5927\u8fde\u63a5\u6570\u3001\u9694\u79bb\u7b56\u7565\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u300aWiFi \u5d4c\u5165\u5f0f\u7269\u8054\u7f51\u5f00\u53d1\u5168\u5957\u5b9e\u6218\u300b | \u7b2c 11 \u7ae0 hostapd \u70ed\u70b9\u642d\u5efa\u539f\u7406\u3001AP \u6a21\u5f0f\u8ba4\u8bc1\u3001\u6700\u5927\u8fde\u63a5\u6570\u3001\u9694\u79bb\u7b56\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/105827.html","og_locale":"zh_CN","og_type":"article","og_title":"\u300aWiFi \u5d4c\u5165\u5f0f\u7269\u8054\u7f51\u5f00\u53d1\u5168\u5957\u5b9e\u6218\u300b | \u7b2c 11 \u7ae0 hostapd \u70ed\u70b9\u642d\u5efa\u539f\u7406\u3001AP \u6a21\u5f0f\u8ba4\u8bc1\u3001\u6700\u5927\u8fde\u63a5\u6570\u3001\u9694\u79bb\u7b56\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e13\u680f&#xff1a;\u300aWiFi \u5d4c\u5165\u5f0f\u7269\u8054\u7f51\u5f00\u53d1\u5168\u5957\u5b9e\u6218\u300b \u4e13\u680f\u5b9a\u4f4d&#xff1a;\u5d4c\u5165\u5f0f Linux\/ESP32 WiFi \u4ece\u539f\u7406\u2192\u9a71\u52a8\u2192\u914d\u7f51\u2192\u534f\u8bae\u2192\u7a33\u5b9a\u6027\u2192\u6293\u5305\u8c03\u8bd5\u2192\u91cf\u4ea7\u4f18\u5316\u5168\u5957\u5de5\u4e1a\u5b9e\u6218 \u9002\u914d&#xff1a;\u7269\u8054\u7f51\u8bbe\u5907\u3001\u667a\u80fd\u5bb6\u5c45\u3001\u5de5\u63a7\u7f51\u5173\u3001\u65e0\u7ebf\u900f\u4f20\u8bbe\u5907\u30014GWiFi \u53cc\u6a21\u8bbe\u5907 &#x1f496; \u70b9\u8d5e \u6536\u85cf \u5173\u6ce8&#xff0c;\u5d4c\u5165\u5f0f WiFi \u91cf\u4ea7\u5b9e\u6218\u5168\u5957\u6559\u7a0b\u6301\u7eed\u66f4\u65b0&#xff01;\u672c\u7ae0\u524d\u8a00\u5d4c\u5165\u5f0f Linux \u8bbe\u5907\u5f00\u53d1\u8fc7\u7a0b\u4e2d&#xff0c;AP \u70ed\u70b9\u6a21\u5f0f\u5c5e\u4e8e\u9ad8\u9891\u4e1a\u52a1","og_url":"https:\/\/www.wsisp.com\/helps\/105827.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-16T00:16:30+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/105827.html","url":"https:\/\/www.wsisp.com\/helps\/105827.html","name":"\u300aWiFi \u5d4c\u5165\u5f0f\u7269\u8054\u7f51\u5f00\u53d1\u5168\u5957\u5b9e\u6218\u300b | \u7b2c 11 \u7ae0 hostapd \u70ed\u70b9\u642d\u5efa\u539f\u7406\u3001AP \u6a21\u5f0f\u8ba4\u8bc1\u3001\u6700\u5927\u8fde\u63a5\u6570\u3001\u9694\u79bb\u7b56\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-16T00:16:30+00:00","dateModified":"2026-09-16T00:16:30+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/105827.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/105827.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/105827.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u300aWiFi \u5d4c\u5165\u5f0f\u7269\u8054\u7f51\u5f00\u53d1\u5168\u5957\u5b9e\u6218\u300b | \u7b2c 11 \u7ae0 hostapd \u70ed\u70b9\u642d\u5efa\u539f\u7406\u3001AP \u6a21\u5f0f\u8ba4\u8bc1\u3001\u6700\u5927\u8fde\u63a5\u6570\u3001\u9694\u79bb\u7b56\u7565"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/105827","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=105827"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/105827\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=105827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=105827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=105827"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=105827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}