Mobily 4G LTE USB Modem Ubuntu Linux Driver | Quanta Computer - Qualcomm CDMA



I recently got this USB 4G LTE MODEM  from Mobily, and i noticed that it only have Windows and Mac Drivers Included in it, and sadly there is no support for Linux ):

But Hey This is Linux (: , it means you don't have to wait for updates, you just can make it happen .. right? Yes Indeed Because it is Linux.


and here is how you can do it on your own 


1- Create a new File Named "0408:ea25" in "/etc/usb.modeswitch.d" and put Config Data:
- sudo nano /etc/usb.modeswitch.d/0408:ea25
- Copy the Below Text:
"
DefaultVendor=  0x0408
DefaultProduct= 0xea25
TargetVendor=   0x0408
TargetProduct= 0xea26
MessageContent="5553424312345678000000000000061b004600000000000000000000000000"
CheckSuccess=20
"

2- Add a new Rule to modeswitch rules:
- sudo nano /lib/udev/rules.d/40-usb_modeswitch.rules
- copy this line @ the end of the file:
ATTRS{idVendor}=="0408", ATTRS{idProduct}=="ea25", RUN+="usb_modeswitch '%b/%k'"

3- Restart udev
sudo service udev restart

4- Add Detection Command to modprobe
- sudo nano /etc/modprobe.d/mobily-lte.conf
- copy the below text
"
options usbserial vendor=0x0408 product=0xea26
"
5- Remove and Add usbserial config, This will Detect the Device
sudo rmmod usbserial
sudo modprobe usbserial

6- Configure a new Connection in Network Manager as Follow:








Now your Ready to Connect, Just Check the Connection menu and you will find your Broad Band Connections .. Enjoy (:


Also there is many other ways your can do it, here is one of them i found but did not try .. it looks simple maybe i will use it one day (:

I did a small research and found out that in Linux you can manually Digg your way out, it is open source world after all and the answer to the question is "ndiswrapper" : it is a Open source app that allows your to read the installation files for windows and configure your device by learning from it.
you can download it from here: http://sourceforge.net/projects/ndiswrapper/files/

Reference: http://www.eigenmagic.com/2012/03/14/how-to-get-telstra-4g-mobile-broadband-working-with-linux/

Comments

  1. Hi, thanks for the info! Your post couldn't have come at a better time. I just bought the 4G Connect (thanks to the special offer!) and my primary OS is Ubuntu. I was sad to see that this won't work natively, and was looking for work arounds when I bumped into your post.

    Does it work without any problems after using it with NDISwrapper? I am a beginner in linux systems, so let me see if I can figure out a way to install it and make it work.

    ReplyDelete
  2. I managed to install NDISwrapper thru ndisgtk and managed to install a few drivers using the .inf files that are for WindowsXP. But now I dont know what to do... can you describe the steps? Thanks a lot, Saleh.

    PS I am on ubuntu 12.04 and in the list of currently installed drivers, I had
    qcimdm
    qcinet
    qciser

    Not sure if the above files are the right ones.

    ReplyDelete
  3. Yes it works, and there is many ways to do it .. i will get back to you with more details .. (:

    ReplyDelete
  4. Oh man, that's good to hear. I have been tackling my brains over this. In the end I had to use the Mobily SIM in an unlocked 3G modem. It would be great if you could tell me how you did it. Thanks a lot man!

    ReplyDelete
  5. That's a very well-written step-by-step guide. However, when I tried "sudo rmmod usbserial", I get the following error:
    "ERROR: Module usbserial is in use by option,usb_wwan"

    I made sure there were no other usb devices connected to my laptop when i tried that, but i still get the error. Any idea why? As a result, the New Connection Manager still won't detect the modem.

    ReplyDelete
  6. maybe when you did the "ndiswrapper" it did registered the device for you i guess, lets check this out.

    Go to /etc/modprobe.d and do a "ls" to show all files in it, then copy it here, and if there is a file named "usb_wwan" copy its content here as well.

    ReplyDelete
  7. I think i fixed it. The idVendor and idProduct that you mentioned in Step #2, is wrong. Maybe you forgot to replace it with the correct one. I changed it on mine and somehow got the computer to detect my modem and get connected succesfully. But nothing seems to be loading when I open the browser. Not sure if it's a connection issue. Will try again later.

    ReplyDelete
  8. Thanks for the Note .. I updated the Post (:

    Once it is Connected you should be able to browse with not additional configuration, make sure you don't have any proxy settings made form the browser or system...

    also be sure that you made the right choice between web1 or web2, it depends on the sim plan

    good luck (:

    ReplyDelete
  9. Forgot to give you an update... it's working very well now, thanks to your info and help! Thanks a lot man :)

    ReplyDelete
  10. AnonymousMay 12, 2013

    Saleh, I can't thank you enough ! I've looking for a solution for over five days. followed your steps and wala it's connecting. I would suggest you write that in Arabic.

    ReplyDelete
  11. Your Welcome "Anonymouse", go ahead and write a post about this in Arabic i grant you full rights (:

    ReplyDelete
  12. it works well,thanks for your information

    ReplyDelete
  13. Trying to get hardware working that isn’t officially supported by manufacturers is doing us all a disservice. Most of the hardware that works today (or to the extent that it does) is because of smaller companies that put in time and energy to get source code released, but as the chips are utilized by many different manufacturers you can get hardware like this working that isn't officially supported (even if it isn't working as well as the officially supported hardware). If you want to see support for hardware on Linux let alone see support for hardware on Linux improved buy from companies that are actually working to that end. Right now the only properly supported USB 4G modem that even exists on the market is from one such company:

    https://www.thinkpenguin.com/gnu-linux/usb-4g-lte-advanced-modem-gnulinux-tpe-usb4glte

    ReplyDelete
  14. Hello, I also have this modem
    Each time I plug it in and launch the app,
    It shut down or if manages to stay open
    Once I click on connect it's shut down too
    What do I do
    It says windows diagnosing problem

    ReplyDelete
    Replies
    1. this post addresses the solution on linux/ubuntu, for windows there is no such challenge, just go to the manufacturer site and download their software b4 using it

      Delete

Post a Comment