{"id":196,"date":"2013-07-22T06:48:15","date_gmt":"2013-07-22T06:48:15","guid":{"rendered":"http:\/\/karstieltopia.com\/?p=196"},"modified":"2016-03-12T08:33:24","modified_gmt":"2016-03-12T07:33:24","slug":"openwrt-instalacion-interfaz-web","status":"publish","type":"post","link":"http:\/\/karstieltopia.com\/tecnologia\/openwrt-instalacion-interfaz-web\/","title":{"rendered":"OpenWRT – Instalaci\u00f3n interfaz web"},"content":{"rendered":"

Despu\u00e9s de la instalaci\u00f3n del OpenWrt en el router TP-Link 3220, lo primero que quise fue tener una interfaz gr\u00e1fica funcional, as\u00ed que investigando un poco vi que hab\u00eda una interfaz llamada Luci que ofrec\u00eda todo lo que quer\u00eda.<\/p>\n

Instalarlo es sencillo si el router est\u00e1 conectado<\/a> a internet, pero en mi caso no ten\u00eda conexi\u00f3n, as\u00ed que ten\u00eda que buscar todos los archivos necesarios para hacerlo offline, porque en la web de OpenWrt no eran muy expl\u00edcitos.<\/p>\n

As\u00ed que tuve que estar buscando un poco hast que encontr\u00e9 todo lo que ten\u00eda que hacer para instalarlo. Primero hay que ir a esta p\u00e1gina\u00a0http:\/\/downloads.openwrt.org\/snapshots\/trunk\/ar71xx\/packages\/\u00a0 y descargar los paquetes correspondientes (concretamente son los que aparecen en el siguiente paso).<\/p>\n

Una vez descargados se ejecuta el siguiente comando para copiarlo al router (recordar que el ordenador debe de estar en la misma red):<\/p>\n

\n\n
scp \\
\nliblua_* \\
\nlibiwinfo_* \\
\nlibiwinfo-lua_* \\
\nluci-proto-ppp_* \\
\nlua_* \\
\nluci-proto-core_* \\
\nluci-app-firewall_* \\
\nluci-theme-base_* \\
\nluci-theme-bootstrap_* \\
\nluci-lib-ipkg_* \\
\nluci-i18n-english_* \\
\nluci-sgi-cgi_* \\
\nlibubus-lua_* \\
\nlibuci-lua_* \\
\nlua_* \\
\nluci-lib-core_* \\
\nluci-lib-nixio_* \\
\nluci-lib-sys_* \\
\nluci-lib-web_* \\
\nluci-lib-core_* \\
\nluci-mod-admin-core_* \\
\nluci-mod-admin-full_* \\
\nuhttpd_* \\
\nuhttpd-mod-ubus_* \\
\nluci_* root@192.168.1.1:\/tmp<\/div><\/div>\n\n<\/pre>\n

Con esto, ya estar\u00e1n los paquetes en \/tmp \u00a0del router. Ahora queda instalarlo con el siguiente comando:<\/p>\n

\n\n
opkg install liblua_*.ipk libiwinfo_*.ipk libiwinfo-lua_*.ipk luci-proto-ppp_*.ipk lua_*.ipk luci-proto-core_*.ipk luci-app-firewall_*.ipk luci-theme-base_*.ipk luci-theme-bootstrap_*.ipk luci-lib-ipkg_*.ipk luci-i18n-english_*.ipk luci-sgi-cgi_*.ipk libubus-lua_*.ipk libuci-lua_*.ipk lua_*.ipk luci-lib-core_*.ipk luci-lib-nixio_*.ipk luci-lib-sys_*.ipk luci-lib-web_*.ipk luci-lib-core_*.ipk luci-mod-admin-core_*.ipk luci-mod-admin-full_*.ipk uhttpd_*.ipk uhttpd-mod-ubus_*.ipk luci_*.ipk<\/div><\/div>\n\n<\/pre>\n

Y por \u00faltimo activarlo de la siguiente forma:<\/p>\n

\n\n
\/etc\/init.d\/uhttpd enable
\n\/etc\/init.d\/uhttpd start<\/div><\/div>\n\n<\/pre>\n

Si ahora ponemos en el navegador la ip 192.168.1.1, veremos la interfaz web del router :)<\/p>\n

Links<\/strong><\/span><\/p>\n

Foro OpenWrt:\u00a0https:\/\/forum.openwrt.org\/viewtopic.php?id=38624<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

Despu\u00e9s de la instalaci\u00f3n del OpenWrt en el router TP-Link 3220, lo primero que quise fue tener una interfaz gr\u00e1fica funcional, as\u00ed que investigando un poco vi que hab\u00eda una interfaz llamada Luci que ofrec\u00eda todo lo que quer\u00eda. Instalarlo es sencillo si el router est\u00e1 conectado a internet, pero en mi caso no ten\u00eda […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[211],"tags":[39,924],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"yoast_head":"\nOpenWRT - Instalaci\u00f3n interfaz web - Karstieltopia<\/title>\n<meta name=\"description\" content=\"OpenWRT - Instalaci\u00f3n interfaz web\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/karstieltopia.com\/tecnologia\/openwrt-instalacion-interfaz-web\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OpenWRT - Instalaci\u00f3n interfaz web - Karstieltopia\" \/>\n<meta property=\"og:description\" content=\"OpenWRT - Instalaci\u00f3n interfaz web\" \/>\n<meta property=\"og:url\" content=\"http:\/\/karstieltopia.com\/tecnologia\/openwrt-instalacion-interfaz-web\/\" \/>\n<meta property=\"og:site_name\" content=\"Karstieltopia\" \/>\n<meta property=\"article:published_time\" content=\"2013-07-22T06:48:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-03-12T07:33:24+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:creator\" content=\"@karstiel\" \/>\n<meta name=\"twitter:site\" content=\"@karstiel\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/karstieltopia.com\/#website\",\"url\":\"http:\/\/karstieltopia.com\/\",\"name\":\"Karstieltopia\",\"description\":\"Programaci\\u00f3n, tecnolog\\u00eda y a\\u00f1adidos\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"http:\/\/karstieltopia.com\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"es\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/karstieltopia.com\/tecnologia\/openwrt-instalacion-interfaz-web\/#webpage\",\"url\":\"http:\/\/karstieltopia.com\/tecnologia\/openwrt-instalacion-interfaz-web\/\",\"name\":\"OpenWRT - Instalaci\\u00f3n interfaz web - Karstieltopia\",\"isPartOf\":{\"@id\":\"http:\/\/karstieltopia.com\/#website\"},\"datePublished\":\"2013-07-22T06:48:15+00:00\",\"dateModified\":\"2016-03-12T07:33:24+00:00\",\"author\":{\"@id\":\"http:\/\/karstieltopia.com\/#\/schema\/person\/3d09a55c38c7c00e78c41fa3f71a6e75\"},\"description\":\"OpenWRT - Instalaci\\u00f3n interfaz web\",\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/karstieltopia.com\/tecnologia\/openwrt-instalacion-interfaz-web\/\"]}]},{\"@type\":\"Person\",\"@id\":\"http:\/\/karstieltopia.com\/#\/schema\/person\/3d09a55c38c7c00e78c41fa3f71a6e75\",\"name\":\"karstiel\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6AuIG-3a","_links":{"self":[{"href":"http:\/\/karstieltopia.com\/wp-json\/wp\/v2\/posts\/196"}],"collection":[{"href":"http:\/\/karstieltopia.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/karstieltopia.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/karstieltopia.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/karstieltopia.com\/wp-json\/wp\/v2\/comments?post=196"}],"version-history":[{"count":10,"href":"http:\/\/karstieltopia.com\/wp-json\/wp\/v2\/posts\/196\/revisions"}],"predecessor-version":[{"id":2472,"href":"http:\/\/karstieltopia.com\/wp-json\/wp\/v2\/posts\/196\/revisions\/2472"}],"wp:attachment":[{"href":"http:\/\/karstieltopia.com\/wp-json\/wp\/v2\/media?parent=196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/karstieltopia.com\/wp-json\/wp\/v2\/categories?post=196"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/karstieltopia.com\/wp-json\/wp\/v2\/tags?post=196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}