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

Thread: Huawei E1820 + Ubuntu 10.04 64-bit

  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.

  7. #7
    Join Date
    Apr 2005
    Beans
    1,782

    Re: Huawei E1820 + Ubuntu 10.04 64-bit

    surely we need to be sure there are not still setup problems at your end; a pin-code complicates using a usb modem; surely better to remove for a while till modem running well; so put simcard in phone and remove pin; is there credit on your account; can you send a text from this simcard;

    you talk about sakis3g

    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.
    I installed it the other day; (on a mandriva setup); I was never asked to choose an APN: it merely recognised country; provider; and asked me which of the three offerings from my provider I wanted ...

    did you install sakis3g from the instructions on their website?

    http://wiki.sakis3g.org/wiki/index.p...G_installation

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

    Re: Huawei E1820 + Ubuntu 10.04 64-bit

    Thanks for reply.

    I removed the sim and tried to connect, but no luck.

    I installed sakis3g as in the instructions on their website:

    WELL actually, now as I remember I didn't. I did:

    Code:
    sudo apt-get install ppp
    cd /usr/bin/
    wget 'http://www.sakis3g.org/versions/latest/sakis3g.gz'
    echo "fb3d4ea0ee11e798b9a5fac929d6bc7a  sakis3g.gz" | md5sum -c
    Then I saw: sakis3g.gz: OK
    gunzip sakis3g.gz
    chmod +x sakis3g
    So I didn't do the "sudo bash" in the beginning. I did it afterwards. I have no clue if this has to do with anything. Anyhow, I still cannot connect with sakis3g or network-manager.

    Oh, and here's a screenshot of how it asks me the APN.

    I got a one time succesful connection just a minute ago. I connected with sakis3g. I waited until the blue led started to blink, then I clicked "connect", and then, when it asked for the APN, it started to blink green twice again. So I waited it to turn blue again and THEN selected the APN, and after that there was a succesful connect. But it does not work anymore. It just fails to connect even if I wait.

    This seems very frustrating... I would be very thankful for any other ideas you might have.
    Attached Images Attached Images

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

    Re: Huawei E1820 + Ubuntu 10.04 64-bit

    hi

    from all the info above

    1. the modem is recognised

    2. sakis3g recognises the correct country ids for the device /trust me on this one / if sakis can't match the mcc and mnc found on the modem then it would have given further errors

    3. the only ambiguity I can find is the user name and pass word / sometimes these will be ignored if not required , sakis 3g shows user and pass , so your ISP will probably ignore them.

    Since network manager and sakis3g are failing to connect the problem lays else where

    as you mentioned it was connecting, then failed

    check details about the pin code "are they still required " in NM and Sakis3g there are ways to do this

    check with your service provider as regards the problem
    also check the modem is not faulty

    a reminder your modem has 4 ports also check the connection using ppp and force ppp to use each of the ports listed , see what happens

    regards

    alexfish
    Last edited by alexfish; May 29th, 2010 at 03:47 PM.
    Two tin cans are better than an iphone

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

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

    Re: Huawei E1820 + Ubuntu 10.04 64-bit

    Quote Originally Posted by alexfish View Post
    3. the only ambiguity I can find is the user name and pass word / sometimes these will be ignored if not required , sakis 3g shows user and pass , so your ISP will probably ignore them.
    Hmm? I don't know anything about username and password, they have never been mentioned in the connection process or in the manual of the modem or in the contract I made with ISP.

    Quote Originally Posted by alexfish View Post
    check details about the pin code "are they still required " in NM and Sakis3g there are ways to do this
    Hmm, at least my phone doesn't ask for the pin code anymore for that sim card. It asks the pin code for my normal sim card which I normally use in my cell phone, so I'm quite sure the pin has been disabled.

    Quote Originally Posted by alexfish View Post
    check with your service provider as regards the problem
    also check the modem is not faulty
    Will do. I called once to my ISP and all they had to offer was "we're sorry, but the device supports only mac os X and Windows enviroments" (which is true, and I was aware of this when I bought it.) I just thought that it would be quite easy to get it to function because I have read that people have done that.

    Quote Originally Posted by alexfish View Post
    a reminder your modem has 4 ports also check the connection using ppp and force ppp to use each of the ports listed , see what happens
    Can you please tell my how to do that? I'm sorry if I sound like a noob (well, I am. Sort of.)

    Thanks for any help.

Page 1 of 3 123 LastLast

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
  •