Find the answer to your Linux question:
Results 1 to 2 of 2
I have Ubuntu on my laptop, and use modem USB Tmobile E220 huawei to connect to internet. But I failed anyway. when I type command "wvdialconf", show like this budi@ubuntu:~$ ...
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    1

    my modem Hanging up

    I have Ubuntu on my laptop, and use modem USB Tmobile E220 huawei to connect to internet. But I failed anyway.
    when I type command "wvdialconf", show like this

    budi@ubuntu:~$ wvdialconf
    Editing `/etc/wvdial.conf'.

    Scanning your serial ports for a modem.

    Modem Port Scan<*1>: S0 S1 S2 S3
    WvModem<*1>: Cannot get information for serial port.
    ttyUSB0<*1>: ATQ0 V1 E1 -- OK
    ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
    ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
    ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
    ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
    ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
    ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: huawei
    ttyUSB0<*1>: Speed 9600: AT -- OK
    ttyUSB0<*1>: Max speed is 9600; that should be safe.
    ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
    WvModem<*1>: Cannot get information for serial port.
    ttyUSB1<*1>: ATQ0 V1 E1 -- OK
    ttyUSB1<*1>: ATQ0 V1 E1 Z -- OK
    ttyUSB1<*1>: ATQ0 V1 E1 S0=0 -- OK
    ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
    ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
    ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
    ttyUSB1<*1>: Modem Identifier: ATI -- Manufacturer: huawei
    ttyUSB1<*1>: Speed 9600: AT -- OK
    ttyUSB1<*1>: Max speed is 9600; that should be safe.
    ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

    Found a modem on /dev/ttyUSB0.
    Modem configuration written to /etc/wvdial.conf.
    ttyUSB0<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
    ttyUSB1<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

    Can anyone help me please.....?


    When I run ¨wvdial¨, show message like below

    --> 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.
    --> 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
    --> Carrier detected. Starting PPP immediately.
    --> Starting pppd at Fri Jan 16 08:20:28 2009
    --> Pid of pppd: 7222
    --> Using interface ppp0
    --> pppd: `[15]�[08][10][18]�[08]
    --> pppd: `[15]�[08][10][18]�[08]
    --> pppd: `[15]�[08][10][18]�[08]
    --> pppd: `[15]�[08][10][18]�[08]
    --> pppd: `[15]�[08][10][18]�[08]
    --> Disconnecting at Fri Jan 16 08:20:30 2009
    --> 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.

    On my ¨wvdial.conf¨, type like this

    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Stupid Mode = 1
    Modem Type = Analog Modem
    ISDN = 0
    Phone = *99#
    New PPPD = yes
    Modem = /dev/ttyUSB0
    Username = XXX
    Password = XXX
    Baud = 9600

  2. #2
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    So all know, this is a cellular phone connected to T-mobile service. *99# is the dial code to T-mobile's Internet service that takes minutes off your plan... The unlimited plan number is *99***2# (last I checked).

    If you're connecting then it's dropping, it sounds like a authentication error on their end. I'd consult T-mobile's customer service to make sure your settings are correct and your service is built correctly. We want to make sure the problem really is on your end and not their's before we go ballistic here.

    ---

    A couple of pages that may be of use to you:

    Ross Barkman's GPRS/UMTS Info Page
    T-mobile Wireless Configurator
    Last edited by D-cat; 01-16-2009 at 02:09 AM. Reason: Adding content

Posting Permissions

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