{"id":960,"date":"2017-02-17T13:47:50","date_gmt":"2017-02-17T11:47:50","guid":{"rendered":"http:\/\/blog.prunk.si\/?p=960"},"modified":"2017-02-17T17:32:24","modified_gmt":"2017-02-17T15:32:24","slug":"huawei-e3372-lte-modem-on-ubuntu","status":"publish","type":"post","link":"https:\/\/blog.janprunk.com\/?p=960","title":{"rendered":"Huawei E3372 LTE modem on Ubuntu"},"content":{"rendered":"<p>I have purchased <a href=\"http:\/\/consumer.huawei.com\/en\/mobile-broadband\/dongles\/tech-specs\/e3372.htm\">Huawei E3372 LTE modem<\/a> for the purpose of using it as a backup link for my home Internet connection. I have found a good option with Telemach mobile carrier that offers pay-per-use access to their LTE network with <a href=\"http:\/\/telemach.si\/mobilna-telefonija\/NET2GO\">NET2GO<\/a> mobile data package. You only pay when you actually need to access the Internet. So let&#8217;s see how to configure this thing on Ubuntu ARM computer.<\/p>\n<p>When first inserting the USB dongle with the SIM card into computer, this is what &#8220;dmesg&#8221; will reveal:<\/p>\n<p># dmesg<\/p>\n<ul>\n<li>usb 1-1.4: new high-speed USB device number 3 using ci_hdrc<\/li>\n<li>usb-storage 1-1.4:1.0: USB Mass Storage device detected<\/li>\n<li>scsi1 : usb-storage 1-1.4:1.0 scsi 1:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2<\/li>\n<li>scsi 1:0:0:1: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2<\/li>\n<li>sd 1:0:0:1: [sdb] Attached SCSI removable disk<\/li>\n<li>usb 1-1.4: USB disconnect, device number 3<\/li>\n<li>usb 1-1.4: new high-speed USB device number 4 using ci_hdrc<\/li>\n<li>usb-storage 1-1.4:1.2: USB Mass Storage device detected<\/li>\n<li>scsi2 : usb-storage 1-1.4:1.2<\/li>\n<li>scsi 2:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2<\/li>\n<li>sd 2:0:0:0: [sdb] Attached SCSI removable disk<\/li>\n<\/ul>\n<p># lsusb<\/p>\n<ul>\n<li><code><\/code>Bus 001 Device 004: ID 12d1:14dc Huawei Technologies Co., Ltd.<\/li>\n<\/ul>\n<p>For things to work you need several usb modules compiled already in the kernel. Since I have an ARM machine I don&#8217;t have the required modules (usbnet, usbcore, cdc_ether) compiled, therefore I was unable to continue from here, without kernel recompilation. It is suggested that you have all the required usb packages installed to further continue with the setup.<\/p>\n<p># aptitude install libusb++-0.1-4c2 libusb++-dev libusb-1.0-0-dev libusb-dev<\/p>\n<p>There is a tool called &#8220;usb_modeswitch&#8221; that I used to detect the modem. Next packages to be installed are &#8220;usb-modeswitch usb-modeswitch-data&#8221;.<\/p>\n<p># aptitude install usb-modeswitch usb-modeswitch-data<\/p>\n<p># usb_modeswitch -J -v 0x12d1 -p 0x14dc<\/p>\n<p>From this point on I was out of luck to continue with the setup. Here is a list of related links from where you should find the additional information.<\/p>\n<ul>\n<li>http:\/\/www.gnuton.org\/blog\/2015\/07\/huawei-e3372\/<\/li>\n<li>http:\/\/kernelreloaded.com\/huwaei-e3372h-hilink-awesome-lte-modem\/<\/li>\n<li>http:\/\/www.gnuton.org\/blog\/2015\/07\/huawei-e3372\/https:\/\/johnlewis.ie\/mobile-broadband-from-the-command-line-in-ubuntu\/<\/li>\n<li>https:\/\/trick77.com\/setting-up-huawei-e3276-150-4g-lte-usb-modem-ubuntu-server-desktop\/<\/li>\n<li>http:\/\/www.linux-usb.org\/usbnhttp:\/\/nvdcstuff.blogspot.com\/2015\/04\/huawei-e3372-in-linux-raspberry-pi.htmlet\/<\/li>\n<li>http:\/\/askubuntu.com\/questionshttp:\/\/ernstagn.home.xs4all.nl\/GPRS-HOWTO\/GPRS-HOWTO-6.html\/755570\/how-to-enable-broadband-connection-with-huawei-e3372h-on-ubuntu-server<\/li>\n<li>http:\/\/nvdcstuff.blogspot.com\/2015\/04\/huawei-e3372-in-linux-raspberry-pi.html<\/li>\n<li>http:\/\/askubuntu.com\/questionshttp:\/\/wiki.openmoko.org\/wiki\/USB_Networking\/615302\/modem-usb-serial-mode<\/li>\n<li>http:\/\/forums.debian.net\/viewtopic.php?f=5&amp;t=124007<\/li>\n<li>https:\/\/trick77.com\/setting-up-huawei-e3276-150-4g-lte-usb-modem-ubuntu-server-desktop\/<\/li>\n<li>https:\/\/johnlewis.ie\/mobile-broadband-from-the-command-line-in-ubuntu\/<\/li>\n<li>http:\/\/askubuntu.com\/questions\/755570\/how-to-enable-broadband-connection-with-huawei-e3372h-on-ubuntu-server<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I have purchased Huawei E3372 LTE modem for the purpose of using it as a backup link for my home Internet connection. I have found a good option with Telemach mobile carrier that offers pay-per-use access to their LTE network with NET2GO mobile data package. You only pay when you actually need to access the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,3],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.janprunk.com\/index.php?rest_route=\/wp\/v2\/posts\/960"}],"collection":[{"href":"https:\/\/blog.janprunk.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.janprunk.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.janprunk.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.janprunk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=960"}],"version-history":[{"count":12,"href":"https:\/\/blog.janprunk.com\/index.php?rest_route=\/wp\/v2\/posts\/960\/revisions"}],"predecessor-version":[{"id":1030,"href":"https:\/\/blog.janprunk.com\/index.php?rest_route=\/wp\/v2\/posts\/960\/revisions\/1030"}],"wp:attachment":[{"href":"https:\/\/blog.janprunk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=960"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.janprunk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=960"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.janprunk.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}