{"id":11,"date":"2010-12-21T11:58:49","date_gmt":"2010-12-21T02:58:49","guid":{"rendered":"https:\/\/www.nabecyan.net\/wordpress\/?p=11"},"modified":"2011-05-08T21:36:23","modified_gmt":"2011-05-08T12:36:23","slug":"fit-pc2i%e3%82%92%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e3%83%9d%e3%82%a4%e3%83%b3%e3%83%88%e5%8c%96%e3%81%97%e3%81%9f-2","status":"publish","type":"post","link":"https:\/\/wordpress.nabecyan.dyndns.org\/?p=11","title":{"rendered":"fit-PC2i\u3092\u30a2\u30af\u30bb\u30b9\u30dd\u30a4\u30f3\u30c8\u5316\u3057\u305f"},"content":{"rendered":"<div>\n<p>fit-PC2i\u306eRalink RT3070 USB\u7121\u7ddaLAN\u3092\u4f7f\u3063\u3066\u30a2\u30af\u30bb\u30b9\u30dd\u30a4\u30f3\u30c8\u5316\u3059\u308b\u3053\u3068\u306b\u6210\u529f\u3057\u305f\u306e\u3067\u3001\u30e1\u30e2\u3068\u3057\u3066\u6b8b\u3057\u3066\u304a\u304f\u3002<\/p>\n<p>OS\uff1aubuntu 10.04 (Kernel 2.6.32-27)<\/p>\n<p>\u7121\u7ddaLAN\uff1aRalink RT3070 USB<\/p>\n<p>\u30ec\u30b7\u30d4<br \/>\n1. \u6700\u521d\u306b\u53e4\u3044\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u63a2\u3057\u3066\u5168\u90e8\u7121\u52b9\u5316\u3059\u308b\u3002<br \/>\n<span class=\"katex math inline\">sudo lsmod | grep rt2<\/span> sudo rmmod rt2800usb<br \/>\n&#8230;\u95a2\u9023\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u3059\u3079\u3066rmmod\u3057\u3061\u3083\u3046\u3002<\/p>\n<p>2. \u53e4\u3044\u30c9\u30e9\u30a4\u30d0\u306e\u5728\u51e6\u3092\u8abf\u3079\u3066\u3069\u3053\u304b\u5225\u306e\u5834\u6240\uff08\u4eca\u56de\u306f\/root\/tmp\/old_rt2xxx_drivers\u3063\u3066\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\uff09\u306b\u79fb\u52d5\u3059\u308b\u3002<br \/>\n<span class=\"katex math inline\">sudo updatedb<\/span> sudo locate rt2800usb.ko<br \/>\n<span class=\"katex math inline\">sudo locate rt2800lib.ko<\/span> sudo locate rt2x00usb.ko<br \/>\n<span class=\"katex math inline\">sudo locate rt2x00lib.ko<\/span> sudo locate rt2870sta.ko<br \/>\n\u3067\u3001\u3053\u308c\u3089\u3059\u3079\u3066\u3092\/root\/tmp\/old_rt2xxx_drivers\/\u4ee5\u4e0b\u306b\u5f15\u3063\u8d8a\u3057\u3066\u304b\u3089tar\u3067\u56fa\u3081\u308b\u3002<\/p>\n<p>3.\u00a0<a href=\"http:\/\/wireless.kernel.org\/\">http:\/\/wireless.kernel.org\/<\/a> \u304b\u3089\u6700\u65b0\u306ecompat-wireless\u30c9\u30e9\u30a4\u30d0\u3092\u53d6\u3063\u3066\u304f\u308b\u3002<br \/>\n$ wget\u00a0<a href=\"http:\/\/wireless.kernel.org\/download\/compat-wireless-2.6\/compat-wireless-2010-12-20.tar.bz2\">http:\/\/wireless.kernel.org\/download\/com &#8230; 20.tar.bz2<\/a><\/p>\n<p>4. compat-wireless\u30c9\u30e9\u30a4\u30d0\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3002<br \/>\n<span class=\"katex math inline\">tar xfv compat-wireless-2010-12-20.tar.bz2<\/span> cd compat-wireless-2010-12-16<br \/>\n<span class=\"katex math inline\">.\/scripts\/driver-select rt2x00<\/span> make &amp;&amp; make install<\/p>\n<p>5. hostapd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002\uff08AP\u5316\u3059\u308b\u305f\u3081\uff09<br \/>\n<span class=\"katex math inline\">sudo apt-get install hostapd<\/p>\n<p>6. bridge-utils\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002\uff08\u30d6\u30ea\u30c3\u30b8\u5316\u3059\u308b\u305f\u3081\uff09<\/span> sudo apt-get install bridge-utils<\/p>\n<p>7. \/etc\/hostapd\/hostapd.conf\u3092\u9069\u5b9c\u7de8\u96c6<br \/>\n\u4eca\u56de\u306f\u30c6\u30b9\u30c8\u306e\u305f\u3081\u306bWEP\u8a8d\u8a3c\u306b\u3057\u305f\u3002\u52ff\u8ad6WPA\/WPA2\u3067\u3082\u554f\u984c\u306a\u3044\u306f\u305a\u3002<br \/>\n<span class=\"katex math inline\">vi \/etc\/hostapd\/hostapd.conf<br \/>\ninterface=wlan0<br \/>\nbridge=br0<br \/>\ndriver=nl80211<br \/>\nlogger_syslog=-1<br \/>\nlogger_syslog_level=2<br \/>\nlogger_stdout=-1<br \/>\nlogger_stdout_level=2<br \/>\ndump_file=\/tmp\/hostapd.dump<br \/>\nctrl_interface=\/var\/run\/hostapd<br \/>\nctrl_interface_group=0<br \/>\nssid=TEST_AP<br \/>\ncountry_code=JP<br \/>\nhw_mode=g<br \/>\nchannel=6<br \/>\nmacaddr_acl=0<br \/>\nauth_algs=3<br \/>\nignore_broadcast_ssid=0<br \/>\nwep_default_key=0<br \/>\nwep_key0=********** &lt;-WEP\u30ad\u30fc<br \/>\nieee80211n=1<br \/>\nwpa=0<\/p>\n<p>8. \/etc\/network\/interfaces\u3092\u7de8\u96c6\u3057\u3066\u3001Ethernet\u301cWiFi\u9593\u30d6\u30ea\u30c3\u30b8\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3002<\/span> sudo vi \/etc\/network\/interfaces<br \/>\nauto lo<br \/>\niface lo inet loopback<br \/>\nauto wlan0<br \/>\niface wlan0 inet manual<br \/>\nwireless-mode master<br \/>\nauto eth0<br \/>\niface eth0 inet manual<br \/>\nauto br0<br \/>\niface br0 inet static<br \/>\naddress 192.168.11.111<br \/>\nnetwork 192.168.11.0<br \/>\nbroadcast 192.168.11.255<br \/>\nnetmask 255.255.255.0<br \/>\ngateway 192.168.11.1<br \/>\npre-up ifup eth0<br \/>\npre-up ifup wlan0<br \/>\npost-down ifdown eth0<br \/>\npost-down ifdown wlan0<br \/>\nbridge_ports eth0 wlan0<br \/>\nbridge_stp off<br \/>\nbridge_fd 0<br \/>\nbridge_maxwait 0<\/p>\n<p>9. fit-PC2i\u3092\u518d\u8d77\u52d5\u3057\u3066\u3001\u3061\u3083\u3093\u3068\u52d5\u304f\u304b\u78ba\u8a8d\u3059\u308b\u3002<br \/>\n<span class=\"katex math inline\">sudo iwconfig<br \/>\nlo no wireless extensions.<br \/>\neth0 no wireless extensions.<br \/>\neth1 no wireless extensions.<br \/>\nwlan0 IEEE 802.11bgn Mode:Master Frequency:2.437 GHz Tx-Power=20 dBm<br \/>\nRetry long limit:7 RTS thr=2347 B Fragment thr=2346 B<br \/>\nPower Management:on<br \/>\nbr0 no wireless extensions.<br \/>\nmon.wlan0 IEEE 802.11bgn Mode:Monitor Tx-Power=20 dBm<br \/>\nRetry long limit:7 RTS thr=2347 B Fragment thr=2346 B<br \/>\nPower Management:off<\/span> sudo\u00a0ifconfig wlan0<\/p>\n<div id=\"_mcePaste\">wlan0 \u00a0 \u00a0 Link encap:\u30a4\u30fc\u30b5\u30cd\u30c3\u30c8 \u00a0\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u30a2\u30c9\u30ec\u30b9 00:0d:f0:63:99:4c<\/div>\n<div id=\"_mcePaste\">inet6\u30a2\u30c9\u30ec\u30b9: fe80::20d:f0ff:fe63:994c\/64 \u7bc4\u56f2:\u30ea\u30f3\u30af<\/div>\n<div id=\"_mcePaste\">UP BROADCAST MULTICAST \u00a0MTU:1500 \u00a0\u30e1\u30c8\u30ea\u30c3\u30af:1<\/div>\n<div id=\"_mcePaste\">RX\u30d1\u30b1\u30c3\u30c8:2831 \u30a8\u30e9\u30fc:0 \u640d\u5931:0 \u30aa\u30fc\u30d0\u30e9\u30f3:0 \u30d5\u30ec\u30fc\u30e0:0<\/div>\n<div id=\"_mcePaste\">TX\u30d1\u30b1\u30c3\u30c8:245636 \u30a8\u30e9\u30fc:0 \u640d\u5931:0 \u30aa\u30fc\u30d0\u30e9\u30f3:0 \u30ad\u30e3\u30ea\u30a2:0<\/div>\n<div id=\"_mcePaste\">\u885d\u7a81(Collisions):0 TX\u30ad\u30e5\u30fc\u9577:1000<\/div>\n<div id=\"_mcePaste\">RX\u30d0\u30a4\u30c8:366703 (366.7 KB) \u00a0TX\u30d0\u30a4\u30c8:44669092 (44.6 MB)<\/div>\n<p>\u307f\u305f\u3044\u306a\u611f\u3058\u3067\u8868\u793a\u3055\u308c\u3066\u308c\u3070OK.<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>fit-PC2i\u306eRalink RT3070 USB\u7121\u7ddaLAN\u3092\u4f7f\u3063\u3066\u30a2\u30af\u30bb\u30b9\u30dd\u30a4\u30f3\u30c8\u5316\u3059\u308b\u3053\u3068\u306b\u6210\u529f\u3057\u305f\u306e\u3067\u3001\u30e1\u30e2\u3068\u3057\u3066\u6b8b\u3057\u3066\u304a\u304f\u3002 OS\uff1aubuntu 10.04 (Kernel 2.6.32-27) \u7121\u7ddaLAN\uff1aR [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[4,3],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6KCmj-b","jetpack-related-posts":[{"id":147,"url":"https:\/\/wordpress.nabecyan.dyndns.org\/?p=147","url_meta":{"origin":11,"position":0},"title":"Lubuntu\u306b\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u63a5\u7d9a","author":"nabecyan","date":"2015\u5e744\u670813\u65e5","format":false,"excerpt":"Lutbuntu\u306bXRDP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3002 1.xrdp\u2026","rel":"","context":"Computing","block_context":{"text":"Computing","link":"https:\/\/wordpress.nabecyan.dyndns.org\/?cat=4"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":95,"url":"https:\/\/wordpress.nabecyan.dyndns.org\/?p=95","url_meta":{"origin":11,"position":1},"title":"Ubuntu 14.04LTS + LXDE","author":"nabecyan","date":"2014\u5e744\u670827\u65e5","format":false,"excerpt":"Ubuntu14.04LTS\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u306e\u3067\u3001\u30b5\u30fc\u30d0\u306eOS\u3092\u5168\u9762\u7684\u306b\u898b\u76f4\u3057\u3002 \u30fbUnity\u306f2D\u2026","rel":"","context":"Computing","block_context":{"text":"Computing","link":"https:\/\/wordpress.nabecyan.dyndns.org\/?cat=4"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":162,"url":"https:\/\/wordpress.nabecyan.dyndns.org\/?p=162","url_meta":{"origin":11,"position":2},"title":"OSX Yosemite Server\u306esshd\u8a2d\u5b9a","author":"nabecyan","date":"2015\u5e746\u670828\u65e5","format":false,"excerpt":"OSX Yosemite\u306e\u30b5\u30fc\u30d0\u3067sshd\u3092\u52d5\u304b\u3057\u3066\u5916\u90e8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u306e\u3060\u3051\u3069\u3001B\u2026","rel":"","context":"Computing","block_context":{"text":"Computing","link":"https:\/\/wordpress.nabecyan.dyndns.org\/?cat=4"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":125,"url":"https:\/\/wordpress.nabecyan.dyndns.org\/?p=125","url_meta":{"origin":11,"position":3},"title":"ssh\u306e\u30a2\u30af\u30bb\u30b9\u5236\u9650","author":"nabecyan","date":"2014\u5e744\u670830\u65e5","format":false,"excerpt":"ssh\u3067\u63a5\u7d9a\u304c\u3046\u307e\u304f\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u3042\u3063\u3066\u3001\u8abf\u67fb\u3002 Jegan\u306b\u306f\u30ed\u30fc\u30ab\u30eb\u30cd\u30c3\u30c8\u306e\u3069\u306e\u30de\u30b7\u30f3\u304b\u3089\u3082SS\u2026","rel":"","context":"Computing","block_context":{"text":"Computing","link":"https:\/\/wordpress.nabecyan.dyndns.org\/?cat=4"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":180,"url":"https:\/\/wordpress.nabecyan.dyndns.org\/?p=180","url_meta":{"origin":11,"position":4},"title":"redmine\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9","author":"nabecyan","date":"2016\u5e749\u670822\u65e5","format":false,"excerpt":"\u30b5\u30fc\u30d0\u306eredmine\u30922.* \u304b\u30893.0\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b \u524d\u63d0\uff1aUbuntu 16.04 LT\u2026","rel":"","context":"Cloud","block_context":{"text":"Cloud","link":"https:\/\/wordpress.nabecyan.dyndns.org\/?cat=13"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":130,"url":"https:\/\/wordpress.nabecyan.dyndns.org\/?p=130","url_meta":{"origin":11,"position":5},"title":"postfix\u306email transport\u4fee\u6b63","author":"nabecyan","date":"2014\u5e745\u670819\u65e5","format":false,"excerpt":"Jmicron\u306eRAID\u30a8\u30e9\u30fc\u3092\u30e1\u30fc\u30eb\u901a\u77e5\u8a2d\u5b9a\u3059\u308b\u969b\u306bDyndns\u3078\u306etransport\u8a2d\u5b9a\u3067\u30a8\u30e9\u30fc\u2026","rel":"","context":"Computing","block_context":{"text":"Computing","link":"https:\/\/wordpress.nabecyan.dyndns.org\/?cat=4"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/wordpress.nabecyan.dyndns.org\/index.php?rest_route=\/wp\/v2\/posts\/11"}],"collection":[{"href":"https:\/\/wordpress.nabecyan.dyndns.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.nabecyan.dyndns.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.nabecyan.dyndns.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.nabecyan.dyndns.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11"}],"version-history":[{"count":5,"href":"https:\/\/wordpress.nabecyan.dyndns.org\/index.php?rest_route=\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":15,"href":"https:\/\/wordpress.nabecyan.dyndns.org\/index.php?rest_route=\/wp\/v2\/posts\/11\/revisions\/15"}],"wp:attachment":[{"href":"https:\/\/wordpress.nabecyan.dyndns.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.nabecyan.dyndns.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.nabecyan.dyndns.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}