Monday, July 20, 2009

Workaround for Huawei E1552 and Ubuntu Jaunty (Linux)

Hello... as I was wondering if there are updates with regards to my HSDPA dongle, the Huawei E1552... actually there is...

Before I post the fix for this... acknowledgments and kudos to the owner of the website I read and took this from... http://neildecapia.wordpress.com/2009/07/05/globe-tattoo-on-ubuntu-jaunty-9-04/

Here’s what I did under Ubuntu 9.04 for my Huawei E1552 Globe Tattoo device:

  1. install the udev-extras package

    sudo apt-get install udev-extras
  2. create a file called /etc/udev/rules.d/62-option-modem-modeswitch.rules, and paste this line:

    ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1446,
    RUN+="modem-modeswitch
    -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd"
  3. restart udev
               sudo /etc/init.d/udev restart

Now plug-in the Tattoo device. If you’re watching /var/log/messages, you should see the kernel detecting the device as a mass storage device, then disconnecting the device, then finally detecting it as a USB GSM modem. (Interestingly, lsusb reports the device to be a Huawei E620 USB Modem.)

If your device isn’t detected properly, try changing the values for idVendor and idProduct in Step 2 above. Use lsusb -v to find the values for your device. Also make sure that the rules file you saved in /etc/udev/rules.d/ has a higher number prefix than the similary-named rules file in /lib/udev/rules.d/.

You should then create a mobile broadband network connection via the NetworkManager applet. I changed the APN to http.globe.com.ph

Sometimes when I try to connect, the modem will properly authenticate but then hang up. I just keep trying to connect until I am prompted for the password (globe). Connection usually succeeds after that. Still, I feel my connection is too slow. I have no way of determining if I’m connected to HSDPA or 3G or GPRS. Maybe someone out there can find out.

1 comment:

  1. Here's for a more "graphical" version
    http://www.techrecipes.net/operatingsystem/ubuntu/configure-huawei-e1552

    ReplyDelete