{"id":992196,"date":"2024-12-27T08:35:15","date_gmt":"2024-12-27T00:35:15","guid":{"rendered":""},"modified":"2024-12-27T08:35:17","modified_gmt":"2024-12-27T00:35:17","slug":"%e5%a6%82%e4%bd%95%e8%8e%b7%e5%8f%96wifi%e5%af%86%e7%a0%81python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/992196.html","title":{"rendered":"\u5982\u4f55\u83b7\u53d6wifi\u5bc6\u7801python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25070131\/3d5ae7d5-aa81-48dc-91c2-05ce0e7cd136.webp\" alt=\"\u5982\u4f55\u83b7\u53d6wifi\u5bc6\u7801python\" \/><\/p>\n<p><p> \u83b7\u53d6WiFi\u5bc6\u7801\u662f\u4e00\u9879\u590d\u6742\u7684\u4efb\u52a1\uff0c\u9700\u8981\u8c28\u614e\u5bf9\u5f85\u3002\u5728\u8fd9\u91cc\uff0c\u6211\u5c06\u8ba8\u8bba\u51e0\u79cd\u5408\u6cd5\u4e14\u6709\u6548\u7684\u65b9\u6cd5\u6765\u4f7f\u7528Python\u83b7\u53d6WiFi\u5bc6\u7801\u3002<strong>\u901a\u8fc7\u8bbf\u95ee\u7cfb\u7edf\u5b58\u50a8\u7684WiFi\u914d\u7f6e\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u3001\u7f16\u5199\u811a\u672c\u81ea\u52a8\u5316\u4efb\u52a1<\/strong>\u7b49\u65b9\u5f0f\u53ef\u4ee5\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u8bf4\u660e\u5176\u4e2d\u4e00\u79cd\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u5728Windows\u7cfb\u7edf\u4e2d\uff0cWiFi\u5bc6\u7801\u901a\u5e38\u5b58\u50a8\u5728\u8ba1\u7b97\u673a\u7684\u7f51\u7edc\u914d\u7f6e\u4e2d\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528Python\u7684<code>subprocess<\/code>\u6a21\u5757\uff0c\u901a\u8fc7\u8c03\u7528Windows\u7684\u547d\u4ee4\u884c\u5de5\u5177<code>netsh<\/code>\u6765\u63d0\u53d6\u8fd9\u4e9b\u4fe1\u606f\u3002\u8fd9\u79cd\u65b9\u6cd5\u9700\u8981\u7ba1\u7406\u5458\u6743\u9650\uff0c\u56e0\u4e3a\u8bbf\u95ee\u7f51\u7edc\u914d\u7f6e\u9700\u8981\u8f83\u9ad8\u7684\u6743\u9650\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import subprocess<\/p>\n<p>def get_wifi_passwords():<\/p>\n<p>    wifi_list = subprocess.check_output([&#39;netsh&#39;, &#39;wlan&#39;, &#39;show&#39;, &#39;profiles&#39;]).decode(&#39;utf-8&#39;).split(&#39;\\n&#39;)<\/p>\n<p>    wifi_names = [line.split(&quot;:&quot;)[1].strip() for line in wifi_list if &quot;All User Profile&quot; in line]<\/p>\n<p>    passwords = {}<\/p>\n<p>    for name in wifi_names:<\/p>\n<p>        try:<\/p>\n<p>            results = subprocess.check_output([&#39;netsh&#39;, &#39;wlan&#39;, &#39;show&#39;, &#39;profile&#39;, name, &#39;key=clear&#39;]).decode(&#39;utf-8&#39;).split(&#39;\\n&#39;)<\/p>\n<p>            password = [line.split(&quot;:&quot;)[1].strip() for line in results if &quot;Key Content&quot; in line][0]<\/p>\n<p>            passwords[name] = password<\/p>\n<p>        except IndexError:<\/p>\n<p>            passwords[name] = None<\/p>\n<p>    return passwords<\/p>\n<h2><strong>Example usage<\/strong><\/h2>\n<p>wifi_passwords = get_wifi_passwords()<\/p>\n<p>for wifi, password in wifi_passwords.items():<\/p>\n<p>    print(f&quot;WiFi: {wifi}, Password: {password}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u6ce8\u610f<\/strong>\uff1a\u8fd9\u79cd\u65b9\u6cd5\u4ec5\u9002\u7528\u4e8e\u60a8\u6709\u6743\u8bbf\u95ee\u7684\u7f51\u7edc\uff0c\u5e76\u4e14\u60a8\u5e94\u59cb\u7ec8\u9075\u5faa\u6cd5\u5f8b\u6cd5\u89c4\u3002<\/p>\n<\/p>\n<hr>\n<p><p>\u4e00\u3001\u7cfb\u7edf\u5b58\u50a8\u7684WIFI\u914d\u7f6e<\/p>\n<\/p>\n<p><p>\u5728Windows\u548c\u5176\u4ed6\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0cWiFi\u5bc6\u7801\u901a\u5e38\u5b58\u50a8\u5728\u7cfb\u7edf\u7684\u7f51\u7edc\u914d\u7f6e\u4e2d\u3002\u8fd9\u4e9b\u4fe1\u606f\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u5de5\u5177\u8bbf\u95ee\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>Windows\u7cfb\u7edf<\/strong><\/li>\n<\/ol>\n<p><p>\u5728Windows\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>netsh<\/code>\u547d\u4ee4\u884c\u5de5\u5177\u6765\u83b7\u53d6WiFi\u914d\u7f6e\u6587\u4ef6\u3002<code>netsh<\/code>\u547d\u4ee4\u5141\u8bb8\u60a8\u67e5\u770b\u7cfb\u7edf\u4e0a\u5b58\u50a8\u7684\u6240\u6709WiFi\u7f51\u7edc\u53ca\u5176\u8be6\u7ec6\u4fe1\u606f\u3002\u901a\u8fc7Python\u7684<code>subprocess<\/code>\u6a21\u5757\uff0c\u60a8\u53ef\u4ee5\u81ea\u52a8\u5316\u8fd9\u4e00\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import subprocess<\/p>\n<p>def get_stored_wifi_passwords():<\/p>\n<p>    wifi_list = subprocess.check_output([&#39;netsh&#39;, &#39;wlan&#39;, &#39;show&#39;, &#39;profiles&#39;]).decode(&#39;utf-8&#39;).split(&#39;\\n&#39;)<\/p>\n<p>    wifi_names = [line.split(&quot;:&quot;)[1].strip() for line in wifi_list if &quot;All User Profile&quot; in line]<\/p>\n<p>    passwords = {}<\/p>\n<p>    for name in wifi_names:<\/p>\n<p>        try:<\/p>\n<p>            results = subprocess.check_output([&#39;netsh&#39;, &#39;wlan&#39;, &#39;show&#39;, &#39;profile&#39;, name, &#39;key=clear&#39;]).decode(&#39;utf-8&#39;).split(&#39;\\n&#39;)<\/p>\n<p>            password = [line.split(&quot;:&quot;)[1].strip() for line in results if &quot;Key Content&quot; in line][0]<\/p>\n<p>            passwords[name] = password<\/p>\n<p>        except IndexError:<\/p>\n<p>            passwords[name] = None<\/p>\n<p>    return passwords<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u662f\u65e0\u9700\u989d\u5916\u7684\u8f6f\u4ef6\u5373\u53ef\u83b7\u53d6\u5df2\u7ecf\u8fde\u63a5\u8fc7\u7684WiFi\u5bc6\u7801\u3002\u7f3a\u70b9\u662f\u53ea\u80fd\u83b7\u53d6\u5b58\u50a8\u5728\u7cfb\u7edf\u4e2d\u7684WiFi\u5bc6\u7801\uff0c\u5bf9\u4e8e\u672a\u8fde\u63a5\u8fc7\u7684\u7f51\u7edc\u65e0\u80fd\u4e3a\u529b\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>MacOS\u7cfb\u7edf<\/strong><\/li>\n<\/ol>\n<p><p>\u5728MacOS\u4e0a\uff0cWiFi\u5bc6\u7801\u5b58\u50a8\u5728\u94a5\u5319\u4e32\u8bbf\u95ee\u4e2d\u3002\u53ef\u4ee5\u901a\u8fc7<code>security<\/code>\u547d\u4ee4\u884c\u5de5\u5177\u6765\u8bbf\u95ee\u8fd9\u4e9b\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><p>\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import subprocess<\/p>\n<p>def get_wifi_password(ssid):<\/p>\n<p>    result = subprocess.run([&#39;security&#39;, &#39;find-generic-password&#39;, &#39;-D&#39;, &#39;<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>rPort network password&#39;, &#39;-a&#39;, ssid, &#39;-w&#39;], stdout=subprocess.PIPE, stderr=subprocess.PIPE)<\/p>\n<p>    return result.stdout.decode(&#39;utf-8&#39;).strip()<\/p>\n<h2><strong>Example usage<\/strong><\/h2>\n<p>ssid_name = &#39;YourSSIDHere&#39;<\/p>\n<p>print(f&quot;The password for {ssid_name} is {get_wifi_password(ssid_name)}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u9700\u8981\u77e5\u9053WiFi\u7f51\u7edc\u7684SSID\uff0c\u5e76\u4e14\u9700\u8981\u60a8\u7684\u7cfb\u7edf\u5df2\u7ecf\u8fde\u63a5\u8fc7\u8be5\u7f51\u7edc\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u76f4\u63a5\u8c03\u7528\u7cfb\u7edf\u547d\u4ee4\u884c\u5de5\u5177\uff0cPython\u8fd8\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b\u7b2c\u4e09\u65b9\u5e93\u6765\u5b9e\u73b0WiFi\u5bc6\u7801\u7684\u83b7\u53d6\u548c\u7ba1\u7406\u3002\u8fd9\u4e9b\u5e93\u901a\u5e38\u63d0\u4f9b\u4e86\u66f4\u9ad8\u5c42\u6b21\u7684\u63a5\u53e3\uff0c\u4f7f\u5f00\u53d1\u8fc7\u7a0b\u66f4\u4e3a\u7b80\u4fbf\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>PyWiFi<\/strong><\/li>\n<\/ol>\n<p><p><code>pywifi<\/code>\u662f\u4e00\u4e2a\u7528\u4e8e\u7ba1\u7406\u548c\u63a7\u5236WiFi\u8fde\u63a5\u7684Python\u5e93\u3002\u5b83\u53ef\u4ee5\u7528\u6765\u626b\u63cfWiFi\u7f51\u7edc\u3001\u8fde\u63a5\u5230WiFi\u4ee5\u53ca\u83b7\u53d6WiFi\u4fe1\u606f\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff0c\u5c55\u793a\u5982\u4f55\u4f7f\u7528<code>pywifi<\/code>\u8fde\u63a5\u5230WiFi\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from pywifi import PyWiFi, const, Profile<\/p>\n<p>def connect_to_wifi(ssid, password):<\/p>\n<p>    wifi = PyWiFi()<\/p>\n<p>    iface = wifi.interfaces()[0]<\/p>\n<p>    profile = Profile()<\/p>\n<p>    profile.ssid = ssid<\/p>\n<p>    profile.auth = const.AUTH_ALG_OPEN<\/p>\n<p>    profile.akm.append(const.AKM_TYPE_WPA2PSK)<\/p>\n<p>    profile.cipher = const.CIPHER_TYPE_CCMP<\/p>\n<p>    profile.key = password<\/p>\n<p>    iface.remove_all_network_profiles()<\/p>\n<p>    tmp_profile = iface.add_network_profile(profile)<\/p>\n<p>    iface.connect(tmp_profile)<\/p>\n<p>    return iface.status() == const.IFACE_CONNECTED<\/p>\n<h2><strong>Example usage<\/strong><\/h2>\n<p>ssid = &#39;YourSSIDHere&#39;<\/p>\n<p>password = &#39;YourPasswordHere&#39;<\/p>\n<p>if connect_to_wifi(ssid, password):<\/p>\n<p>    print(&quot;Connected successfully!&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;Failed to connect.&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>Scapy<\/strong><\/li>\n<\/ol>\n<p><p><code>Scapy<\/code>\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u7f51\u7edc\u6570\u636e\u5305\u5904\u7406\u5e93\uff0c\u867d\u7136\u4e0d\u662f\u4e13\u95e8\u7528\u4e8eWiFi\u5bc6\u7801\u83b7\u53d6\uff0c\u4f46\u5b83\u53ef\u4ee5\u7528\u6765\u6267\u884cWiFi\u626b\u63cf\u548c\u55c5\u63a2\u3002\u5982\u679c\u60a8\u60f3\u6df1\u5165\u7814\u7a76WiFi\u5b89\u5168\u5e76\u7f16\u5199\u81ea\u5df1\u7684\u5de5\u5177\uff0c<code>Scapy<\/code>\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u7f16\u5199\u811a\u672c\u81ea\u52a8\u5316\u4efb\u52a1<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528Python\u811a\u672c\u83b7\u53d6WiFi\u5bc6\u7801\u65f6\uff0c\u53ef\u4ee5\u5229\u7528Python\u7684\u81ea\u52a8\u5316\u80fd\u529b\u6765\u7b80\u5316\u91cd\u590d\u6027\u4efb\u52a1\u3002\u4f8b\u5982\uff0c\u81ea\u52a8\u5316WiFi\u8fde\u63a5\u3001\u5b9a\u671f\u68c0\u67e5WiFi\u4fe1\u53f7\u5f3a\u5ea6\u3001\u8bb0\u5f55WiFi\u65e5\u5fd7\u7b49\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u81ea\u52a8\u5316WiFi\u8fde\u63a5<\/strong><\/li>\n<\/ol>\n<p><p>\u81ea\u52a8\u8fde\u63a5\u5230WiFi\u7f51\u7edc\u662f\u4e00\u4e2a\u5e38\u89c1\u7684\u81ea\u52a8\u5316\u4efb\u52a1\u3002\u53ef\u4ee5\u901a\u8fc7\u7f16\u5199\u811a\u672c\u6765\u68c0\u6d4b\u53ef\u7528\u7f51\u7edc\u5e76\u81ea\u52a8\u8fde\u63a5\u5230\u4fe1\u53f7\u6700\u5f3a\u7684\u7f51\u7edc\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from pywifi import PyWiFi, const<\/p>\n<p>def auto_connect():<\/p>\n<p>    wifi = PyWiFi()<\/p>\n<p>    iface = wifi.interfaces()[0]<\/p>\n<p>    iface.scan()<\/p>\n<p>    results = iface.scan_results()<\/p>\n<p>    best_signal = -100<\/p>\n<p>    best_ssid = None<\/p>\n<p>    for network in results:<\/p>\n<p>        if network.signal &gt; best_signal:<\/p>\n<p>            best_signal = network.signal<\/p>\n<p>            best_ssid = network.ssid<\/p>\n<p>    if best_ssid:<\/p>\n<p>        print(f&quot;Connecting to {best_ssid} with signal {best_signal}&quot;)<\/p>\n<p>        # Connect to the network (assumes password is known)<\/p>\n<p>        # Here you would call a function similar to connect_to_wifi<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u8bb0\u5f55WiFi\u65e5\u5fd7<\/strong><\/li>\n<\/ol>\n<p><p>\u5bf9\u4e8e\u9700\u8981\u76d1\u63a7\u7f51\u7edc\u6d3b\u52a8\u7684\u60c5\u51b5\uff0c\u53ef\u4ee5\u7f16\u5199\u811a\u672c\u5b9a\u671f\u8bb0\u5f55WiFi\u8fde\u63a5\u60c5\u51b5\uff0c\u4f8b\u5982\u5f53\u524d\u8fde\u63a5\u7684SSID\u3001\u4fe1\u53f7\u5f3a\u5ea6\u3001IP\u5730\u5740\u7b49\u3002\u8fd9\u5bf9\u4e8e\u7f51\u7edc\u7ba1\u7406\u548c\u6545\u969c\u6392\u9664\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import time<\/p>\n<p>import logging<\/p>\n<p>def log_wifi_status():<\/p>\n<p>    logging.basicConfig(filename=&#39;wifi_status.log&#39;, level=logging.INFO)<\/p>\n<p>    wifi = PyWiFi()<\/p>\n<p>    iface = wifi.interfaces()[0]<\/p>\n<p>    while True:<\/p>\n<p>        status = iface.status()<\/p>\n<p>        ssid = iface.current_network().ssid if status == const.IFACE_CONNECTED else &quot;Disconnected&quot;<\/p>\n<p>        logging.info(f&quot;Time: {time.ctime()}, Status: {status}, SSID: {ssid}&quot;)<\/p>\n<p>        time.sleep(60)  # Log every minute<\/p>\n<h2><strong>Start logging<\/strong><\/h2>\n<p>log_wifi_status()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u4e9b\u811a\u672c\uff0c\u60a8\u53ef\u4ee5\u66f4\u597d\u5730\u7ba1\u7406\u548c\u76d1\u63a7WiFi\u7f51\u7edc\uff0c\u63d0\u9ad8\u7f51\u7edc\u4f7f\u7528\u7684\u81ea\u52a8\u5316\u548c\u6548\u7387\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u4f7f\u7528Python\u83b7\u53d6WiFi\u5bc6\u7801\u9700\u8981\u5bf9\u7cfb\u7edf\u6743\u9650\u548c\u7f51\u7edc\u5b89\u5168\u6709\u4e00\u5b9a\u7684\u7406\u89e3\uff0c\u5e76\u786e\u4fdd\u9075\u5faa\u76f8\u5173\u6cd5\u5f8b\u6cd5\u89c4\u3002\u65e0\u8bba\u662f\u4f7f\u7528\u7cfb\u7edf\u547d\u4ee4\u884c\u5de5\u5177\u3001\u7b2c\u4e09\u65b9\u5e93\uff0c\u8fd8\u662f\u7f16\u5199\u81ea\u52a8\u5316\u811a\u672c\uff0c\u90fd\u5e94\u5728\u5408\u6cd5\u548c\u9053\u5fb7\u7684\u6846\u67b6\u5185\u8fdb\u884c\u3002\u5982\u679c\u60a8\u6709\u4efb\u4f55\u7591\u95ee\u6216\u9700\u8981\u66f4\u6df1\u5165\u7684\u5e2e\u52a9\uff0c\u5efa\u8bae\u54a8\u8be2\u4e13\u4e1a\u4eba\u58eb\u6216\u53c2\u8003\u76f8\u5173\u7684\u6280\u672f\u6587\u6863\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u627e\u5230\u5df2\u8fde\u63a5Wi-Fi\u7684\u5bc6\u7801\uff1f<\/strong><br \/>\u53ef\u4ee5\u901a\u8fc7\u8fd0\u884c\u7279\u5b9a\u7684\u547d\u4ee4\u884c\u5de5\u5177\u6765\u83b7\u53d6\u5df2\u4fdd\u5b58Wi-Fi\u7f51\u7edc\u7684\u5bc6\u7801\u3002\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>netsh wlan show profile<\/code>\u547d\u4ee4\uff0c\u7ed3\u5408Python\u7684<code>subprocess<\/code>\u6a21\u5757\u6765\u6267\u884c\u6b64\u547d\u4ee4\u5e76\u63d0\u53d6\u76f8\u5173\u4fe1\u606f\u3002\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u901a\u5e38\u53ef\u4ee5\u5728<code>\/etc\/NetworkManager\/system-connections\/<\/code>\u76ee\u5f55\u4e0b\u627e\u5230\u76f8\u5173\u914d\u7f6e\u6587\u4ef6\u3002\u786e\u4fdd\u60a8\u6709\u8db3\u591f\u7684\u6743\u9650\u6765\u8bbf\u95ee\u8fd9\u4e9b\u4fe1\u606f\u3002<\/p>\n<p><strong>\u6709\u6ca1\u6709\u73b0\u6210\u7684Python\u5e93\u53ef\u4ee5\u5e2e\u52a9\u83b7\u53d6Wi-Fi\u5bc6\u7801\uff1f<\/strong><br \/>\u867d\u7136\u6ca1\u6709\u4e13\u95e8\u7684Python\u5e93\u7528\u4e8e\u76f4\u63a5\u83b7\u53d6Wi-Fi\u5bc6\u7801\uff0c\u4f46\u53ef\u4ee5\u4f7f\u7528<code>os<\/code>\u548c<code>subprocess<\/code>\u6a21\u5757\uff0c\u7ed3\u5408\u7cfb\u7edf\u547d\u4ee4\u6765\u5b9e\u73b0\u8fd9\u4e00\u529f\u80fd\u3002\u901a\u8fc7\u5c01\u88c5\u8fd9\u4e9b\u547d\u4ee4\uff0c\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684Python\u811a\u672c\uff0c\u65b9\u4fbf\u7528\u6237\u83b7\u53d6\u5df2\u8fde\u63a5\u7f51\u7edc\u7684\u5bc6\u7801\u3002<\/p>\n<p><strong>\u83b7\u53d6Wi-Fi\u5bc6\u7801\u7684\u64cd\u4f5c\u662f\u5426\u5408\u6cd5\uff1f<\/strong><br \/>\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u83b7\u53d6\u81ea\u5df1\u7f51\u7edc\u7684Wi-Fi\u5bc6\u7801\u662f\u5408\u6cd5\u7684\u3002\u4f46\u5982\u679c\u60a8\u5c1d\u8bd5\u83b7\u53d6\u4ed6\u4eba\u7f51\u7edc\u7684\u5bc6\u7801\u800c\u6ca1\u6709\u83b7\u5f97\u8bb8\u53ef\uff0c\u5219\u53ef\u80fd\u8fdd\u53cd\u76f8\u5173\u6cd5\u5f8b\u6cd5\u89c4\u3002\u786e\u4fdd\u60a8\u5728\u5408\u6cd5\u8303\u56f4\u5185\u64cd\u4f5c\uff0c\u5e76\u9075\u5faa\u5f53\u5730\u7684\u6cd5\u5f8b\u89c4\u5b9a\uff0c\u907f\u514d\u4efb\u4f55\u6f5c\u5728\u7684\u6cd5\u5f8b\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u83b7\u53d6WiFi\u5bc6\u7801\u662f\u4e00\u9879\u590d\u6742\u7684\u4efb\u52a1\uff0c\u9700\u8981\u8c28\u614e\u5bf9\u5f85\u3002\u5728\u8fd9\u91cc\uff0c\u6211\u5c06\u8ba8\u8bba\u51e0\u79cd\u5408\u6cd5\u4e14\u6709\u6548\u7684\u65b9\u6cd5\u6765\u4f7f\u7528Python\u83b7\u53d6Wi [&hellip;]","protected":false},"author":3,"featured_media":992200,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/992196"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=992196"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/992196\/revisions"}],"predecessor-version":[{"id":992205,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/992196\/revisions\/992205"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/992200"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=992196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=992196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=992196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}