Install the usb-modem ZTE MF626 HSDPA in Ubuntu 9.04

<p>An austrian discounter internet provider has sold not widely spread usb-modems with his prepaid cards for HSDPA internet connections. With Windows this modem works fine because the drivers are delivered with the modem. But with Ubuntu 9.04 only common usb-modems work without laying hands on the system. A nice addon would be if the modem works with the built-in network-manager of Ubuntu, so you can just click on the modem and connect to the preset internet provider, respectively the right access point, without providing your username and/or password every time.</p>
1 answer

Use usb-switch and network-manager

  1. Download and install the usb-modeswitch from (with 'sudo make install') respectively (just install .deb package by double clicking)
  2. Edit the file usb_modeswitch.conf. To do that open /etc/usb_modeswitch.conf with admin rights in your favorite editor.
  3. Find the modem "ZTE MF626" in the file and uncomment the lines (by deleting the # and ; ) It should look like this afterwards: ZTE MF628+ (tested version from Telia / Sweden)ZTE MF626Contributor: Joakim WennergrenDefaultVendor= 0x19d2DefaultProduct= 0x2000TargetVendor= 0x19d2TargetProduct= 0x0031MessageEndpoint=0x01MessageContent="55534243123456782000000080000c8501 0101180101010101000000000000"</code>
  4. Save the file and close the editor.
  5. Plug the modem, wait a few moments, then run lsusb in a console. One device must have the ID "19d2:2000".
  6. Run sudo /usr/sbin/usb_modeswitch -W -c /etc/usb_modeswitch.conf in the terminal. By running lsusb again, the ID should have changed to "19d2:0031" or something similar.
  7. If the modem is not already recognized by the network manager applet, open /usr/share/hal/fdi/information/20thirdparty/20-zte-mf626.fdi with admin rights in your favorite editor. Fill the file with<code><!-- -*- 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></code>save it and quit.
  8. Create the mobile broadband configurations with network manager according to your provider's instructions. If something does not work yet, restart and try again.