Results 1 to 10 of 23

Thread: Huawei E1820 + Ubuntu 10.04 64-bit

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    Finland
    Beans
    13
    Distro
    Ubuntu 9.10 Karmic Koala

    Huawei E1820 + Ubuntu 10.04 64-bit

    Hi!

    So I bought this mobile broadband, and it has been quite difficult to get working. Suddenly it has stopped working completely.

    Here's what I did:

    I put the huawei stick to computer, nothing happened. Ubuntu did not recognize it as a modem (I guess, but I don't know).

    So I googled a bit and then after several suggestions I installed the package "usb-modeswitch" via synaptic. I didn't know actually how to use it, but after several commands and plugging the huawei off and on several times, I got it working. I think it worked after the command
    Code:
    sudo usb_modeswitch -v 12d1 -p 14ac -R
    .

    Everything was fine for a week. Suddenly, after several reboots, it stops working. I try again the command
    Code:
    sudo usb_modeswitch -v 12d1 -p 14ac -R
    , but it doesn't work. When I try to issue an connection via network-manager, the network-manager applets animation does NOT appear, and instantly it gives me "GSM network - disconnected". So it doesn't even try, or something...

    So it seems ubuntu recognizes it as a modem (or I don't know, I'm a noob. ), but somehow it just doesn't work.. I'm really out of ideas...

    Here's lsusb:

    Code:
    Bus 001 Device 004: ID 12d1:14ac Huawei Technologies Co., Ltd.
    And here's lsusb -v:

    Code:
    Bus 001 Device 008: ID 12d1:14ac Huawei Technologies Co., Ltd. 
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               2.00
      bDeviceClass            0 (Defined at Interface level)
      bDeviceSubClass         0 
      bDeviceProtocol         0 
      bMaxPacketSize0        64
      idVendor           0x12d1 Huawei Technologies Co., Ltd.
      idProduct          0x14ac 
      bcdDevice            0.00
      iManufacturer           3 
      iProduct                2 
      iSerial                 0 
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength          161
        bNumInterfaces          6
        bConfigurationValue     1
        iConfiguration          1 
        bmAttributes         0xc0
          Self Powered
        MaxPower              500mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           3
          bInterfaceClass       255 Vendor Specific Class
          bInterfaceSubClass    255 Vendor Specific Subclass
          bInterfaceProtocol    255 Vendor Specific Protocol
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               5
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x82  EP 2 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x01  EP 1 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        1
          bAlternateSetting       0
          bNumEndpoints           3
          bInterfaceClass       255 Vendor Specific Class
          bInterfaceSubClass    255 Vendor Specific Subclass
          bInterfaceProtocol    255 Vendor Specific Protocol
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x83  EP 3 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               5
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x84  EP 4 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x02  EP 2 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        2
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass       255 Vendor Specific Class
          bInterfaceSubClass    255 Vendor Specific Subclass
          bInterfaceProtocol    255 Vendor Specific Protocol
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x85  EP 5 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x03  EP 3 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        3
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass       255 Vendor Specific Class
          bInterfaceSubClass    255 Vendor Specific Subclass
          bInterfaceProtocol    255 Vendor Specific Protocol
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x86  EP 6 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x04  EP 4 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval              32
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        4
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass         8 Mass Storage
          bInterfaceSubClass      6 SCSI
          bInterfaceProtocol     80 Bulk (Zip)
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x87  EP 7 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval               0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x05  EP 5 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval               0
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        5
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass         8 Mass Storage
          bInterfaceSubClass      6 SCSI
          bInterfaceProtocol     80 Bulk (Zip)
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x06  EP 6 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval               0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x88  EP 8 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0200  1x 512 bytes
            bInterval               0
    can't get device qualifier: Operation not permitted
    can't get debug descriptor: Operation not permitted
    cannot read device status, Operation not permitted (1)
    Here's dmesg when plugging in:


    [
    Code:
     3434.940044] usb 1-6: new high speed USB device using ehci_hcd and address 5
    [ 3435.093078] usb 1-6: configuration #1 chosen from 1 choice
    [ 3435.096352] scsi10 : SCSI emulation for USB Mass Storage devices
    [ 3435.096562] usb-storage: device found at 5
    [ 3435.096565] usb-storage: waiting for device to settle before scanning
    [ 3435.096791] scsi11 : SCSI emulation for USB Mass Storage devices
    [ 3435.096987] usb-storage: device found at 5
    [ 3435.096989] usb-storage: waiting for device to settle before scanning
    [ 3435.620110] usb 1-6: USB disconnect, address 5
    [ 3440.120049] usb 1-6: new high speed USB device using ehci_hcd and address 6
    [ 3440.273092] usb 1-6: configuration #1 chosen from 1 choice
    [ 3440.277513] option 1-6:1.0: GSM modem (1-port) converter detected
    [ 3440.277774] usb 1-6: GSM modem (1-port) converter now attached to ttyUSB0
    [ 3440.278070] option 1-6:1.1: GSM modem (1-port) converter detected
    [ 3440.278297] usb 1-6: GSM modem (1-port) converter now attached to ttyUSB1
    [ 3440.278543] option 1-6:1.2: GSM modem (1-port) converter detected
    [ 3440.278737] usb 1-6: GSM modem (1-port) converter now attached to ttyUSB2
    [ 3440.279089] option 1-6:1.3: GSM modem (1-port) converter detected
    [ 3440.279413] usb 1-6: GSM modem (1-port) converter now attached to ttyUSB3
    [ 3440.279846] scsi12 : SCSI emulation for USB Mass Storage devices
    [ 3440.281791] usb-storage: device found at 6
    [ 3440.281794] usb-storage: waiting for device to settle before scanning
    [ 3440.281826] scsi13 : SCSI emulation for USB Mass Storage devices
    [ 3440.282133] usb-storage: device found at 6
    [ 3440.282135] usb-storage: waiting for device to settle before scanning
    [ 3445.284012] usb-storage: device scan complete
    [ 3445.284247] usb-storage: device scan complete
    [ 3445.285744] scsi 13:0:0:0: Direct-Access     HUAWEI   TF CARD Storage       PQ: 0 ANSI: 2
    [ 3445.287172] sd 13:0:0:0: Attached scsi generic sg3 type 0
    [ 3445.287360] scsi 12:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
    [ 3445.293235] sd 13:0:0:0: [sdc] Attached SCSI removable disk
    [ 3445.295723] sr1: scsi-1 drive
    [ 3445.296166] sr 12:0:0:0: Attached scsi CD-ROM sr1
    [ 3445.296389] sr 12:0:0:0: Attached scsi generic sg4 type 5
    [ 3456.316985] ISO 9660 Extensions: Microsoft Joliet Level 1
    [ 3456.318112] ISOFS: changing to secondary root
    Here's dmesg when plugging off:


    Code:
    [ 3552.177035] usb 1-6: USB disconnect, address 6
    [ 3552.177104] option: option_instat_callback: error -108
    [ 3552.177169] option: option_instat_callback: error -108
    [ 3552.177388] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
    [ 3552.177412] option 1-6:1.0: device disconnected
    [ 3552.177561] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
    [ 3552.177582] option 1-6:1.1: device disconnected
    [ 3552.177710] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
    [ 3552.177728] option 1-6:1.2: device disconnected
    [ 3552.177854] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
    [ 3552.177873] option 1-6:1.3: device disconnected
    [ 3552.982624] scsi 12:0:0:0: rejecting I/O to dead device
    Oh, and one more thing. The huawei only blinks green twice in 3 sec, which means that it is just powered on. No blue led is on at any moment. Well, was when it was working...

    If anyone could help me with this, I would appreciate very much! I have a 2-year contract to this mobile broadband, and it would be cool to be actually able to use it. Thank god there's a 1-month term of notice with my old, wired connection..
    Last edited by Smane; May 26th, 2010 at 11:49 AM.

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

    Re: Huawei E1820 + Ubuntu 10.04 64-bit

    hi

    looks as if the modem manager not picking the correct port

    try using ppp ,wvdial ,or gnomeppp, then force the use of one of the four ports been registered

    if that fails the get your modem and sim card checked out if it has one, sometimes can get damaged after repetitive access to the wrong port.
    Last edited by alexfish; May 26th, 2010 at 04:31 PM.
    Two tin cans are better than an iphone

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

  3. #3
    Join Date
    Nov 2007
    Location
    Finland
    Beans
    13
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Huawei E1820 + Ubuntu 10.04 64-bit

    Hi

    Thanks for quick reply.

    I'm sorry, but can you give me more detailed instructions..? I Don't actually have a clue what you're saying, and how to do it. d:

    Thanks in advance.

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

    Re: Huawei E1820 + Ubuntu 10.04 64-bit

    hi

    can you have a look here as regards ppp, etc

    How To : Mobile Broadband Connections [ Ubuntu 10.04 : 9.10 : 9.04 ]

    read all and also the recommended site for reading

    regards

    alexfish
    Two tin cans are better than an iphone

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

  5. #5
    Join Date
    Nov 2007
    Location
    Finland
    Beans
    13
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Huawei E1820 + Ubuntu 10.04 64-bit

    Thank you very much. This helped me a lot. I figured out (with the helpful error message from sakis3g) that all I had done wrong was at some point mess my pin code. So I just put the sim to my phone, enter puk code and it works again, (well not actually, but read on..) I feel kinda embarrassed, because it was just the freaking pin code.

    But anyhow, a new problem emerged, which I didn't find a solution from the link you provided. Maybe I missed something..?

    Now, after boot, the modem searches for the network, and after a while, finds it. (green led blinking twice changes to blue led blinking once, which means it is registering with 3G netwok.)

    But as soon as I click "connect" on network-manager applet The modem starts blinking again twice the green led, and doesn't find network. After a minute or so, the modem starts blinking blue again, and when I try to connect, blue changes to green again and no connection happens.. (all configurations [even the PIN ] on the netwok-manager should be fine).

    I tried also connecting with sakis3g (which seemed awesome btw), but it does exactly the same. Before I get to choose APN, the led changes again.

    Have you guys got any idea what this is about? I'm baffled.
    Last edited by Smane; May 27th, 2010 at 12:21 AM. Reason: Green = Blue = Green, messing with the colors O_o

  6. #6
    Join Date
    Nov 2007
    Location
    Finland
    Beans
    13
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Huawei E1820 + Ubuntu 10.04 64-bit

    bumpity bump.

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
  •