Announcement

Collapse
No announcement yet.

Huawei E220 HSDPA USB Modem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Huawei E220 HSDPA USB Modem

    Can't get modem working. It powers on when connected to USB port... and then nothing! New 2 Kubuntu 7.10...so knowledge is very basic.

    #2
    Re: Huawei E220 HSDPA USB Modem

    Here are a couple of solutions I have found, that work well for me

    The first is a vodafone app (use the .deb) it works well, seems to be python based so needed to download a few libraries. nice GUI and easy configuration. Don't worry about the Vodafone branding, it's nothing more than a title. Be aware it is a Beta product. I was happy to find that it is a GPL'd app, there might be a good future with this one.

    https://forge.vodafonebetavine.net/frs/?group_id=12

    This little shell script is very nice and easy also.
    The nice part of the script is the usb set up, so wvdial can find the modem.

    http://ubuntuforums.org/showthread.php?t=633029


    Hope this helps

    Comment


      #3
      Re: Huawei E220 HSDPA USB Modem

      Hurray for Vodafone!

      The software from vodafone works, it is a bit buggy though, when I try to minimize it to the tray (Gutsy - KDE). The other thing is that I must run the app as a super user.

      ellyaht, thank you for the nice post, it solved my problem.


      My system:
      IBM t40p thinkapd
      Kubuntu Gutsy - 2.6.22-14-generic

      My USB-modem: Huawei E220
      ISP: TDC (Denmark)

      How I did it 2008-02-16:

      I downloaded and installed the newest at the time stable version of the vodafone software: vodafone-mobile-connect-card-driver-for-linux_1.99.17_i386.ded from the link provided by ellyaht (thx maan ;-) )

      I Plugged in my USB-modem. Ran dmesg after a minute from a terminal and saw this (the last part of the dmesg output):

      [ 2336.452000] option 2-2:1.1: device disconnected
      [ 2336.452000] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
      [ 2336.452000] option 2-2:1.2: device disconnected
      [ 2358.220000] usb 2-2: new full speed USB device using uhci_hcd and address 4
      [ 2358.380000] usb 2-2: configuration #1 chosen from 1 choice
      [ 2358.384000] option 2-2:1.0: GSM modem (1-port) converter detected
      [ 2358.384000] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
      [ 2360.180000] usb 2-2: USB disconnect, address 4
      [ 2360.180000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
      [ 2360.180000] option 2-2:1.0: device disconnected
      [ 2360.420000] usb 2-2: new full speed USB device using uhci_hcd and address 5
      [ 2360.580000] usb 2-2: configuration #1 chosen from 1 choice
      [ 2360.584000] option 2-2:1.0: GSM modem (1-port) converter detected
      [ 2360.584000] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
      [ 2360.588000] option 2-2:1.1: GSM modem (1-port) converter detected
      [ 2360.588000] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
      [ 2360.588000] option 2-2:1.2: GSM modem (1-port) converter detected
      [ 2360.592000] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB2
      This message made me very happy

      To be safe I made a "link to application" running "kdesu vodafone-mobile-connect-card-driver-for-linux-debug" running it from a terminal.

      I ran the application -> was prompted for my pin code for my sim card -> pressed OK -> The software hangs.. going in to a crazy loop outputting:

      2008/02/16 12:59 +0200 [-] HuaweiE2XXAdapter::WAITING: CBK = [()]
      2008/02/16 12:59 +0200 [-] HuaweiE2XXAdapter: NEW STATE: idle
      2008/02/16 12:59 +0200 [-] HuaweiE2XXAdapter: SENDING ATCMD 'AT+CPBR=?\r\n'
      2008/02/16 12:59 +0200 [-] HuaweiE2XXAdapter: NEW STATE: waiting
      2008/02/16 12:59 +0200 [-] HuaweiE2XXAdapter::WAITING DATA_RCV: '\r\n+CME ERROR: SIM busy\r\n'
      2008/02/16 12:59 +0200 [-] "HuaweiE2XXAdapter::WAITING: ERROR received '\\r\\n+CME ERROR: SIM busy\\r\\n'"
      2008/02/16 12:59 +0200 [-] HuaweiE2XXAdapter: NEW STATE: idle
      2008/02/16 12:59 +0200 [-] HuaweiE2XXAdapter: SENDING ATCMD 'AT+CSQ\r\n'
      2008/02/16 12:59 +0200 [-] HuaweiE2XXAdapter: NEW STATE: waiting
      2008/02/16 12:59 +0200 [-] HuaweiE2XXAdapter::WAITING DATA_RCV: '\r\n+CSQ: 7,99\r\n\r\nOK\r\n'
      2008/02/16 12:59 +0200 [-] HuaweiE2XXAdapter::WAITING: EOR detected, firing deferred
      2008/02/16 12:59 +0200 [-] HuaweiE2XXAdapter::WAITING: CBK = [('7', '99')]
      2008/02/16 12:59 +0200 [-] AuthStateMachine: notification <UnsolicitedNotification type: rssi args: 7> received
      2008/02/16 12:59 +0200 [-] HuaweiE2XXAdapter: NEW STATE: idle
      2008/02/16 12:59 +0200 [-] HuaweiE2XXAdapter::IDLE DATA_RCV: '\r\n^BOOT:73254741,0,0,0,6\r\n'
      2008/02/16 12:59 +0200 [-] HuaweiE2XXAdapter::Huawei E220 NOTIFICATION: '\r\n^BOOT:73254741,0,0,0,6\r\n'
      2008/02/16 13:00 +0200 [-] HuaweiE2XXAdapter::IDLE DATA_RCV: '\r\n^BOOT:73254741,0,0,0,6\r\n'
      2008/02/16 13:00 +0200 [-] HuaweiE2XXAdapter::Huawei E220 NOTIFICATION: '\r\n^BOOT:73254741,0,0,0,6\r\n'
      2008/02/16 13:00 +0200 [-] Shutting down...
      2008/02/16 13:00 +0200 [-] (Port 2222 Closed)
      2008/02/16 13:00 +0200 [-] Stopping factory <twisted.conch.manhole_ssh.ConchFactory instance at 0x887050c>
      2008/02/16 13:00 +0200 [-] Server Shut Down.
      gnowak@t40p:~$
      I got tired and killed the application with "ctrl + c".

      I ran the app again... I got authenticated.. hurray!! no prompt for pin code... hmm strange... it hangs again... I kill it grr! ;-)

      2008/02/16 13:01 +0200 [-] HuaweiE2XXAdapter::WAITING: CBK = [()]
      2008/02/16 13:01 +0200 [-] HuaweiE2XXAdapter: NEW STATE: idle
      2008/02/16 13:01 +0200 [-] HuaweiE2XXAdapter: SENDING ATCMD 'AT+CPBR=?\r\n'
      2008/02/16 13:01 +0200 [-] HuaweiE2XXAdapter: NEW STATE: waiting
      2008/02/16 13:01 +0200 [-] HuaweiE2XXAdapter::WAITING DATA_RCV: '\r\n+CME ERROR:
      SIM busy\r\n'
      2008/02/16 13:01 +0200 [-] "HuaweiE2XXAdapter::WAITING: ERROR received '\\r\\n+C
      ME ERROR: SIM busy\\r\\n'"
      2008/02/16 13:01 +0200 [-] HuaweiE2XXAdapter: NEW STATE: idle
      2008/02/16 13:01 +0200 [-] HuaweiE2XXAdapter::IDLE DATA_RCV: '\r\n^BOOT:73254741
      ,0,0,0,6\r\n'
      2008/02/16 13:01 +0200 [-] HuaweiE2XXAdapter::Huawei E220 NOTIFICATION: '\r\n^BO
      OT:73254741,0,0,0,6\r\n'
      2008/02/16 13:02 +0200 [-] HuaweiE2XXAdapter::IDLE DATA_RCV: '\r\n^BOOT:73254741 ,0,0,0,6\r\n'
      2008/02/16 13:02 +0200 [-] HuaweiE2XXAdapter::Huawei E220 NOTIFICATION: '\r\n^BO OT:73254741,0,0,0,6\r\n'
      2008/02/16 13:02 +0200 [-] HuaweiE2XXAdapter: SENDING ATCMD 'AT+CSQ\r\n'
      2008/02/16 13:02 +0200 [-] HuaweiE2XXAdapter: NEW STATE: waiting
      2008/02/16 13:02 +0200 [-] HuaweiE2XXAdapter::WAITING DATA_RCV: '\r\n+CSQ: 7,99\ r\n\r\nOK\r\n'
      2008/02/16 13:02 +0200 [-] HuaweiE2XXAdapter::WAITING: EOR detected, firing defe rred
      2008/02/16 13:02 +0200 [-] HuaweiE2XXAdapter::WAITING: CBK = [('7', '99')]
      2008/02/16 13:02 +0200 [-] AuthStateMachine: notification <UnsolicitedNotificati on type: rssi args: 7> received
      2008/02/16 13:02 +0200 [-] HuaweiE2XXAdapter: NEW STATE: idle
      2008/02/16 13:02 +0200 [-] HuaweiE2XXAdapter::IDLE DATA_RCV: '\r\n^BOOT:73254741 ,0,0,0,6\r\n'
      2008/02/16 13:02 +0200 [-] HuaweiE2XXAdapter::Huawei E220 NOTIFICATION: '\r\n^BO OT:73254741,0,0,0,6\r\n'
      2008/02/16 13:03 +0200 [-] Shutting down...
      2008/02/16 13:03 +0200 [-] (Port 2222 Closed)
      2008/02/16 13:03 +0200 [-] Stopping factory <twisted.conch.manhole_ssh.ConchFact ory instance at 0x887050c>
      2008/02/16 13:03 +0200 [-] Server Shut Down.
      gnowak@t40p:~$
      I thought... third time the lucky time.. as we say it in Denmark.. I ran the app again with a nice result. I got prompted for a profile name.. called it "Test". I googled for a username and password for my ISP = TDC, and found that none was required. For safety I typed "three" as username and password because wvdial can have problems if username and password aren't specified. APN host: "internet" but it is probably something else if your ISP isn't TDC in Denmark.

      I pressed the green connect button in the GUI.. wolla I was online.. am still ;-).

      I agree with ellyaht:
      Originally posted by ellyaht
      I was happy to find that it is a GPL'd app, there might be a good future with this one.
      https://forge.vodafonebetavine.net/frs/?group_id=12
      If anyone finds a way to get around superuser mode and a cleaner startup, I would appreciate any comments ;-).

      I will probably try out the experimental version of the vodafone software and/or make a post on their forum and get back with it here ;-)

      By the way.. at my current location I can get a internet connection that is 5-10 times faster with the linux software vs. ms windows software provided with my modem. Cheers!
      Check out my Ⓥegan youtube channel PlantSugar
      CV and gallery at grn.dk
      Please add [SOLVED] to topic subject when topic is solved.

      Comment

      Working...
      X