{"id":3462,"date":"2013-10-24T20:57:20","date_gmt":"2013-10-24T19:57:20","guid":{"rendered":"http:\/\/bitacora.eniac2000.com\/?p=3462"},"modified":"2013-10-24T20:57:20","modified_gmt":"2013-10-24T19:57:20","slug":"instalacion-de-tarjeta-wifi-leguang-lg-n18-en-raspbian","status":"publish","type":"post","link":"https:\/\/bitacora.eniac2000.com\/?p=3462","title":{"rendered":"Instalaci\u00f3n de tarjeta WiFi Leguang LG-N18 en raspbian"},"content":{"rendered":"<p>Desde luego, parece que no tengo suerte con las tarjetas WiFi que he comprado para la Raspberry Pi. Tanto la m\u00eda (una Leguang LG-N18 que compr\u00e9 en DealExtreme) como una <a href=\"http:\/\/bitacora.eniac2000.com\/?p=3439\" title=\"C\u00f3mo instalar una tarjeta TP-Link TL-WN725N v2 en raspbian\">TP-Link TL-WN725N v2<\/a> comprada en PcBox para mi padre no funcionaron de manera nativa en raspbian, por lo que tuve que andar compilando m\u00f3dulos para el kernel. Ya relat\u00e9 el proceso en el caso de la TP-Link, pero no lo hab\u00eda hecho en el caso de la Leguang.<\/p>\n<figure id=\"attachment_3464\" aria-describedby=\"caption-attachment-3464\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/bitacora.eniac2000.com\/wp-content\/uploads\/2013\/10\/Leguang_LG-N18.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/bitacora.eniac2000.com\/wp-content\/uploads\/2013\/10\/Leguang_LG-N18-400x257.jpg\" alt=\"Leguang LG-N18\" title=\"Leguang LG-N18\" width=\"400\" height=\"257\" class=\"size-medium wp-image-3464\" \/><\/a><figcaption id=\"caption-attachment-3464\" class=\"wp-caption-text\">Leguang LG-N18<\/figcaption><\/figure>\n<p>En este caso, me dio algo m\u00e1s de guerra hacer funcionar la dichosa tarjeta en raspbian, pero lo consegu\u00ed. En este caso consisti\u00f3 en compilar el m\u00f3dulo del kernel para un dispositivo rt5370sta, que es lo que en realidad es la Leguang. Ah\u00ed van los pasos:<\/p>\n<p><strong>1.- Instalaci\u00f3n m\u00f3dulos kernel:<\/strong> En primer lugar, fue necesario prepara el kernel para poder realizar la compilaci\u00f3n del m\u00f3dulo rt5370sta. <\/p>\n<blockquote><p>cd \/usr\/src<br \/>\nwget https:\/\/github.com\/raspberrypi\/linux\/archive\/rpi-3.6.y.tar.gz<br \/>\ntar xvfz rpi-3.6.y.tar.gz<br \/>\nmv linux-rpi-3.6.y linux<br \/>\nln -s \/usr\/src\/linux \/lib\/modules\/3.6.11+\/build<br \/>\ncd \/lib\/modules\/3.6.11+\/build<br \/>\nmake mrproper<br \/>\ngzip -dc \/proc\/config.gz > .config<br \/>\nmake modules_prepare<br \/>\nwget https:\/\/github.com\/raspberrypi\/firmware\/raw\/master\/extra\/Module.symvers\n<\/p><\/blockquote>\n<p><strong>2.- Descarga y compilado de librer\u00eda rt5370sta:<\/strong> En segundo lugar, fue necesario descargar y compilar la librer\u00eda correspondiente al m\u00f3dulo rt5370sta. Me dio bastante guerra encontrar una soluci\u00f3n funcional, y lo mejor fue compilar directamente el m\u00f3dulo.<\/p>\n<blockquote><p>cd ~<br \/>\ngit clone https:\/\/github.com\/alangomes\/rt5370sta<br \/>\ncd rt5370sta<br \/>\nsudo make clean<br \/>\nsudo make<br \/>\nsudo make install<br \/>\nmodprobe -r rt2800usb<br \/>\nmodprobe rt5370sta\n<\/p><\/blockquote>\n<p>Con ello, la tarjeta qued\u00f3 correctamente instalada y completamente funcional en el sistema. \ud83d\ude00<\/p>\n<p><strong>Referencias:<\/strong><a href=\" http:\/\/www.raspberrypi.org\/phpBB3\/viewtopic.php?t=34821&#038;p=328114\"><br \/>\nhttp:\/\/www.raspberrypi.org\/phpBB3\/viewtopic.php?t=34821&#038;p=328114<\/a><br \/>\n<a href=\"http:\/\/forum.xbian.org\/showthread.php?tid=89&#038;page=2&#038;highlight=rt2870\">http:\/\/forum.xbian.org\/showthread.php?tid=89&#038;page=2&#038;highlight=rt2870<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/www.raspberrypi.org\/phpBB3\/viewtopic.php?t=34821&#038;p=328114<br \/>\nhttp:\/\/forum.xbian.org\/showthread.php?tid=89&#038;page=2&#038;highlight=rt2870<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[976,1381,1382,1593],"series":[],"class_list":["post-3462","post","type-post","status-publish","format-standard","hentry","category-informatica","tag-leguang-lg-n18","tag-raspberry-pi","tag-raspbian","tag-tarjeta-wifi"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bitacora.eniac2000.com\/index.php?rest_route=\/wp\/v2\/posts\/3462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitacora.eniac2000.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitacora.eniac2000.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitacora.eniac2000.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bitacora.eniac2000.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3462"}],"version-history":[{"count":0,"href":"https:\/\/bitacora.eniac2000.com\/index.php?rest_route=\/wp\/v2\/posts\/3462\/revisions"}],"wp:attachment":[{"href":"https:\/\/bitacora.eniac2000.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitacora.eniac2000.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitacora.eniac2000.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3462"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/bitacora.eniac2000.com\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=3462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}