This is the correct way:
The readme.txt of the software. These installation procedures are written by Kimani wa Mumbi. (keemany@gmail.com) http://keemlit.blogspot.com
DOCUMENTATION ROADMAP
The 'readme.txt' a simple help file. It is best to read 'readme.txt' before install the software. The 'readme.txt'
contains the following sections:
WHAT IS the software General description of the software.
INSTALLLATION How do install the software.
UNINSTALLLATION How do uninstall the software.
RELATED SOFTWARE Other stuff you should get.
Other documentation files in the distribution are: 'PCL_BATAFR.tar.gz'. The tar.gz file include following files or folders:
Airtel_Internet.tar.gz This is the installation packet;
install.sh This is a setup script;
WHAT IS the software
The software is a application software for Linux and it is a manager for the mobile device. It will allow
you to establish a connection to the Internet using 2G/3G cards, and it will also allow to send and
receive short messages from your computer.
In order to use your 2G/3G device, you should run a fairly recent version of the Linux kernel.
The application has been tested on Linux 2.6.20 and newer. If you have an older version installed, we
would recommend to update it before going on.
INSTALLATION
Before installation, make sure you have the needed dependencies installed (qt3, wvdial1.5.6 or newer). You can get them on Ubuntu Software Centre. Type wvdial and you will see them. (If you are using anything after Ubuntu 13, typing qt3 will not give you any results, but they will probably be included in wvdial.)
The steps of installation are as following:
1. Copy the installation packet 'PCL_BATAFR.tar.gz' to Desktop or other path;
2. Extract and get a folder, the folder include following files or folders:
Airtel_Internet.tar.gz This is a installation packet;
install.sh This is a setup script;
3. Open the Terminal and change the current working directory to 'Desktop' (if you extracted your '.tar.gz' there) by typing 'cd ~/Desktop', then change your current working directory to 'PCL_BATAFR' by typing 'cd ~ /PCL_BATAFR'. (The instructions on the 'readme.txt' on the Modems is misleading as you cannot make a 'tar.gz' file a directory). Ignore the quotation marks (' ') when typing the commands.
- Make sure you are in root privilege. Run the shell-command 'sudo ./install.sh'. It will ask you for the sudo password so enter your Admin password. If you are new to the Terminal, ******* will not be seen when typing the passwordso just type your password and Enter. You should then see the process. The airtel icon can be searched for at the dash.
System Requirements: Linux Kernel version 2.6.20 or higher
UNINSTALLATION
Make sure you are in root privilege.
The ways of uninstallation are as follows:
way 1: Double uninstall.sh in the directory '/opt/Airtel_Internet' to uninstall the software.
way 2: Open a shell-terminal as root and run a shell-command '/opt/Airtel_Internet/uninstall.sh' in the shell-terminal.
RELATED SOFTWARE
- the related libs with qt3: libqt3-mt_3.3.8,libaudio2. the installation order of the qt3 related software is as following:
a. libaudio2;
b. libqt3-mt;
- the related software with wvdial: ppp2.4.4 or newer, pppd2.4.4 or newer, wvdial 1.5.6 or newer. The installation order of the wvdial related
software is as following:
a. libxplc;
b. libwvstreams;
c. libwvstreams;
d. libuniconf;
e. wvdial.
In the installation process, all the packages above aren't installed necessarily. User can select integral parts to install.
- the related software with sound: aplay (If it doesn't exist in your Linux operating system, please get it and copy it to /usr/bin/ and make it executable: chmod +x /usr/bin/aplay ).
The ways of getting these related softwares are as following:
1.you can get these related softwares from your distribution OS setup CD/DVD ;
2.you also can get them from following websites:
1) Fedora: http://www.rpmfind.net
2) Ubuntu: http://packages.ubuntu.com/
3) Debian: http://www.debian.org/
4) the rpm-packet's website: http://rpmfind.net/linux/RPM
The software is a application software for Linux and it is a manager for the mobile device. It will allow you to establish a connection to the Internet using 2G/3G cards, and it will also allow to send and receive short messages from your computer. In order to use your 2G/3G device, you should run a fairly recent version of the Linux kernel. Zte Usb Modem Drivers Linux Software USB Server for Linux v.1.7.1 Simply and powerful software solution for sharing and accessing USB devices over local network or Internet!
To use a 'ZTE MF180 HSDPA USB Stick' (a device typically retailed by network providers like the Austrian bob as the 'bob datenstick' (bob data stick)) on a (e.g Debian) GNU/Linux system, these instructions worked for me.
Please note that some of the commads I send to the device were from somewhere in the internet (links given where relevant) or even guessed. They worked for me, but might turn your device into a useless brick!
When first connecting the stick, it presents itself as as CD-ROM device after a few seconds. dmesg shows:
and lsusb lists it as:
(Of course, som details will differ from system to system.)
This CD typically contains vendor specific Windows drivers; you might want to look for a fitting icon there if you intend to create a graphical button for launching wvdial.
At this stage, the LED on the device should be red.
In order to access the modem proper, you'll need to signal to the stick that it may switch now. Fortunately, on this particular stick this is implemented in a quite straigt-forward way -- simply eject the CD:
After ejecting, three new devices will show up at ls /dev/ttyUSB*:
The important one is /dev/ttyUSB2. According to an ubuntuforums entry, /dev/ttyUSB0 is a NMEA port (which I have not yet seen doing anything) and /dev/ttyUSB1 is for montioring (e.g. querying signal strength while a connection is open).
At this stage, the LED should still be red.
You can now communicate with the device using AT commands, e.g. by using screen /dev/ttyUSB2. For example, you can query the security status by entering AT+ZSEC?:
(That is, you enter AT+ZSEC?, followed by return, and the stick responds with a status and an OK message. You can leave the screen session by pressing Ctrl-a, k, and y. If screen complains about 'Cannot access line', you might need to invoke it with sudo.)
The exact interpretation of the ZSEC reply is explained in the 3g-modem wiki, but for now it will be sufficient to know that 0,0 means that no PIN has been entered.
Disabling CD mode
There are two parameters that can be set: 'autorun' and 'download'.
Autorun can be enabled using AT+ZCDRUN=9, disabled using AT+ZCDRUN=8 and queried using AT+ZCDRUN=4. [1]
Download mode can be enabled using AT+ZCDRUN=E, disabled using AT+ZCDRUN=F and queried using AT+ZCDRUN=G. [2]
Enabling download mode works best for me as it hides the CD completely. (Autorun mode just makes both the ttyUSB and the CD show up at the same time.)
Before the modem accepts any commands from wvdial to set up the modem connection, it needs the SIM card unlocked by entering the PIN (where 1234 is your PIN):
The LED will then turn blue after a few seconds, and AT+ZSEC? will then receive the response 3,0.
LED color
It might happen that you LED remains red or goes back to red after some time, or goes to green. This seems to be due to bad network connectivity; AT+ZPAS? reported 'Limited Service' instead of 'UMTS','CS_PS' for me iff the LED was red, and 'GPRS','CS_PS' iff the LED was green.
Disabling the PIN
To use the wvdial configuration below, you need to allow the SIM card to connect without a password. Disable password prompting by issuing AT+CLCK='SC',0,'1234' (again, for you PIN being 1234). You can re-enable it using AT+CLCK='SC',1,'1234'.
The more secure version would be writing a chat script that enters the pin and polls for the response to AT+ZSEC? or AT+ZPAS? to indicate that everything is ready.
After the device is unlocked and connected to the network, a pretty straightforward /etc/wvdial.conf setting for wvdial is required to get things running; I use this:
The Phone, Username and Password parts, the 'bob.at' section in the Init2 (that's the APN) and the 'Stupid Mode' are specific to bob; instructions what to put there should come with your SIM card.
Then, start wvdial bobstick (you might need sudo again, and don't forget to close screen sessions running on /dev/ttyUSB2 as they'll eat the stick's responses):
And there you go, network up and running!
The LED should be blinking now.
If you want to further interact with the device, use screen /dev/ttyUSB1 as ttyUSB2 is now in use by PPP.
Zte Modem Linux Driver
(Remember what I said about bricking? That's the part where I guessed brutally.)
When a connection is active, just stopping wvdial is not enough to make the connection stop on the stick's side -- the LED keeps blinking. Sending the command AT+ZRST resets the device.
jtrenchard found some more commands in the binary code of a similar dongle, e.g. a AT+ZVN which I guess stants for 'ZTE version' and reports 'BD_MF180TLF3V1.0.0B01 [JUNE 8 2010 17:00:00]' for me. The AT+ZRST very much looks like a reset command (as does AT+ZOPRT=0), AT+ZECC? returns US and European emergency numbers.
Zte Modem Linux Drivers Windows 10
Similar devices probably have different tty numbers. For example, see the ZTE MF193 guide by Rudy Godoy.
Zte Modem Linux Drivers Free
Written by chrysn 2010-10-26 (updated 2014-02-14), published under the terms of CC-BY-SA. For the latest version, look at the original address, where you will also find the reStructuredText source.