Etisalat USB Modem on Fedora 11

July 12th, 2009 by Ahmed S. Farghal Leave a reply »

This is how to get Etisalat USB modem working on Fedora 11.

“Etisalat Masr” new USB modem that supports HSDPA is based on Huawei E1550 USB Flip-Flop stick, so you need to get usb_modeswitch first to be able to switch the device from being a storage usb device to USB modem mode and this can be done easily by:

yum install usb_modeswitch

Then you need to add the following to the configuration file /etc/usb_modeswitch.conf  (add the following in the end of the file)

# Huawei E1550
DefaultVendor = 0x12d1
DefaultProduct = 0x1446
MessageEndpoint = 0x01
MessageContent = "55534243000000000000000000000011060000000000000000000000000000"

I got those information by sniffing USB on windows and you don’t have to do that because probably your MessageContent is the same as mine if the device is the same as mine and you can check if things are working or not by running

lsusb

and you will see a line like that

 ID 12d1:1446 Huawei Technologies Co., Ltd.

and then run

usb_modeswitch

you should see output like


* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 0.9.6 (C) Josua Dietze 2009
* Works with libusb 0.1.12 and probably other versions

Looking for default devices
Found default devices (1)
Prepare switching, accessing latest device
Looking for active default driver to detach it
OK, driver found ("usb-storage")
OK, Driver "usb-storage" successfully detached
Setting up communication with device
Trying to send the message
OK, message successfully sent.
-> See /proc/bus/usb/devices (or call lsusb) for changes. Bye

and please note that usb_modeswitch MUST be run as root, otherwise you will get an error.

if you got a message like the previous one then you can use the device directly from NetworkManager and you can check if the device has switched or not from the output of lsusb, it should be something like that now:

ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

Have Fun :)

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Slashdot
  • StumbleUpon
  • DZone
  • PDF
  • Reddit
  • RSS
  • Twitter
Advertisement

15 comments

  1. Abd4llA says:

    Very nice, keep up the good hacking ;)

  2. modeeb says:

    So it should be called “hack-n-play” instead of “plug-n-play” :D

  3. Thanx 4 sharing this info :)

    but thanx GOD my Ubuntu gets the USB modem just as i plug it in

  4. Chris says:

    Awesome, works a treat with the 3 (‘three’) UK Huawei E1550 on Fedora 11 using the exact instructions above.

  5. Thanks! This has been extremely helpful. Works on Huawei E1552 on Fedora 11 x86_64 architecture. :)

  6. Thanks very much.

    It’s working with me now well.

  7. Hi Ahmed..

    I’ve a problem with this way. When I restarted my fedora 11 box I must re-do your how to again becuase my fedora box doesn’t recognize Modem USB modem configuration or networking connection.

    Thanks in advance.

  8. dre says:

    Hi.

    I did all the steps by when I type in “usb_modeswitch” I get the message “no default device found.” When i do “lsusb” it detects the device.

    Any suggestions?

    Thanks in advance.

    • dre,

      I have the same problem as you. Iv got the Huawei 620 USB Modem from Zain (Kenya). It worked fine for a while then just stopped. Now I get the same messages as you. Did you find a solution?

  9. Are you sure you are root

Leave a Reply