Sunday, December 13, 2009

How to install the HSDPA ZTE MF626 modem in Linux

Author: Adrian Nowak, 1:44 PM, Sunday, December 13, 2009

Category: ,

Mobile Internet is an increasingly popular and with this trend is increasing the amount of new equipment with which they must cope with the system. This time we will be installing the ZTE MF626 HSDPA modem.

The popularity of Mobile Internet is still increasing and unfortunately Linux is not supporting all modems out of box. This time I'll show you how to set up HSDPA ZTE MF626 mobile modem.

The author of this post is our user emarcin.

1. At the begin yoe need to download the usb_modeswitch driver from this site.

2. Then unpack and install the archive by typing:

tar -jxvf usb_modeswitch-0.9.7.tar.bz2
cd usb_modeswitch-0.9.7/
sudo make install


3. Edit the configuration file usb_modeswitch.conf:

sudo gedit /etc/usb_modeswitch.conf
And in line 471 find something like this:

########################################################
# ZTE MF628+ (tested version from Telia / Sweden)
# ZTE MF626
# ZTE MF636 (aka "Telstra / BigPond 7.2 Mobile Card")

# Contributor: Joakim Wennergren

;DefaultVendor= 0x19d2
;DefaultProduct= 0x2000

;TargetVendor= 0x19d2
;TargetProduct= 0x0031

;MessageEndpoint=0x01
;MessageContent="55534243123456782000000080000c85010101180101010101000000000000"

# if that command doesn't work, try the other ("eject")
;MessageContent="5553424312345678000000000000061b000000030000000000000000000000"

Odkomentowujemy to do postaci (usuwany z początku linii znak "#"):

########################################################
ZTE MF628+ (tested version from Telia / Sweden)
ZTE MF626
ZTE MF636 (aka "Telstra / BigPond 7.2 Mobile Card")

Contributor: Joakim Wennergren

DefaultVendor= 0x19d2
DefaultProduct= 0x2000

TargetVendor= 0x19d2
TargetProduct= 0x0031

MessageEndpoint=0x01
MessageContent="55534243123456782000000080000c85010101180101010101000000000000"

if that command doesn't work, try the other ("eject")
MessageContent="5553424312345678000000000000061b000000030000000000000000000000"

After that save and close the file.

4.
Type:

sudo /usr/sbin/usb_modeswitch -W -c /etc/usb_modeswitch.conf
Now modem should identify as ID 19d2:0031:

~$ lsusb
Bus 001 Device 002: ID 19d2:0031


5. That the device was recognized by Network Manager, type:

sudo gedit /usr/share/hal/fdi/information/20thirdparty/20-zte-mf626.fdi
In the file paste:

<!-- -*- 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>


Now you can connect using Network Manager.

source: forum.ubucentrum.net

blog comments powered by Disqus

Post a Comment

Recent comments

Popular threads

See also..

Etykiety