Few days back I bought Reliance Netconnect Broadband+ Data-card( Huawei EC1262) and as usual it had support only for Windows and Mac. I asked the tech support and they clearly mentioned me that they dont support Linux. So now I was on my own. I looked over the Internet and found many tutorials to get it to work on Ubuntu. None of them worked for me perfectly. So I changed few things mentioned in those tutorials and got my datacard to work perfectly on Ubuntu 10.04 . Now I am going to list the steps that I followed to get my datacard to work on Ubuntu. So here I go:
1. First of all open up the terminal and run the following command
sudo apt-get update
2. Now we need to install wvdial so run the following command
sudo apt-get install wvdial
3. Now we need to install libusb-dev so run the following command
sudo apt-get install libusb-dev
4. Now we need to download usb-modeswitch and usb-modeswitch-data so go to the following links
usb-modeswitch usb-modeswitch-data . Download both the files and save them on your computer .
5. Now extract both the files and and go to extracted directories on by one (first go to usb-modeswitch). and run the following command as root
sudo make install
6. Now run the following command
sudo gedit /etc/usb_modeswitch.conf
and it will open gedit and paste the following text in it and save the file
# Configuration for the usb-modeswitch package, a mode switching tool for
# USB devices providing multiple states or modes
# This file is evaluated by the wrapper script "usb_modeswitch" in /lib/udev
# To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
# Everything else counts as "disable"
# Disable automatic mode switching globally (e.g. to access the original
# install storage)
# Enable logging (results in a extensive report file in /var/log, named
# Huawei, newer modems
Now run the following command and it will again open gedit and paste the above text in it again and save it
sudo gedit /etc/usb-modeswitch.conf
7. Now run the following commands
sudo gedit /etc/wvdial.conf
it will again open gedit and you need to paste the following text in it.
New PPPD = yes
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0
Username = 93********
Password = 93*********
Phone = #777
Stupid Mode = 1
Auto DNS = 1
Check Def Route = 1
change the username and password with your 10 digit MDN number given on the box of datacard.
8. Now Save the file and reboot the computer. After reboot plugin your datacard and wait for 5 to 6 seconds . Now run the following command
sudo wvdial netconnect
you should see something like below after running the above command
--> Using interface ppp0
--> local IP address 126.96.36.199
--> remote IP address 188.8.131.52
--> primary DNS address 184.108.40.206
--> secondary DNS address 220.127.116.11
If you see this, that means you are connected to the internet. Now open the firefox and go to File menu and remove the offiline mode and enjoy. But if you dont see this then there is something wrong you are doing.
Original tutorial can be found here but it did not worked for me. So I suggest you that first you follow my tutorial and if it dont work for you only then follow the other tutorial.
P.S: If you dont understand instructions above then ask me for help in the comments. Remember there are no dumb questions. Good Luck.