So the last time around I faced some trouble installing the Huwaei EC156 Tata Photon + USB Data Card on Ubuntu and provided you guys with an example.
Now I am for a short stay in a part of Kolkata where Photon speeds are painfully slow and hence I am forced to use the BSNL EVDO/1X Card, the hardware for which is provided by Prithvi Communications by the name of UE100.
Linux does not recognise this and you are in for a soup if you don't know what to do :p
Ok here goes the short and smart tutorial.
First connect the device to your laptop/PC.
Run the command
There should be a device ls /dev/ttyACM0 (or a name similar to that)
To verify, remove the device and run ls /dev/tty* again to check that device has vanished :)
Now you need a nifty program called 'wvdial'
install it using
After wvdial has been installed we need to provide a configuration file for wvdial. Create one using
If you don't know username and password you can use this ... (psst... do not tell anyone about this ;) :P )
Now run this command (2-3 minutes after you have plugged in the device) to ensure this is working
Now if you are a geek you can just enter sudo wvdial every time to connect, but for people you prefer the comfort of mouse clicks you have some more jobs left to do.
Now everytime you plug in the device, wait for 1-2 minutes, then double click the brand new icon on your desktop, and woot!! you are online :)
cheers
Now I am for a short stay in a part of Kolkata where Photon speeds are painfully slow and hence I am forced to use the BSNL EVDO/1X Card, the hardware for which is provided by Prithvi Communications by the name of UE100.
Linux does not recognise this and you are in for a soup if you don't know what to do :p
Ok here goes the short and smart tutorial.
First connect the device to your laptop/PC.
Run the command
ls /dev/tty*
There should be a device ls /dev/ttyACM0 (or a name similar to that)
To verify, remove the device and run ls /dev/tty* again to check that device has vanished :)
Now you need a nifty program called 'wvdial'
install it using
sudo apt-get install wvdial
After wvdial has been installed we need to provide a configuration file for wvdial. Create one using
sudo gedit /etc/wvdial.confEnter the following data into the file
[Dialer Defaults]Where your username and password are the mobile numbers (replace xxxxxxxxxx with your device mobile number)
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 460800
Modem = /dev/ttyACM0
ISDN = 0
Phone = #777
Password = 91xxxxxxxx
Username = 91xxxxxxxx
Stupid Mode = 1
If you don't know username and password you can use this ... (psst... do not tell anyone about this ;) :P )
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 460800
Modem = /dev/ttyACM0
ISDN = 0
Phone = #777
Password = 165
Username = 165
Stupid Mode = 1
Now run this command (2-3 minutes after you have plugged in the device) to ensure this is working
sudo wvdialIt should show some DNS servers, (your notification area won't show any connected network) . Open browser and see if pages load. If it does, and I believe it will, then it's good to go.
Now if you are a geek you can just enter sudo wvdial every time to connect, but for people you prefer the comfort of mouse clicks you have some more jobs left to do.
sudo gedit /usr/bin/bsnlenter this data into that file
gksudo wvdialNow we need to set execution permissions to the file
sudo chmod 777 /usr/bin/bsnlNow we will create a desktop shortcut.
gedit ~/Desktop/BSNL.desktopand enter this data into the file
[Desktop Entry]and make it executable
Name=BSNL EVDO Connection
Exec=bsnl
Type=Application
StartupNotify=false
Icon=package_network
chmod 777 ~/Desktop/BSNL.desktop
Now everytime you plug in the device, wait for 1-2 minutes, then double click the brand new icon on your desktop, and woot!! you are online :)
cheers
also add Check Carrier = no
ReplyDeletecan u post how much speed you are getting
ReplyDeletethis method worked fine for me until recently, is there some way in which you could use WINE to use the software to connect to the internet???
ReplyDeletenope
DeleteI am getting all those dns servers etc with sudo wvdial but unable to connect to the internet.
ReplyDeleteAfter a good research I feel as if I have crossed half of the river.
Please provide if there are any other means to connect.
Thanks! It works for me.
ReplyDeleteThanks its work.
ReplyDelete