Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
Site Navigation
Linux Forums
Linux Articles
Product Showcase
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Free Publications

After 15 days fight and consultation to a lot of people found a way to install HUAWEI E1553 that should be used for any communication company. It should also serve several models HUAWEI with minor modifications.

A modem switch application

This article is based on an application named usb_modeswitch  from http://www.draisberghof.de/usb_modeswitch where from you may
download the two critical tar balls modeswitch-usb-usb-1.1.2.tar.bz2 modeswitch-data-20100418.tar.bz2.

I am going to skip a close description of usb_modeswitch as you'll have an in deep description from the file README which will be unpacked from the first package and where it is told that all the application will is to create a configuration at the udev directory to teach udev how to understand this kind of modem.

What I am going to do here is to show how to use this application in a very straightforward way leaving the technical details back with the
application literature which is quite good and very well written in case you want to understand better what have been done.

I have learned all this from the bash file Huawei_E1750.sh written by Gustav Anderson see the citation at the end.

The steps to make Linux see the huawei modem

As it is told in the README file from modeswitch-usb-usb-1.1.2.tar.bz2, these modems are a kind of mutandis entities which will change their behaviour after having been first read by windows which is kindly informed this way how to treat them, and of course living a lot of people enchanted with the power of this system. So modeswitch has to tell udev how to understand the device and switch if from the position of mass storage to dialout directory position, usually  /dev/ttyUSB* (where * = 0,1,2,3) - usually 0.

In principle nothing more should be done than installing first modeswitch-data-20100418.tar.bz2 (untaring it) and issuing the command
"sudo make install" in the newly created directory and the making the same with  modeswitch-usb-usb-1.1.2.tar.bz2. It has to be done in this order because the data files are in the first tarball - a list of known devices and parameters which are needed for each one of them.
All this is carefully described in the README file.

But I could not have the modem recognized only with that, here I got a good help from Gustav Anderson bash file which makes the manual installation which includes  restarting udev (read the file) and this making the configuration file for the modem being read. My ubuntu installation has recognized the modem at the fly after I have run  Gustav Anderson's bash file with the modifications I did for my modem which is E1553. If yours is not of this type you may find in the database of usb_modeswitch the information for yours.

 A script to make it automated

Unfortunatelly Debian/Gnu/Linux is a bit too spartan and need some extra help to put the things to work, and this the main reason of this article, we have to publish our experiences so every Debian user feel better with this wonderful system. I wrote a very simple script to automate the process for Debian/Gnu/Linux - Lenny, ativa_modem.sh  which is a slight modification of Anderson's script to verify if
the modem is switched to a dialout device and then call wvdialconf to verify the right device and edit a backup configuration file for
wvdial and, finally, copy it to /etc/wvdial.conf.  This is done by my script   ativa_modem.sh  cited here down with the reference to
where you get it from.


(1) http://www.draisberghof.de/usb_modeswitch/
(2) Gustav Andersson   Huawei_E1750.sh  which may download from
(3) http://www.multivariado.sobralmatematica.org/programas/ativa_modem.sh

Rate This Article: poor excellent
Comments about this article
Huawei u2800
writen by: pradacr on 2013-01-25 21:38:25
I searched for the u2800 model in www.draisberghof.de/usb_modeswitch and found no result, so I guess that extra steps to the method above would have to be added.
Has anybody tested the u2800?
RE: Huawei u2800 written by pradacr:
Huawei u2800
writen by: pradacr on 2013-01-25 21:38:26
I searched for the u2800 model in www.draisberghof.de/usb_modeswitch and found no result, so I guess that extra steps to the method above would have to be added.
Has anybody tested the u2800?
RE: Huawei u2800 written by pradacr:

Comment title: * please do not put your response text here