Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Configuring Huawei E173 on Natty

  1. #1
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Configuring Huawei E173 on Natty

    Where can I find details of how to set up a Huawei E173 on Natty?

    The network interface's status icon shows first "waiting for authorization" then it goes to "not connected"

    The modem hardware is showing up when it is plugged in:
    Code:
    $ ls -la /dev/ttyUSB*
    crw-rw---- 1 root dialout 188, 0 2011-04-28 19:18 /dev/ttyUSB0
    crw-rw---- 1 root dialout 188, 1 2011-04-28 19:18 /dev/ttyUSB1
    crw-rw---- 1 root dialout 188, 2 20$ lsusb|grep Huawei
    
    Bus 001 Device 013: ID 12d1:1436 Huawei Technologies Co., Ltd. 
    11-04-28 19:18 /dev/ttyUSB2
    What needs to be done to get it working?
    Last edited by Lars Noodén; April 29th, 2011 at 09:30 AM.

  2. #2
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Not connected

    Except for a brief time, once so far, the network interface icon always shows the modem being 'not connected' The modem connects ok in OS X. In kubuntu, it gets as far as 'preparing to connect' and the drops back to being 'not connected'

  3. #3
    Join Date
    Oct 2009
    Location
    A world without windows
    Beans
    Hidden!

    Re: Configuring Huawei E173 on Natty

    Hi

    I have not upgraded to Natty so not sure if all commands to list the device will work

    but can start by looking up the device with the usb-devices command
    Code:
    usb-devices
    post the results

    of note from the listings
    $ ls -la /dev/ttyUSB*
    crw-rw---- 1 root dialout 188, 0 2011-04-28 19:18 /dev/ttyUSB0
    crw-rw---- 1 root dialout 188, 1 2011-04-28 19:18 /dev/ttyUSB1
    crw-rw---- 1 root dialout 188, 2 20$ lsusb|grep Huawei

    Bus 001 Device 013: ID 12d1:1436 Huawei Technologies Co., Ltd.
    11-04-28 19:18 /dev/ttyUSB2
    Need to ask if at any stage, did you disconnect the device whilst issuing the commands

    can see if the nm-tool command works
    Code:
    nm-tool
    only post the results applicable to the device

    alexfish
    Last edited by alexfish; April 30th, 2011 at 03:02 PM. Reason: typo
    Two tin cans are better than an iphone

    http://www.ehow.co.uk/how_2067160_ma...hone.html?cr=1

  4. #4
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    usb-devices, lsusb, nm-tool

    $ usb-devices
    ...
    T: Bus=02 Lev=03 Prnt=05 Port=03 Cnt=02 Dev#= 34 Spd=480 MxCh= 0
    D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
    P: Vendor=12d1 ProdID=1436 Rev=00.00
    S: Manufacturer=HUAWEI Technology
    S: Product=HUAWEI Mobile
    C: #Ifs= 7 Cfg#= 1 Atr=e0 MxPwr=500mA
    I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
    I: If#= 1 Alt= 0 #EPs= 1 Cls=02(commc) Sub=06 Prot=ff Driver=(none)
    I: If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
    I: If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
    I: If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
    I: If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
    I: If#= 6 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
    ...

    $ lsusb
    ...
    Bus 002 Device 036: ID 12d1:1436 Huawei Technologies Co., Ltd.
    ...

    $ nm-tool
    ...
    - Device: ttyUSB0 --------------------------------------------------------------
    Type: Mobile Broadband (GSM)
    Driver: option1
    State: disconnected
    Default: no

    Capabilities:
    ...

  5. #5
    Join Date
    Oct 2009
    Location
    A world without windows
    Beans
    Hidden!

    Re: Configuring Huawei E173 on Natty

    Hi

    everything seem ok at kernel level (with exeption of other ports . it seems to have alternate interface ) does it have wifi connection abilities.
    looks as if Network Manager is selecting the correct port
    I am assuming the Network Manager details are correct (double check )
    if the details are correct, then so not sure problem with modem-manager or the pppd

    can monitor the syslog to see if any thing shows (with reference to the message "waiting for authorization"). can check the the authentication (in NM ,PPP settings)
    can post the results of
    Code:
    egrep -v '#|^ *$' /etc/ppp/options
    can suggest installing Sakis3g

    http://www.sakis3g.org/

    see what happens

    alexfish
    Last edited by alexfish; April 30th, 2011 at 04:19 PM.
    Two tin cans are better than an iphone

    http://www.ehow.co.uk/how_2067160_ma...hone.html?cr=1

  6. #6
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    /etc/ppp/options

    $ egrep -v '#|^ *$' /etc/ppp/options
    asyncmap 0
    noauth
    crtscts
    lock
    hide-password
    modem
    lcp-echo-interval 30
    lcp-echo-failure 4
    noipx

  7. #7
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    /etc/syslog

    There's a lot happening in syslog when the networking manager tries to connect, about 100 lines worth.

    Code:
    Apr 30 18:23:17 kubuntu NetworkManager[890]: <warn> GSM connection failed: (32) Unknown registration status response

  8. #8
    Join Date
    Oct 2009
    Location
    A world without windows
    Beans
    Hidden!

    Re: Configuring Huawei E173 on Natty

    Hi

    going to try and connect this device via the terminal, but first require some info about the modem

    allow time for the system to settle (let modem manager finish it's probing)

    open up a terminal and enter the follow code

    Code:
    tr -s "\n" < /dev/ttyUSB0
    open up the second terminal and enter the following commands , the results should appear in the first terminal

    Code:
    echo -e "ATZ\r" > /dev/ttyUSB0
    
    echo -e "AT+CREG?\r" > /dev/ttyUSB0
    
    echo -e "AT+CGDCONT?\r" > /dev/ttyUSB0
    
    echo -e "AT+COPS=0,2\r" > /dev/ttyUSB0
    
    echo -e "AT+COPS?\r" > /dev/ttyUSB0
    post the results from the first terminal

    alexfish
    Two tin cans are better than an iphone

    http://www.ehow.co.uk/how_2067160_ma...hone.html?cr=1

  9. #9
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    results of AT+

    Quote Originally Posted by alexfish View Post
    post the results from the first terminal
    I added echo -e "ATI\r" > /dev/ttyUSB0

    Code:
    OK
    AT+CREG?
    ERROR
    AT+CGDCONT?
    ERROR
    AT+COPS=0,2
    ERROR
    ATI
    Manufacturer: huawei
    Model: E173
    Revision: 11.126.83.00.00
    IMEI: 352215049114778
    +GCAP: +CGSM,+DS,+ES
    It's been a long time since I worked with modems.
    Last edited by Lars Noodén; April 30th, 2011 at 05:12 PM.

  10. #10
    Join Date
    Oct 2009
    Location
    A world without windows
    Beans
    Hidden!

    Re: Configuring Huawei E173 on Natty

    Does the modem have a pin code

    check the sim pin stat

    Code:
    echo -e "AT+CPIN?\r" > /dev/ttyUSB1
    Two tin cans are better than an iphone

    http://www.ehow.co.uk/how_2067160_ma...hone.html?cr=1

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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