{"id":7775,"date":"2020-05-24T14:27:29","date_gmt":"2020-05-24T06:27:29","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7775"},"modified":"2022-05-16T18:28:30","modified_gmt":"2022-05-16T10:28:30","slug":"rfkill","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/rfkill","title":{"rendered":"rfkill\u547d\u4ee4 – \u7ba1\u7406\u84dd\u7259\u548cWIFI\u8bbe\u5907"},"content":{"rendered":"\n

rfkill\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201cradio frequency kill\u201d\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7ba1\u7406\u7cfb\u7edf\u4e2d\u7684\u84dd\u7259\u548cWIFI\u8bbe\u5907\u3002rfkill\u547d\u4ee4\u662f\u4e00\u4e2a\u5185\u6838\u7ea7\u522b\u7684\u7ba1\u7406\u5de5\u5177\uff0c\u53ef\u4ee5\u6253\u5f00\u6216\u5173\u95ed\u7cfb\u7edf\u4e2d\u7684\u84dd\u7259\u548cWIFI\u529f\u80fd\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> rfkill [\u53c2\u6570] \u8bbe\u5907\u540d<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

list<\/td>\u5217\u51fa\u53ef\u7528\u8bbe\u5907<\/td><\/tr>
block<\/td>\u5173\u95ed\u8bbe\u5907<\/td><\/tr>
unblock<\/td>\u6253\u5f00\u8bbe\u5907<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u663e\u793a\u7cfb\u7edf\u4e2d\u5df2\u6709\u7684WIFI\u548c\u84dd\u7259\u8bbe\u5907\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rfkill list<\/strong>\n0: phy0: Wireless LAN\nSoft blocked: no\nHard blocked: no\n2: hci0: Bluetooth\nSoft blocked: yes\nHard blocked: no<\/pre>\n\n\n\n

\u5173\u95ed\u6307\u5b9a\u7f16\u7801\u7684\u8bbe\u5907\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rfkill block 0<\/strong><\/pre>\n\n\n\n

\u6253\u5f00\u6307\u5b9a\u7f16\u7801\u7684\u8bbe\u5907\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rfkill unblock 0<\/strong><\/pre>\n","protected":false},"excerpt":{"rendered":"

rfkill\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201cradio frequency kill\u201d\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7ba1\u7406\u7cfb\u7edf\u4e2d\u7684\u84dd\u7259\u548cW […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7775"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=7775"}],"version-history":[{"count":8,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7775\/revisions"}],"predecessor-version":[{"id":9744,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7775\/revisions\/9744"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}