[3G_Tutorial] Placa ZON ZTE MF627 em Linux Ubuntu

falorca

Power Member
Recentemente, resolvi passar o SO do meu portatil para Linux, mais propriamente o Ubuntu Jaunty, e uma das coisas que não estava a conseguir por a funcionar era a minha Pen USB MF627 da Zon!

A autoria não é minha, mas como andei a procura aqui no forum e não vi nenhuma thread a explicar como por a funcionar a pen da ZON, deixo ficar aqui como podem fazer, bem como o link da "source".

Espero que ajude alguem com o mesmo problema que me deparei! Aqui funcionou lindamente! ;)

Home › Blogs › Liam Green-Hughes's blog
ZTE MF627 - the easy way
Posted April 27th, 2009 by Liam Green-Hughes
Tags: 33gbroadbandmf627mobilemtechpackagethree.co.ukubuntuztezte_mf627_switch
‹ The new Ubuntu 9.04 leaves no time for tea | Main | An idea to help control the cost of mobile broadband ›
Recently a good friend of mine, Georgina Parsons, was lucky enough to win a brand new mobile internet dongle courtesy of 3 UK. Like myself she is an Ubuntu user but sadly found that the unit she won, a ZTE MF627, isn't currently supported out of the box on Ubuntu, unlike the Huawei models. She did find a method to make it work though on the Ubuntu Forums at: http://ubuntuforums.org/showthread.php?p=6509188. The problem the unit had was similar to the Huawei E169G, when first plugged in it functions as a USB memory stick containing the driver software (for Windows) and has to be told to switch mode to being a modem. Using the workaround she got her modem working perfectly, but challenged me to make a package to install the files needed automatically.

So I had a go, and managed to get it to work! I don't own one of these devices, so was unable to test, but Georgina has tested it and has advised that it worked successfully on Ubuntu (Easy Peasy is based on Ubuntu so it will work in that too). I don't know if this will work on a Xandros powered EEE PC, so if you try it leave a comment to let me know how you get on. The package is similar to the one I developed for the Huawei E169G (which is now no longer needed under Ubuntu). There is one difference though, it does not contain a copy of usb_modeswitch, the actual program that causes the modem to change mode, it just contains the configuration files described in the above forum post, and a configuration file for usb_modeswitch. You'll need to install a package containing usb_modeswitch before installing this package, there are various ways of getting this, but one way you could use is to install the e169g-switch package from my earlier blog post Huawei E169G – the easy way.

To install the zte-mf627-switch package just click on the name of the file attachment at the end of this post and this should start the GDebi package installer. After the two packages are installed, plug in your unit, wait a few seconds, and you should then be able to use the Network Manager applet to make your internet connection via your MF627. Hopefully this will simplify getting your modem working with Ubuntu until bug no. 310025 is solved and it is officially supported in Ubuntu.

*** UPDATE 10th May 2009 ***

I've set up a personal package archive and have made the zte-mf627-switch package in it, along with a version of usb-modeswitch. This version of the package should be the same, but hasn't been tested, so if it works for you please let me know.

To add the ppa follow the instructions at:
http://www.greenhughes.com/ppa

To install the zte-mf627-switch package use a package manger like Synaptic or type:
sudo apt-get install zte-mf627-switch


Personal Package Archive
Tags: aptarchiveinstallpackagespersonal package archiveppasources
I'm putting together a Personal Package Archive (PPA) on Launchpad which can be found at:

https://launchpad.net/~liamgh/+archive/ppa

I'll be putting much more information on this page soon!

Adding the PPA through the Ubuntu desktop:
1.The repository is digitally signed. You will need to download the public key first by saving the file lghppa-public.key to a location where you can find it again (right click on the link and select "SaveLink As...").
2.Go to Software Sources by selecting System -> Administration -> Software Sources
3.Under the Third Party Software tab click + Add to add in the binary packages, enter:
deb http://ppa.launchpad.net/liamgh/ppa/ubuntu jaunty main
Note: if you are not using a different version of Ubuntu substitute "Jaunty" with "intrepid" for Ubuntu 8.10 or "hardy" for Ubuntu 8.04. The repository is a work in progress though so branches may be missing or incomplete.
4.Click + Add Source
5.Click on "+ Add" again to add the source packages (again substitute "jaunty" with the correct tag for your distribution):
deb-src http://ppa.launchpad.net/liamgh/ppa/ubuntu jaunty main
6.Click + Add Source
7.Click on the "Authentication" tab and click Import Key File.
8.Select the file lghppa-public.key that you downloaded earlier and click Ok.
9.Click on Close you will be prompted to reload the available package information. Do so, and after the update the window will close.
Adding the PPA using the terminal
1.Add the binary package information to your apt sources (if you are not using jaunty substitute it for the correct distribution).
IMPORTANT: Note the double '>':
sudo echo "deb http://ppa.launchpad.net/liamgh/ppa/ubuntu jaunty main" >> /etc/apt/sources.list
2.Add the source package information:
IMPORTANT: Note the double '>':
sudo echo "deb-src http://ppa.launchpad.net/liamgh/ppa/ubuntu jaunty main" >> /etc/apt/sources.list
3.The repository is digitally signed so you will need to import the public key for it:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 187f34b24a23a1ac
4.Update package information:
sudo apt-get update

Attachment Size
lghppa-public.key 594 bytes

SOURCE: GreenHughes.com by Liam Green-Hughes
 
Última edição:
Muito porreiro, thanks. Precisava mesmo disto para usar a net da casa da minha namorada no meu portátil com Linux. :)

EDIT - Esse metódo não funca no 10.04. Mas basicamente a pen da Zon funca out of the box. Basta meter no APN internet.zon.pt. E depois o PIN.
 
Última edição:
Alguém tem um net da zon (zon net mobile) a funcionar em linux?? Estou a pensar em comprar uma mas queria saber se ... Um cd virtual (com os drivers do ... pela referência da placa que no meu caso é uma ZTE MF627. ...
 
Back
Topo