Tuesday, September 27, 2011

Using reliance datacard in Ubuntu

1. Edit the file /etc/wvdial.conf and paste the following code.

    [Modem0]
    Modem = /dev/ttyUSB0
    Baud = 115200
    SetVolume = 0
    Dial Command = ATDT
    Init1 = ATZ
    Init2 = AT+CRM=1
    FlowControl = Hardware (CRTSCTS)
    
    [Dialer RIL]
    Phone = #777
    Username = 9322305547
    Password = 9322305547
    Stupid Mode = 1
    Inherits = Modem0

2. Create a file /home/<username>/.ril and put the following code in the file

    modprobe usbserial vendor=0x12d1 product=0x1001
    wvdial RIL

3. Change the file permission for .ril

    chmod 777 .ril

4. Execute the command ./.ril from the home directory.

No comments: