Find the answer to your Linux question:
Results 1 to 3 of 3
Please help. I am connecting using data cable on Airtel and wvdial.conf looks like that [Dialer Defaults] Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Modem Type = USB ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2008
    Location
    Delhi, India
    Posts
    72

    [SOLVED] Please help in setting up Airtel MobileOffice


    Please help. I am connecting using data cable on Airtel and wvdial.conf looks like that

    [Dialer Defaults]
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = USB Modem
    Phone = *99#
    ISDN = 0
    Username = none
    Init1 = ATZ
    Password = none
    Modem = /dev/ttyACM0
    Baud = 46080
    stupid mode = 1
    But when I try to connect I get the following message in terminal

    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT
    ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
    --> Carrier detected. Starting PPP immediately.
    --> Starting pppd at Fri Jul 18 12:30:44 2008
    --> Pid of pppd: 5719
    --> pppd: �[06][08]H�[06][08]
    --> Using interface ppp0
    --> pppd: �[06][08]H�[06][08]
    --> pppd: �[06][08]H�[06][08]
    --> pppd: �[06][08]H�[06][08]
    --> pppd: �[06][08]H�[06][08]
    --> pppd: �[06][08]H�[06][08]
    --> pppd: �[06][08]H�[06][08]
    --> pppd: ��[06][08]H�[06][08]
    --> pppd: ��[06][08]H�[06][08]
    --> Disconnecting at Fri Jul 18 12:30:51 2008
    --> The PPP daemon has died: A modem hung up the phone (exit code = 16)
    --> man pppd explains pppd error codes in more detail.
    --> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
    --> Auto Reconnect will be attempted in 5 seconds
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    --> Sending: ATQ0
    --> Re-Sending: ATZ
    --> Modem not responding.
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    --> Sending: ATQ0
    --> Re-Sending: ATZ
    --> Modem not responding.
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    --> Sending: ATQ0
    --> Re-Sending: ATZ
    --> Modem not responding.
    --> Disconnecting at Fri Jul 18 12:31:13 2008
    The result is same for Ubuntu, Fedora and OpenSuse

  2. #2
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    Does the system recognize it as a modem? Is the proper driver loading?

    Enter this command in a terminal, and post the output here:
    Code:
    lsusb
    You can also check the output of this command, after inserting the modem into a USB port:
    Code:
    dmesg
    This will output system messages. To view the messages live, as they happen, use this command. You will need to be root, so use su or sudo;
    Code:
    tail -f /var/log/messages
    Make note of the port it is assigning to the modem, such as 'ttyUSB0' or similar.
    Please do not send Private Messages to me with requests for help. I will not reply.

  3. #3
    Just Joined!
    Join Date
    Jul 2008
    Location
    Delhi, India
    Posts
    72
    Yes it was being recognised as a modem, and even connectionn was made. But it disconnected just after connecting. After 3 days of hard work, I found the solution. Editing the wvdial file as following worked.

    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Init3 = AT+CGDCONT=1,"IP","airtelgprs.com"
    Modem Type = USB Modem
    FlowControl = Hardware(CRTSCTS)
    Dial Command = ATDT
    SetVolume=0
    Baud = 460800
    New PPPD = yes
    Modem = /dev/ttyACM0
    Inherits = Modem0
    ISDN = 0
    Phone = *99***1#
    Mode = 1
    Password = b
    Ask Password = 0
    Username = a
    stupid mode = 1
    Compuserve = 0
    Idle Seconds = 2000
    Auto DNS = 1

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •