Page 1 of 14 12311 ... LastLast
Results 1 to 10 of 133

Thread: How-to: Install modem ZTE MF626 HSDPA in Jaunty

  1. #1
    Join Date
    Jul 2007
    Beans
    73
    Distro
    Ubuntu 12.04 Precise Pangolin

    Smile How-to: Install modem ZTE MF626 HSDPA in Jaunty

    1) Get the latest usb_modeswitch file from the page http://www.draisberghof.de/usb_modeswitch/ from the section "Downloads"

    2) click with the right button of the mouse in the file and select extract here;

    3) Open the Terminal, and go to the location of the decompressed file and execute:
    sudo make install
    ... it asks for the root password;




    4) Edit the "usb_modeswitch.conf" archive. To do that execute:
    sudo gedit /etc/usb_modeswitch.conf
    it will open the Gnome text editor.

    5) Look for the modem name:"ZTE MF626" and erase the comments, the ( # ) and the ( ; ), Until it looks something like this:

    ZTE MF628+ (tested version from Telia / Sweden)
    ZTE MF626

    Contributor: Joakim Wennergren

    DefaultVendor= 0x19d2
    DefaultProduct= 0x2000

    TargetVendor= 0x19d2
    TargetProduct= 0x0031

    MessageEndpoint=0x01
    MessageContent="55534243123456782000000080000c8501 0101180101010101000000000000"



    6) Save and Quit.

    7) Plug the modem, wait few seconds and execute "lsusb" in the terminal. Here one device must have the ID 19d2:2000.



    8) Execute this in Terminal:
    sudo /usr/sbin/usb_modeswitch -W -c /etc/usb_modeswitch.conf
    With this we change the usb mode so the system recognize it as a modem. Do "lsusb" again, it has changed to ID 19d2:0031



    10) Now it should be recognized as a modem...and we can define an archive in order to make this device recognizable by Network Manager, for this we write in terminal:
    sudo gedit /usr/share/hal/fdi/information/20thirdparty/20-zte-mf626.fdi
    This will open a blank archive and in it we write:
    <!-- -*- SGML -*- -->
    <deviceinfo version="0.2">
    <device>
    <!-- ZTE MF626 HSDPA USB Modem -->
    <match key="@info.parent:usb.vendor_id" int="0x19d2">
    <match key="@info.parent:usb.product_id" int="0x0031">
    <match key="@info.parent:usb.interface.number" int="3">
    <append key="modem.command_sets" type="strlist">GSM-07.07</append>
    <append key="modem.command_sets" type="strlist">GSM-07.05</append>
    <append key="info.capabilities" type="strlist">modem</append>
    </match>
    </match>
    </match>
    </device>
    </deviceinfo>
    Then Save and Quit

    11) Now it should be seen in network connections as a new connection.

    In the original page in spanish http://www.taringa.net/posts/linux/2...ZTE-mf626.html by MOZZart, it has other commands that for this ubuntu release I found unnecessary.

    In my country and provider it's necessary to do some configuration in the network manager.
    I have to do Edit Conections -> (in english could be something like) Mobile Broadband -> Add...and than select the mobile provider...

    Reboot and than it will maybe () work fine...
    any corrections and suggestions are welcome...

    P.S.:I still don't find a way to automatize all the process, anytime I want to enter the internet I have to do: "sudo /usr/sbin/usb_modeswitch -W -c /etc/usb_modeswitch.conf"...anyone that knows a way I'll appreciate...
    Last edited by Unkuiri; May 4th, 2009 at 01:11 AM.

  2. #2
    Join Date
    Oct 2005
    Location
    Davao, Philippines
    Beans
    4,830

    Re: How-to: Install modem ZTE MF626 HSDPA in Jaunty

    And this is is in jaunty!? i'm only asking because, many have troubles using usb_modeswitch in jaunty.

  3. #3
    Join Date
    Jul 2007
    Beans
    73
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How-to: Install modem ZTE MF626 HSDPA in Jaunty

    Yeah, it worked for me in Jaunty...I tried many tutorials but the only one that worked is this one...

    P.S.: I'm a newby in Ubuntu, maybe i'm making something wrong, if it happens please forgive me...

  4. #4
    Join Date
    Oct 2005
    Location
    Davao, Philippines
    Beans
    4,830

    Re: How-to: Install modem ZTE MF626 HSDPA in Jaunty

    ah great , i was only asking because some have this error

    https://answers.launchpad.net/ubuntu...question/65281

    but if it went just fine, then that's goog news

  5. #5
    Join Date
    Jul 2007
    Beans
    73
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How-to: Install modem ZTE MF626 HSDPA in Jaunty

    I had that same error, as I know the usbserial module doesn't work on Jaunty and because of that I did a thing that a user said in other forum, I've edited the file "menu.lst" located in /boot/grub/ and added a line customized entry, copied the part that says:
    title Ubuntu 9.04, kernel 2.6.28-11-generic
    uuid 8a94291a-08f2-40dc-ac28-240589d74efc
    kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=8a94291a-08f2-40dc-ac28-240589d74efc ro locale=pt_PT quiet splash
    initrd /boot/initrd.img-2.6.28-11-generic
    quiet
    and altered the new one to look like this:
    title Ubuntu 9.04, kernel 2.6.28-11-generic custom
    uuid 8a94291a-08f2-40dc-ac28-240589d74efc
    kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=8a94291a-08f2-40dc-ac28-240589d74efc ro locale=pt_PT quiet splash usbserial.vendor=0x19d2 usbserial.product=0x0031
    initrd /boot/initrd.img-2.6.28-11-generic
    quiet
    I've altered the first line adding "custom"(this is only to know what boot option is)
    and added: "usbserial.vendor=0x19d2 usbserial.product=0x0031" (this is for my case, for the modem cited at the top)

    and then I booted from that new option...but when I tried to plug the modem and make it work it didn't work and then I tried again to boot normally from the normal option (not custom) and voilá it's working...Thats the reason I didn't say it in the "How-to"...do you think it's important to say that?

  6. #6
    Join Date
    Oct 2005
    Location
    Davao, Philippines
    Beans
    4,830

    Re: How-to: Install modem ZTE MF626 HSDPA in Jaunty

    Quote Originally Posted by Unkuiri View Post
    Thats the reason I didn't say it in the "How-to"...do you think it's important to say that?
    yeah.. but you already just said it, so it's fine.

  7. #7
    Join Date
    Aug 2008
    Location
    Athens Greece
    Beans
    973
    Distro
    Ubuntu Mate

    Re: How-to: Install modem ZTE MF626 HSDPA in Jaunty

    Quote Originally Posted by Unkuiri View Post
    ...P.S.:I still don't find a way to automatize all the process, anytime I want to enter the internet I have to do: "sudo /usr/sbin/usb_modeswitch -W -c /etc/usb_modeswitch.conf"...anyone that knows a way I'll appreciate...
    Hi Unkuiri,
    if above still exists, you can add a .rule file (as user JimmyI suggests with post #4 of http://ubuntuforums.org/showthread.php?t=1065934).

    For your case you could create the file from terminal:
    sudo gedit /etc/udev/rules.d/90-zte.rules

    copy the following lines into gedit window:

    Code:
    ACTION!="add", GOTO="ZTE_End"
    
    SUBSYSTEM=="usb", SYSFS{idProduct}=="2000", SYSFS{idVendor}=="19d2", GOTO="ZTE_ZeroCD"
    
    LABEL="ZTE_ZeroCD"
    RUN+="/usr/sbin/usb_modeswitch -W -c /etc/usb_modeswitch.conf"
    
    LABEL="ZTE_End"
    Save, Exit and reboot.

    If all are OK, when you attach the modem (19d2:2000) the usb_modeswitch will run automatically changing to "modem state" (19d2:0031). As you are running the usbserial at boot, you don't need the "usbserial" part of above link.

    Regards,
    George

  8. #8
    Join Date
    Mar 2008
    Beans
    3

    Re: How-to: Install modem ZTE MF626 HSDPA in Jaunty

    Hi guys,

    I just want to ask those of you that have succeeded in getting the modem to work are you happy with it?

    I read somewhere else that people are experiencing modem hangs after ~1hr of use, so do you get these too or it works reliably?

    I am looking for a 3g modem to buy with Linux support #1 criteria on the list so this will be useful info.

    Best regards,
    Rado

  9. #9
    Join Date
    Jul 2007
    Beans
    73
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How-to: Install modem ZTE MF626 HSDPA in Jaunty

    Hi, For me works fine the only problem that I'm experiencing sometimes is that I have to unplug and re-plug for it to work, but all the remaining things work fine and is faster than windows for example......good luck for your search...

  10. #10
    Join Date
    Jul 2007
    Beans
    73
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How-to: Install modem ZTE MF626 HSDPA in Jaunty

    Thanks GeorgeVita, What you said worked just fine......now it's just plug and play.....

Page 1 of 14 12311 ... LastLast

Tags for this Thread

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
  •