Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Huawei E372 mobile broadband

  1. #1
    Join Date
    Apr 2007
    Location
    center of the world
    Beans
    11
    Distro
    Ubuntu 9.10 Karmic Koala

    Huawei E372 mobile broadband

    Hello!

    Any idea how I can get the huawei e372 to be recognized by ubuntu 11.04, so i can connect to the internet?

  2. #2
    Join Date
    Apr 2011
    Location
    Sweden
    Beans
    7
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Huawei E372 mobile broadband

    Hi

    Maybe this will work for you, my Huawei E367 was only discovered as a storage device in 11.04, though it worked perfectly in 10.10

    After you connected your modem, run "lsusb" in a terminal and look for the huawei line. notice the xxxx:yyyy numbers

    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 002: ID 1d57:2400
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 007: ID 12d1:1506 Huawei Technologies Co., Ltd.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    enter:
    sudo modprobe usbserial vendor=0x12d1 product=0x1506 (replace with your numbers)

    run "dmesg" and see if you get any TTY messages

    usb 1-2: generic converter now attached to ttyUSB1
    usbserial_generic 1-2:1.3: generic converter detected
    usb 1-2: generic converter now attached to ttyUSB2


    If you get similar result, the modem will be discovered in network manager (you have to enable "Enable Mobile Broadband" in the GUI)
    /Mats

  3. #3
    Join Date
    Oct 2008
    Beans
    82

    Re: Huawei E372 mobile broadband

    Quote Originally Posted by Matbro View Post
    Hi

    Maybe this will work for you, my Huawei E367 was only discovered as a storage device in 11.04, though it worked perfectly in 10.10

    After you connected your modem, run "lsusb" in a terminal and look for the huawei line. notice the xxxx:yyyy numbers

    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 002: ID 1d57:2400
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 007: ID 12d1:1506 Huawei Technologies Co., Ltd.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    enter:
    sudo modprobe usbserial vendor=0x12d1 product=0x1506 (replace with your numbers)

    run "dmesg" and see if you get any TTY messages

    usb 1-2: generic converter now attached to ttyUSB1
    usbserial_generic 1-2:1.3: generic converter detected
    usb 1-2: generic converter now attached to ttyUSB2


    If you get similar result, the modem will be discovered in network manager (you have to enable "Enable Mobile Broadband" in the GUI)
    /Mats

    having same issue and didnt get the TTY mesages, my lsusb is:
    Bus 002 Device 007: ID 12d1:1505 Huawei Technologies Co., Ltd.

    and ran the command modprobe usbserial vendor=0x12d1 product=0x1505 as root but no luck

    any other advises?

  4. #4
    Join Date
    Oct 2010
    Location
    uk
    Beans
    247
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Huawei E372 mobile broadband

    you could try this script it has always worked for me when the modem hasn't been detected properly it contains everything needed for mobile broadband

    Sakis3g

    just run it as

    Code:
    ./sakis3g --interactive
    The best things in life are free

  5. #5
    Join Date
    Oct 2008
    Beans
    82

    Re: Huawei E372 mobile broadband

    Thanks, but this solution solved it for me http://www.santinoli.com/open/e1692-howto.html

    i just updated the numbers, so my usb_modeswitch.conf looks like this:
    Code:
    # Configuration for the usb_modeswitch package, a mode switching tool for
    # USB devices providing multiple states or modes
    #
    # This file is evaluated by the wrapper script "usb_modeswitch_dispatcher"
    # in /usr/sbin
    # To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
    # Everything else counts as "disable"
    
    
    # Disable automatic mode switching globally (e.g. to access the original
    # install storage)
    
    DisableSwitching=0
    
    
    # Enable logging (results in a extensive report file in /var/log, named
    # "usb_modeswitch_<interface-name>" (and probably others)
    
    EnableLogging=1
    
    # Huawei E372
    DefaultVendor=  0x12d1
    DefaultProduct= 0x1505
    
    TargetVendor=   0x12d1
    TargetProduct=  0x140c
    
    MessageContent="55534243000000000000000000000011060000000000000000000000000000"
    
    CheckSuccess=5
    then i run usb_modeswitch -c /etc/usb_modeswitch.conf

    of course before that need to install usb_modeswitch using apt-get install usb-modeswitch

    Thanks

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

    Re: Huawei E372 mobile broadband

    Quote Originally Posted by Tomas_L View Post
    excuse me, where can i pick the unlocked already E372 HUAWEI dongle? is there any1 take from mobile2wifi.co.uk? how about that?
    unlock modems at own risk . can have a look here there is a bit about a Huawie device

    http://www.pcurtis.com/ubuntu-mobile.htm ; if it goes wrong : Tuff
    Two tin cans are better than an iphone

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

  7. #7
    Join Date
    Oct 2008
    Beans
    82

    Re: Huawei E372 mobile broadband

    Quote Originally Posted by Bashar " View Post
    Thanks, but this solution solved it for me http://www.santinoli.com/open/e1692-howto.html

    i just updated the numbers, so my usb_modeswitch.conf looks like this:
    Code:
    # Configuration for the usb_modeswitch package, a mode switching tool for
    # USB devices providing multiple states or modes
    #
    # This file is evaluated by the wrapper script "usb_modeswitch_dispatcher"
    # in /usr/sbin
    # To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
    # Everything else counts as "disable"
    
    
    # Disable automatic mode switching globally (e.g. to access the original
    # install storage)
    
    DisableSwitching=0
    
    
    # Enable logging (results in a extensive report file in /var/log, named
    # "usb_modeswitch_<interface-name>" (and probably others)
    
    EnableLogging=1
    
    # Huawei E372
    DefaultVendor=  0x12d1
    DefaultProduct= 0x1505
    
    TargetVendor=   0x12d1
    TargetProduct=  0x140c
    
    MessageContent="55534243000000000000000000000011060000000000000000000000000000"
    
    CheckSuccess=5
    then i run usb_modeswitch -c /etc/usb_modeswitch.conf

    of course before that need to install usb_modeswitch using apt-get install usb-modeswitch

    Thanks

    just to note after upgrading to 11.10 the device works out of the box without the need of the abve.

    for those who might read this in future

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

    Re: Huawei E372 mobile broadband

    Quote Originally Posted by Tomas_L View Post
    any body has used the E586 huawei wifi router? does it works for Ubuntu system?
    have started a new thread here

    E586 huawei (mobile wifi router )

    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
    Feb 2012
    Beans
    3

    Re: Huawei E372 mobile broadband

    Quote Originally Posted by Bashar " View Post
    Thanks, but this solution solved it for me http://www.santinoli.com/open/e1692-howto.html

    i just updated the numbers, so my usb_modeswitch.conf looks like this:
    Code:
    # Configuration for the usb_modeswitch package, a mode switching tool for
    # USB devices providing multiple states or modes
    #
    # This file is evaluated by the wrapper script "usb_modeswitch_dispatcher"
    # in /usr/sbin
    # To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
    # Everything else counts as "disable"
    
    
    # Disable automatic mode switching globally (e.g. to access the original
    # install storage)
    
    DisableSwitching=0
    
    
    # Enable logging (results in a extensive report file in /var/log, named
    # "usb_modeswitch_<interface-name>" (and probably others)
    
    EnableLogging=1
    
    # Huawei E372
    DefaultVendor=  0x12d1
    DefaultProduct= 0x1505
    
    TargetVendor=   0x12d1
    TargetProduct=  0x140c
    
    MessageContent="55534243000000000000000000000011060000000000000000000000000000"
    
    CheckSuccess=5
    then i run usb_modeswitch -c /etc/usb_modeswitch.conf

    of course before that need to install usb_modeswitch using apt-get install usb-modeswitch

    Thanks

    Hey all,

    I work with a phidgets single board computer which runs a stripped down version of debian and am trying to install a huawei E 372 modem. I however
    cannot get the modem to connect. I have tried using usbserial and usbmodeswitch but could not get it to work. Below are screen dumps describing whaat I have tried so far. Heres what I did:

    vendor/product id's from lsusb

    root@phidgetsbc:/# lsusb
    Bus 001 Device 004: ID 12d1:1505 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
    Bus 001 Device 003: ID 06c2:0045 Phidgets Inc. (formerly GLAB) PhidgetInterface Kit 8-8-8
    Bus 001 Device 002: ID 0451:2077 Texas Instruments, Inc. TUSB2077 Hub

    I then ran this command:

    modprobe usbserial vendor=0x12d1 product=0x1505

    The following are the new lines from dmesg

    usbserial: Unknown parameter `vendor'
    usbserial: Unknown parameter `vendor'
    usbcore: registered new interface driver usbserial
    usbserial: USB Serial Driver core

    Any idea why this could be happening?



    I then tried another approach by trying to 'switch' the modem using usb_modeswitch. This failed with the following terminal output:

    root@phidgetsbc:/# usb_modeswitch -c /usr/usbmode/usb-modeswitch-1.2.3/usb_modeswitch.conf
    Looking for target devices ...
    No devices in target mode or class found
    Looking for default devices ...
    found matching product ID
    adding device
    Found device in default mode, class or configuration (1)
    Accessing device 004 on bus 001 ...
    Getting the current device configuration ...
    OK, got current device configuration (1)
    Using first interface: 0x00
    Using endpoints 0x01 (out) and 0x81 (in)
    Inquiring device details; driver will be detached ...
    Looking for active driver ...
    OK, driver found ("usb-storage")
    OK, driver "usb-storage" detached

    SCSI inquiry data (for identification)
    -------------------------
    Vendor String: HUAWEI
    Model String: Mass Storage
    Revision String: 2.31
    -------------------------

    USB description data (for identification)
    -------------------------
    Manufacturer: Huawei Technologies
    Product: HUAWEI Mobile
    Serial No.: not provided
    -------------------------
    Setting up communication with interface 0
    Using endpoint 0x01 for message sending ...
    Trying to send message 1 to endpoint 0x01 ...
    OK, message successfully sent
    Resetting response endpoint 0x81
    Could not reset endpoint (probably harmless): -62
    Resetting message endpoint 0x01
    Could not reset endpoint (probably harmless): -62
    Device is gone, skipping any further commands

    Checking for mode switch (max. 5 times, once per second) ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    No new devices in target mode or class found

    Mode switch has failed. Bye.


    Here are the new lines from dmesg after trying to switch the modem with usb-modeswitch.

    usb 1-1.5: usbfs: process 1710 (usb_modeswitch) did not claim interface 0 before use
    usb 1-1.5: USB disconnect, device number 4
    usb 1-1.5: new full speed USB device number 5 using s3c2410-ohci
    usb 1-1.5: New USB device found, idVendor=12d1, idProduct=14ac
    usb 1-1.5: New USB device strings: Mfr=3, Product=2, SerialNumber=0
    usb 1-1.5: Product: HUAWEI Mobile
    usb 1-1.5: Manufacturer: Huawei Technologies
    scsi2 : usb-storage 1-1.5:1.4
    scsi3 : usb-storage 1-1.5:1.5
    scsi 2:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
    scsi 3:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2
    sd 3:0:0:0: [sda] Attached SCSI removable disk


    I hope this clears things up a bit. Theres probably something here that im just not seeing. Any help is greatly appreciated!

    BTW I was able to install the modem on a desktop computer running debian. I also tried using the sakis3g script but this did not work either.

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

    Re: Huawei E372 mobile broadband

    can post results of these commands from the terminal, locate the lines which indicate the device and post only those lines

    Code:
    usb-devices
    or
    Code:
    lsusb -t
    and
    Code:
    lsusb -v
    alexfish
    Two tin cans are better than an iphone

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

Page 1 of 2 12 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
  •