Note:- Data cards are automatically detected in newer version of ubuntu. You just have to wait for detecting it and then you can configure it. Use this method only when your data card is not detected by default.
Plug in your modem. Let it be recognized as a flash drive. Once that is done do
1) Open terminal and type
lsusb.
The output will be something like this:
Bus 001 Device 001: ID 1d6b:0002
Bus 003 Device 001: ID 1d6b:0001
Bus 002 Device 002: ID 12d1:140b Huawei USB Device
Bus 002 Device 001: ID 1d6b:0001
If you have same ID 12d1:140b Hwawei USB Device> follow the same instruction below
Now the first number here is the vendor id (0x12d1) and the second one (0x0140b) is
product id. These numbers will differ depending on the make and model of your modem.
2) now type in terminal
modprobe usbserial vendor=0x12d1 product=0x140b
**optional:{ only if terminal asks for permission or are you root something..
then type
sudo modprobe usbserial vendor=0x12d1 product=0x140b
enter your password ...
}**
Now you need to install a packages and softwares below
(note: if this article is old ,download the latest packages from http://www.draisberghof.de/usb_modeswitch/ )
1) sudo apt-get install libusb-dev
For new versions of usb_modswitch, libusb-1.0 is needed. It can be installed with:
sudo apt-get install libusb-1.0.0-dev
2) Download latest usb_modeswitch & extract from:
http://www.draisberghof.de/usb_modeswitch/
Now to install usb_modeswitch:
cd usb-modeswitch-x.x.x
( enter into the usb-modeswitch directory)
sudo make install
3) Download & extract latest usb_modeswitch-data from:
http://www.draisberghof.de/usb_modeswitch/
cd into the extracted folder
cd usb-modeswitch-data-xxxxxxxx
sudo gedit Makefile
add the following two lines after RULESDIR = $(DESTDIR)/lib/udev/rules.d :
UDEVDIR= $(DESTDIR)/lib/udev
UDEVDIR= $(DESTDIR)/etc/udev
now Install usb_modeswitch-data:
sudo make files-install
Once installed:
4) type again in terminal
usb_modeswitch -v 0x12d1 -p 0x140b -H -W
note:-change 0x12d1 and 0x140b if you have different vendor id and product id
5) Now try an ls /dev/ttyU* and you should be able to see at least one device, or may be more
Type in terminal
ls /dev/ttyU*
6) Now its time to configure the settings.Type in terminal
wvdialconf
and a file would be generated(/etc/wvdial.conf)
sudo gedit /etc/wvdial.conf
Open it and modify the phone number (The default number,username and password is
number #777
username internet password internet)
but if you have changed your username and password ... then type that one.
7) now just type in terminal
wvdial
thats it go to network icon and click over it and select huwaie mobile network..and you will connected in seconds..
This process 100% work if you follow the instruction carefully.
IF you have a problem ..reply
Do not panic. Its not at all difficult.
First and formost thing is connect your ubuntu desktop or laptop to internet using ethernet connection or any other connection which is possible.
Update your system with following two commands in terminal window. ( Ctrl + ALT + T )
sudo apt-get update
sudo apt-get upgrade
With this commands your Ubuntu system is updated.
Now install following packages using terminal window.
sudo apt-get install usb-modeswitch
sudo apt-get install wvdial
Now put your Reliance netconnect+ usb modem into to usb drive. After waiting for about 20 seconds, you can give following command in terminal window
lsusb
Note down ZTE WCDMA Technologies device id and product id on a piece of paper.
In my case it was 19d2:ffe9
Here 19d2 is device id and ffe9 is a product id.
Create new file using following file.
sudo nano /etc/udev/rules.d/90-zte.rules
Enter following code. [ everything is one line ]
SUBSYSTEM=="block",SUBSYSTEM=="scsi",ATTRS{model}=="USB Storage FFE9",ACTION=="add",RUN+="/sbin/modprobe usbserial vendor=0x19d2 product=0xffe9"
and save this file. Please remember to change the vendor id and product id as noted down on piece of paper earlier.
Now give following command and press return.
sudo /sbin/modprobe usbserial vendor=0x19d2 product=0xffe9
On command prompt type following command.
sudo wvdialconf /etc/wvdial.conf
This will create wvdial.conf file in your /etc directory.
edit this file using following command.
sudo nano /etc/wvdial.conf
remove ; before username and password.
username = your 10 digit mdn number
password = your 10 digit mdn number
save this file.
Now you can create a connection in network management under Mobile Broaband
Gve anyname for the connection say "Reliancenetplus"
Number should be #777
Username is : mdn number
password is : mdn number
- mdn number is like your mobile number in 10 digit.
Save this connection.
Disconnect your earlier connection using wired or broadband connection.
From network manager you will now see Reliancenetplus . Just click.
You are now connected...
Enjoy.
Best Answer
You can try to use special Software to start a Hotspot. The easiest solution for myself is ap-hotspot.
A broader description of it can be found under the following link. http://www.webupd8.org/2013/06/how-to-set-up-wireless-hotspot-access.html
It installs Hostapd on your Laptop, directly via a PPA. After that just start it with the following command.
and also restart or stop it this way.