Pages

Thursday 4 December 2014

How to install ZTE USB modems on Ubuntu

Although you can still use the modem by setting it from the edit connections (upper right corner on the network icon) and then clicking on add, scrolling to Mobile Broadband..., you will not be able to access the modem's menu, like texting and all that stuff. That is why I went to pains to make - or rather edit - the readme.txt from the linux folder.

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