{"id":540,"date":"2015-03-28T14:29:42","date_gmt":"2015-03-28T14:29:42","guid":{"rendered":"http:\/\/www.tech-g.com\/?p=540"},"modified":"2022-07-04T16:54:38","modified_gmt":"2022-07-04T16:54:38","slug":"huawei-dongle-on-openwrt-the-fast-and-easy-way","status":"publish","type":"post","link":"https:\/\/www.voodoo.business\/blog\/2015\/03\/28\/huawei-dongle-on-openwrt-the-fast-and-easy-way\/","title":{"rendered":"huawei dongle on openwrt &#8211; the fast and easy way"},"content":{"rendered":"\n<p>NOTE: this is not about battery operated 4G modems (such as the huwawei E5577 for example), see here for <a href=\"https:\/\/www.qworqs.com\/2022\/07\/04\/openwrt-internet-via-usb-from-huawei-e5577-or-similar-devices\/\">instructions to connect 4G modems via USB to openwrt<\/a><\/p>\n\n\n\n<p>This is a 4MB space tp-link router, here are the steps<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">opkg install kmod-usb-serial kmod-usb2 luci-proto-3g kmod-usb-serial-option usb-modeswitch kmod-usb2 kmod-usb-serial-wwan kmod-usb-serial ppp comgt <\/pre>\n\n\n\n<p>A package required for older releases of openwrt <\/p>\n\n\n\n<pre id=\"block-072fea48-de94-4c89-8afc-990616c06e7e\" class=\"wp-block-preformatted\">opkg install sdparm<\/pre>\n\n\n\n<p>And the optional package<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">opkg install usbutils <\/pre>\n\n\n\n<p>Now, reboot the router, then go to the routers LUCI interfaces page, then add an interface<\/p>\n\n\n\n<p>From the drop down, chose UMTS\/GPRS<\/p>\n\n\n\n<p>On the next page, you should see one of the devices names \/dev\/ttyUSB0, in my case there are 2 since the device provides a storage controller, the modem was on USB0 not USB1, your might be different (try both if you have 2)<\/p>\n\n\n\n<p>Now i chose UMTS only so that the modem will always use 3G because edge is good for nothing<\/p>\n\n\n\n<p>Then your APN and username\/password as you would on a phone or anywhere else&#8230; then save and apply<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NOTE: this is not about battery operated 4G modems (such as the huwawei E5577 for example), see here for instructions to connect 4G modems via USB to openwrt This is a 4MB space tp-link router, here are the steps opkg install kmod-usb-serial kmod-usb2 luci-proto-3g kmod-usb-serial-option usb-modeswitch kmod-usb2 kmod-usb-serial-wwan kmod-usb-serial ppp comgt A package required for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[135,87],"tags":[],"class_list":["post-540","post","type-post","status-publish","format-standard","hentry","category-openwrt","category-routers"],"_links":{"self":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/comments?post=540"}],"version-history":[{"count":4,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/540\/revisions"}],"predecessor-version":[{"id":1596,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/540\/revisions\/1596"}],"wp:attachment":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/media?parent=540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/categories?post=540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/tags?post=540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}