Tuesday, February 24, 2009

Connect your BSNL-EVDO modem to Linux

Hi all,
here is how can u connect ur BSNL-EVDO.
  • Connect ur device to usb port.
  • Open terminal & type lsusb. It will show all connected device to ur system via usb.
  • The out put will be:
  • Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 062a:0000 Creative Labs Optical mouse
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 003: ID 05c6:3197 Qualcomm, Inc. CDMA Wireless Modem/Phone
    Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  • 6th line is my modem. U too will find ur device listed, if not try again or check connection
  • Log in as root user using su command.
  • Now type modprobe usbserial vendor=05c6 product=3197
  • Next insert wvdialconf
  • Now modify the wvdial.conf file:
    vim /etc/wvdial.conf
  • Del the content of file, Jus copy & paste the following:
  • [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Stupid Mode = 1
    Modem Type = Analog Modem
    ISDN = 0
    Phone = #777
    New PPPD = yes
    Modem = /dev/ttyUSB0
    Username = xxxxxxx
    Password = xxxxxxx
    Baud = 460800
  • Verify username, password & phone number from ur service provider.
  • Now u have finished ur configuration, any time u want to connect ur device, plugin the device-open terminal and key in sudo wvdial
Note: U can connect to other dial up devices by making minor changes & giving corresponding phone number, username & password in the wvdial.conf file

No comments:

Post a Comment