{"id":1255,"date":"2014-07-23T11:12:12","date_gmt":"2014-07-23T03:12:12","guid":{"rendered":"http:\/\/www.dogeye.net\/?p=1255"},"modified":"2014-07-23T11:12:12","modified_gmt":"2014-07-23T03:12:12","slug":"linux-%e5%a6%82%e4%bd%95%e7%9f%a5%e9%81%93%e6%9c%89%e5%93%aa%e4%ba%9b%e7%a1%ac%e4%bb%b6%ef%bc%8c%e8%af%a5%e8%a3%85%e5%93%aa%e4%b8%aa%e9%a9%b1%e5%8a%a8","status":"publish","type":"post","link":"https:\/\/ykyi.net\/?p=1255","title":{"rendered":"Linux \u5982\u4f55\u77e5\u9053\u6709\u54ea\u4e9b\u786c\u4ef6\uff0c\u8be5\u88c5\u54ea\u4e2a\u9a71\u52a8"},"content":{"rendered":"<p>Linux \u5982\u4f55\u77e5\u9053\u6709\u54ea\u4e9b\u786c\u4ef6\uff0c\u8be5\u88c5\u54ea\u4e2a\u9a71\u52a8<\/p>\n<p>\u516c\u53f8\u660e\u6587\u4e0d\u51c6\u5b89\u88c5\u865a\u62df\u673a\u4e86\uff0c\u88ab\u67e5\u5230\u5c31\u662f\u6b7b\u7f6a\u3002\u4e8e\u662f\u6211\u5728\u81ea\u5df1\u7684\u7b14\u8bb0\u672c\u4e0a\u5b89\u88c5\u4e86Debian Linux\u3002<\/p>\n<p>\u7ed3\u679c\u65e0\u7ebf\u7f51\u5361\u8bc6\u522b\u4e0d\u4e86~~<\/p>\n<p>\u6b21\u5965~<\/p>\n<p>\u600e\u4e48\u7834\u5462\uff1f<\/p>\n<p>\u8fd9\u4e48\u7834:<\/p>\n<pre style=\"margin-top: 0px; margin-bottom: 10px; padding: 5px; border: 0px; font-size: 13px; vertical-align: baseline; overflow: auto; width: auto; max-height: 600px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-color: rgb(238, 238, 238); word-wrap: normal; line-height: 20px;\"><code style=\"margin: 0px; padding: 0px; border: 0px; font-size: 13px; vertical-align: baseline; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: rgb(34, 34, 34); white-space: inherit;\"># lspci\n<\/code><\/pre>\n<p style=\"margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15.333333015441895px; vertical-align: baseline; clear: both; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 20px;\">\u8be5\u547d\u4ee4\u5217\u51fa\u4e86\u6240\u6709PCI\u603b\u7ebf\u4e0a\u7684\u786c\u4ef6\u8bbe\u5907\uff0c\u7a0d\u5fae\u770b\u770b\u5c31\u80fd\u770b\u5230\u81ea\u5df1\u7684\u65e0\u7ebf\u7f51\u5361\u4e86\u3002<\/p>\n<p style=\"margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15.333333015441895px; vertical-align: baseline; clear: both; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 20px;\">05:00.0 Network Controller: Atheros Communication Inc. AR9287 Wireless Network Adaptor (PCI-Express)(rev 01)<\/p>\n<p style=\"margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15.333333015441895px; vertical-align: baseline; clear: both; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 20px;\">\u6ce8\u610f\u524d\u9762\u7684\u5750\u680705:00.0\uff0c\u518d\u5230\/sys\u4e0b\u9762\u627e\u5bf9\u5e94\u54ea\u4e2a\u9a71\u52a8\uff1a<\/p>\n<pre style=\"margin-top: 0px; margin-bottom: 10px; padding: 5px; border: 0px; font-size: 13px; vertical-align: baseline; overflow: auto; width: auto; max-height: 600px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-color: rgb(238, 238, 238); word-wrap: normal; line-height: 20px;\"><code style=\"margin: 0px; padding: 0px; border: 0px; font-size: 13px; vertical-align: baseline; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: rgb(34, 34, 34); white-space: inherit;\">find \/sys | grep drivers.*05:00.0<\/code><\/pre>\n<p>\/sys\/bus\/pci\/drivers\/ath9k\/0000:05:00.0<\/p>\n<p>\u5176\u5b9e\uff0c\u8fd8\u6709\u66f4\u7b80\u5355\u7684\u529e\u6cd5\uff1a<\/p>\n<p>#lspci -v&nbsp;<\/p>\n<p>\u5c31\u641e\u5b9a\u4e86\u3002<\/p>\n<p>\u7528lsmod \u548c dmesg | grep ath9k \u53ef\u4ee5\u770b\u5230\u7f51\u5361\u5bf9\u5e94\u6a21\u5757\u7684\u4e00\u4e9b\u4fe1\u606f.<\/p>\n<p>\u518d\u7f16\u8f91 \/etc\/network\/interface<\/p>\n<p>auto wlan0<\/p>\n<p>iface wlan0 inet dhcp<\/p>\n<p>wpa-ssid Tencent-FreeWiFi<\/p>\n<p>wpa-psk xxxxxx<\/p>\n<p>\u6700\u540e\uff1a iwconfig wlan up<\/p>\n<p>\u641e\u5b9a\uff01\uff01\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux \u5982\u4f55\u77e5\u9053\u6709\u54ea\u4e9b\u786c\u4ef6\uff0c\u8be5\u88c5\u54ea\u4e2a\u9a71\u52a8 \u516c\u53f8\u660e\u6587\u4e0d\u51c6\u5b89\u88c5\u865a\u62df\u673a\u4e86\uff0c\u88ab\u67e5\u5230\u5c31\u662f\u6b7b\u7f6a\u3002\u4e8e\u662f\u6211\u5728\u81ea\u5df1\u7684\u7b14\u8bb0\u672c\u4e0a\u5b89\u88c5\u4e86Debian Linux\u3002 \u7ed3\u679c\u65e0\u7ebf\u7f51\u5361\u8bc6\u522b\u4e0d\u4e86~~ \u6b21\u5965~ \u600e\u4e48\u7834\u5462\uff1f \u8fd9\u4e48\u7834: # lspci \u8be5\u547d\u4ee4\u5217\u51fa\u4e86\u6240\u6709PCI\u603b\u7ebf\u4e0a\u7684\u786c\u4ef6\u8bbe\u5907\uff0c\u7a0d\u5fae\u770b\u770b\u5c31\u80fd\u770b\u5230\u81ea\u5df1\u7684\u65e0\u7ebf\u7f51\u5361\u4e86\u3002 05:00.0 Network Controller: Atheros Communication Inc. AR9287 Wireless Network Adaptor (PCI-Express)(rev 01) \u6ce8\u610f\u524d\u9762\u7684\u5750\u680705:00.0\uff0c\u518d\u5230\/sys\u4e0b\u9762\u627e\u5bf9\u5e94\u54ea\u4e2a\u9a71\u52a8\uff1a find \/sys | grep drivers.*05:00.0 \/sys\/bus\/pci\/drivers\/ath9k\/0000:05:00.0 \u5176\u5b9e\uff0c\u8fd8\u6709\u66f4\u7b80\u5355\u7684\u529e\u6cd5\uff1a #lspci -v&nbsp; \u5c31\u641e\u5b9a\u4e86\u3002 \u7528lsmod \u548c dmesg | grep ath9k \u53ef\u4ee5\u770b\u5230\u7f51\u5361\u5bf9\u5e94\u6a21\u5757\u7684\u4e00\u4e9b\u4fe1\u606f. \u518d\u7f16\u8f91 \/etc\/network\/interface auto wlan0 iface wlan0 inet dhcp wpa-ssid Tencent-FreeWiFi wpa-psk xxxxxx \u6700\u540e\uff1a iwconfig &hellip; <a href=\"https:\/\/ykyi.net\/?p=1255\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Linux \u5982\u4f55\u77e5\u9053\u6709\u54ea\u4e9b\u786c\u4ef6\uff0c\u8be5\u88c5\u54ea\u4e2a\u9a71\u52a8&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,6,7],"tags":[115],"class_list":["post-1255","post","type-post","status-publish","format-standard","hentry","category-network","category-tech_articles","category-unix_linux","tag-115"],"_links":{"self":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts\/1255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1255"}],"version-history":[{"count":0,"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts\/1255\/revisions"}],"wp:attachment":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}