Wednesday, January 23, 2008

BSNL EVDO on GNU/Linux

The BSNL has launched EV-DO based wireless broadband all over India and become the first EVDO service provider in India.

I have successfully connected GNU/Linux system to Internet using this service. The system used is a laptop Acer Aspire 5573 with Fedora core -8. The procedure is described below. The procedure given is very brief, I will expand it once time permits.

  1. Ensure your EVDO connection is activated by BSNL. You will be provided with a user name of 10 integer size and a password of 4 integer size.

  2. Connect the EVDO data-card to one of the USB port of your system. You can ensure the device availability by the command

    $ lsusb

    The EV-DO USB data card provided by BSNL is manufactured by ZTE Corporation. However when this device is probed using lsusb command, the device vendor will be shown as Qualcomm.

  3. The device file of this card will be ttyUSB0. It this device is not created automatically, you can create it with following command with root privilege .

    $ modprobe usbserial vendor=0x05c6 product=0x6000

  4. You can verify the success of the operation usin g

    $ dmesg

    If device is detected properly, the output message will contain some thing like following line

    usbserial_generic 2-2:1.0: generic converter detected

    usb 2-2: generic converter now attached to ttyUSB0

    usbserial_generic 2-2:1.1: generic converter detected

    usb 2-2: generic converter now attached to ttyUSB1

    usbserial_generic 2-2:1.2: generic converter detected

    usb 2-2: generic converter now attached to ttyUSB2

  5. Now you EVDO set-up ready. You can connect to Internet by setting up a ppp dial up connection with following details. (I have used kppp)

    Modem device : /dev/ttyUSB0
    Connection baud rate : Up to 921600
    Dail to : #777
    Username and password : As provided by BSNL.

  6. To automate the device detection add a new udev rule to your system.

    Open a file ‘70_bsnl_evdo’ in /etc/udev/rules.d directory and add following content in single line.

    ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="6000" RUN+="/sbin/modprobe usbserial vendor=0x05c6 product=0x6000"


For further details, post your queries as comments.

- Anil