Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old May 3rd, 2009   #1
Unkuiri
Just Give Me the Beans!
 
Unkuiri's Avatar
 
Join Date: Jul 2007
Beans: 52
Ubuntu 9.10 Karmic Koala
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:
Quote:
sudo make install
... it asks for the root password;




4) Edit the "usb_modeswitch.conf" archive. To do that execute:
Quote:
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.



Execute this in Terminal:
Quote:
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:
Quote:
sudo gedit /usr/share/hal/fdi/information/20thirdparty/20-zte-mf626.fdi
This will open a blank archive and in it we write:
Quote:
<!-- -*- 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 3rd, 2009 at 08:11 PM..
Unkuiri is offline   Reply With Quote
 

Bookmarks

Tags
ubuntu, zte modem

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:26 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry