BSNL EVDO (EV-DO) and Ubuntu Gutsy

BSNL launched EV-DO card last year here in India. It connects to the Internet providing close to broadband speeds. Their infrastructure has been improving gradually here and the news is that it would support speeds upto 2mbps by the end of this month.
The coverage is particularly good in Bengaluru. Even more impressive is the tariff for the device which amounts to just Rs 500 + taxes each month for unlimited usage (This is much better than the Airtel GPRS on mobile for Internet connectivity outside office). The security deposit is around Rs 1000/- and the rental of the device amounts to Rs 200 each month.
The best thing is that it also works under Linux! [:http://platonic.techfiz.info/|Shiv has a detailed and useful blog post] on how to configure it on Ubuntu Gutsy. I remember someone posting on the ubuntu-in list asking about this.
Ever since I purchased the BSNL EVDO I had tried on several occasions, but was unsuccessful in getting it working on Ubuntu. Looks like the right connection strings with Stupid Mode = 1 does the job. (All these details and work around is thanks to Shiv - who spent a lot of time reading up and hacking through the device on my request).
Since my device is working fine now and since Om's write-up is rather exhaustive on details, below's the summary of what got it working on my hp nx notebook:
1. The first step was to get the /proc/bus/usb working on Ubuntu.
(Several blog posts discussing the CDMA cards mention this, but do not tell you that it is missing on Ubuntu! It is a symlink to mounted usb filesystem/device).
All I had to do to get this running was to remove the comment on the below lines in /etc/init.d/mountdevsubfs.sh:
#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb
2. The device when plugged in is listed by lsusb. Mine wasn't listed. The below code rectified this:
modprobe usbserial vendor=0x05c6 product=0x6000
3. The next thing was the configuration file with connection strings. The configuration posted by Shiv on his blog worked perfectly for me.
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = #777
Modem = /dev/ttyUSB0
Username =
Password =
Baud = 460800
Stupid Mode = 1
(username and password is the same in BSNL's case - the 8 digit number allocated to the device)
firing up wvdial then dials in and provides quite impressive speeds. [:http://platonic.techfiz.info/2008/03/04/hacking-bsnl-evdo-on-linux/|Thanks again to Shiv for the tip] and also thanks to the Ukranian blog post that served as the only guide until now to ZTE AC8700 800M Modem provided by BSNL. That Live Journal blog talks about exactly the same device offered there in Ukrain by Peoplenet.
- Add new comment
- 9405 reads

















Comments
Hi,
Any idea about availability of EVDO in Mysore.
Regards
ARAVINDA
Not very sure about Mysore. The last time I took this device there, none of the places I visited had the signal.
I have reliance netconnect and works fine on my ubuntu. But is not even near to broadband speed.
BSNL EVDO is nice when it comes to speed. Heard that they're upgrading it to 1Mbps soon. And what more, the service will be available in rest of Karnataka as well. BSNL reaches even the rural areas, which is good. :-)
thanks. this was useful. one additional step in case your linux box does not create the /dev/tty* entries
by default.
unload the usbserial module via a "modprobe -r usbserial" followed by a modprobe. this should
create the ttyUSB* device entries.
~muralin
btw ... username/passwd in my case was cdma/cdma
Hey, btw is the vendor id and product id the same for all bsnl evdo data cards.??? If not plzz tell me a method to find them.!!
Thanks for the blog . It has helped a lot!!!
Hi Hari Prasad,
Am Santosh SB from Chennai. I recently upgraded my ubuntu from version 9.04 to 9.10 karmic kola on my Acer Aspire laptop. We recently bought BSNL EV-Do data card and I tried using it on my ubuntu which apparently failed.
I did not install any drivers. I just plugged in the device to my laptop and it automatically detected the card and the mobile broadband config dialog box opened. I tried configuring it by providing all the required info like username and password.
But still the data card did not work. I am totally a non-techi guy. Could you please help me in this regard please. I read the post above but I couldn't understand anything to be frank. I tried opening /etc/init.d/mountdevsubfs.sh file but such file was not there on the specified folder. Please help me in this regard. I could see many sites trying to provide solution for this but nothing in clear to me. Please help.
Thanks a lot. Awaiting your early reply.
Santosh SB
santoshannamalai@gmail.com
santoshannamalai.in