Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Howto: Connect ZTE MF627 3G modem with NM0.7

  1. #1
    Join Date
    Aug 2006
    Location
    Just call me J
    Beans
    1,053
    Distro
    Ubuntu Development Release

    Howto: Connect ZTE MF627 3G modem with NM0.7

    I recently bought a 3G mobile broadband modem and then realised I'd bought the wrong model - instead of getting a Huawei E160 or E169 that reportedly work OOTB with Intrepid I got a ZTE MF627 for which no information exists. On the plus side, it has a built-in MicroSD reader...

    --EDIT

    This should all now be taken care of by udev-extras. The modem will initially be detected as the ZeroCD device; after ejecting it from the desktop (or the Places sidebar in Nautilus) it will be re-detected as a modem.

    $ sudo aptitude install udev-extras

    ---

    I initially raised a bug here but in the meantime have got it working. So here is a how-to.

    1) Download and install usb_modeswitch
    Go here and download the deb file. A direct link to version 0.9.5 is here. Then install it.

    This provides a way of switching the USB modem from its initial useless mode to its correct, functional modes. It will need configuring to apply to the modem.

    2) Edit /etc/usb_modeswitch.conf to apply to the MF628+

    Either comment the first modem configuration out, then find and uncomment the section for the MF628+, or (more easily) replace the content of the file with:

    Code:
    ########################################################
    # ZTE MF628+ (tested version from Telia / Sweden)
    #
    # Contributor: Joakim Wennergren
    #
    # Also applies to MF627 (Tested 3 UK) JF
    
    DefaultVendor=  0x19d2
    DefaultProduct= 0x2000
    
    TargetVendor=   0x19d2
    TargetProduct=  0x0031
    
    MessageEndpoint=0x01
    MessageContent="55534243123456782000000080000c85010101180101010101000000000000"
    Save it.

    3) Create a udev rule to automatically run usb_modeswitch when the modem is plugged in

    Create a new file called 999-zte-rules:
    gksudo gedit /etc/udev/rules.d/999-zte.rules

    Its content should be as follows:
    Code:
    SUBSYSTEM=="usb", SYSFS{idProduct}=="2000", SYSFS{idVendor}=="19d2", RUN+="/usr/sbin/usb_modeswitch"
    This will trigger usb_modeswitch every time you plug in the modem. Which is useful if you want it to work automatically.

    4) Add device information to HAL so network-manager recognises the device as a modem

    Finally, in order for Network Manager to recognise the modem information has to be added to HAL.

    Create a new file:
    gksudo gedit /usr/share/hal/fdi/information/20thirdparty/20-zte-mf627.fdi

    Its content should be as follows:
    Code:
    <!-- -*- SGML -*- -->
    <deviceinfo version="0.2">
      <device>
          <!-- ZTE MF627 HSDPA USB dongle -->
          <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>
    Save it.

    5) Plug in the modem
    Make sure the SIM card is in the modem (and if you're using 3 UK make sure you're in a 3G area. otherwise it won't work) and plug it into your PC.

    After several seconds the LED should light red as it powers up, then switch to blue when it finds a network. You can check it's working by checking dmesg: you should see entries for GSM modem, USB drive and CD drive. Once modeswitch has been triggered and the modem reboots you will be presented with the ZeroCD device (e.g. containing the 3connect software), a USB MicroSD card reader, and if everything has gone correctly, Network Manager will detect a new mobile broadband modem.

    Feel free to ignore the ZeroCD device and unmount it from the desktop.

    If everything has gone well dmesg should read something like:
    Code:
    [52022.169361] usb 5-1: new high speed USB device using ehci_hcd and address 31
    [52022.169362] usb 5-1: configuration #1 chosen from 1 choice
    [52022.172724] usb-storage: device ignored
    [52079.232398] usb 5-1: USB disconnect, address 31
    [52189.029694] usb 5-1: new high speed USB device using ehci_hcd and address 32
    [52189.177064] usb 5-1: configuration #1 chosen from 1 choice
    [52189.192061] usb-storage: device ignored
    [52194.546308] usb 5-1: USB disconnect, address 32
    [52200.032140] usb 5-1: new high speed USB device using ehci_hcd and address 33
    [52200.183440] usb 5-1: configuration #1 chosen from 1 choice
    [52200.184979] option 5-1:1.0: GSM modem (1-port) converter detected
    [52200.185184] usb 5-1: GSM modem (1-port) converter now attached to ttyUSB0
    [52200.185453] option 5-1:1.1: GSM modem (1-port) converter detected
    [52200.185592] usb 5-1: GSM modem (1-port) converter now attached to ttyUSB1
    [52200.200858] scsi28 : SCSI emulation for USB Mass Storage devices
    [52200.204904] usb-storage: device found at 33
    [52200.204909] usb-storage: waiting for device to settle before scanning
    [52200.205113] option 5-1:1.3: GSM modem (1-port) converter detected
    [52200.205304] usb 5-1: GSM modem (1-port) converter now attached to ttyUSB2
    [52205.205580] usb-storage: device scan complete
    [52205.207696] scsi 28:0:0:0: Direct-Access     ZTE      MMC Storage      2.31 PQ: 0 ANSI: 2
    [52205.210603] scsi 28:0:0:1: CD-ROM            ZTE      USB SCSI CD-ROM  2.31 PQ: 0 ANSI: 2
    [52205.226669] sd 28:0:0:0: [sdb] Attached SCSI removable disk
    [52205.228914] sd 28:0:0:0: Attached scsi generic sg2 type 0
    [52205.345654] sr1: scsi-1 drive
    [52205.345837] sr 28:0:0:1: Attached scsi CD-ROM sr1
    [52205.346023] sr 28:0:0:1: Attached scsi generic sg3 type 5
    [52218.692468] ISO 9660 Extensions: Microsoft Joliet Level 1
    [52218.699732] ISOFS: changing to secondary root
    (I initially tried to post this in Tips and Tricks but it hasn't appeared yet. I'm posting it here so I at least have it as a record somewhere.)
    Last edited by jfernyhough; July 18th, 2009 at 07:15 PM.
    1) ASUS GL702ZC: Ryzen 1700, 32GB, RX580, MATE@Manjaro-x64
    2) Lenovo X230: Core i5-3320M, 4GB, Intel HD4000, Intel 6205, MATE@Manjaro-x64
    3) MSI GT70: i7-3650, 16GB, GTX680M, MATE@Manjaro-x64

  2. #2
    Join Date
    Dec 2006
    Location
    UK
    Beans
    290
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Howto: Connect ZTE MF627 3G modem with NM0.7

    Hi this looks useful.

    Does this work with both Intrepid and Hardy and/or with network manager and the vodafone betavine application?
    Last edited by spegru; January 7th, 2009 at 10:28 AM.

  3. #3
    Join Date
    Aug 2006
    Location
    Just call me J
    Beans
    1,053
    Distro
    Ubuntu Development Release

    Re: Howto: Connect ZTE MF627 3G modem with NM0.7

    I've tested this with both Intrepid and Jaunty - the same steps work on both. I've no idea whether this will work with Hardy - does Hardy have Network Manager 0.7?

    No idea about the "betavine" program either - I just set up the system so the modem would be recognised natively.
    1) ASUS GL702ZC: Ryzen 1700, 32GB, RX580, MATE@Manjaro-x64
    2) Lenovo X230: Core i5-3320M, 4GB, Intel HD4000, Intel 6205, MATE@Manjaro-x64
    3) MSI GT70: i7-3650, 16GB, GTX680M, MATE@Manjaro-x64

  4. #4
    Join Date
    Jun 2008
    Location
    Milton Keynes, UK
    Beans
    15
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Howto: Connect ZTE MF627 3G modem with NM0.7

    Had a go at automating the steps above, details in this blog post: http://www.greenhughes.com/content/zte-mf627-easy-way.

  5. #5
    Join Date
    Apr 2009
    Beans
    21

    Re: Howto: Connect ZTE MF627 3G modem with NM0.7

    Liam, i tried your method but the file didn't work. Its ok though. I followed jfernyhough's method step by step and FINALLY got my problem resolved! Wow, four days of messing with this thing and finally, I got it working. Thanks jfernyhough!

  6. #6
    Join Date
    Jun 2008
    Location
    Milton Keynes, UK
    Beans
    15
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Howto: Connect ZTE MF627 3G modem with NM0.7

    Hi Fazl, what happened when you tried the file? Did it install ok?

  7. #7
    Join Date
    Jun 2009
    Beans
    2

    Re: Howto: Connect ZTE MF627 3G modem with NM0.7

    Hi

    I've tried to apply the same procedure to a ZON Connection (Portugal), under Debian.

    It's the same device MF627... but I need a PIN code. Is that important (it should be ?

    I've installed the zte-mf627-switch_0.1_all.deb and usb-modeswitch_1.0.2-1_i386.deb, without problems.

    The procedure seems to work, the MF627 device change from

    Bus 005 Device 008: ID 19d2:2000 ONDA Communication S.p.A.

    to

    Bus 005 Device 009: ID 19d2:0031 ONDA Communication S.p.A.

    but the modem does not seems to became active (the light it is still red.

    [ 4660.434370] usb 5-3: new high speed USB device using ehci_hcd and address 8
    [ 4660.589484] usb 5-3: configuration #1 chosen from 1 choice
    [ 4660.591419] usb-storage: device ignored
    [ 4660.591419] usb 5-3: New USB device found, idVendor=19d2, idProduct=2000
    [ 4660.591419] usb 5-3: New USB device strings: Mfr=2, Product=1, SerialNumber=3
    [ 4660.591419] usb 5-3: Product: ZTE CDMA Technologies MSM
    [ 4660.591419] usb 5-3: Manufacturer: ZTE,Incorporated
    [ 4660.591419] usb 5-3: SerialNumber: 1234567890ABCDEF
    [ 4666.493794] usb 5-3: USB disconnect, address 8
    [ 4672.828876] usb 5-3: new high speed USB device using ehci_hcd and address 9
    [ 4672.975249] usb 5-3: configuration #1 chosen from 1 choice
    [ 4672.979994] scsi8 : SCSI emulation for USB Mass Storage devices
    [ 4672.984988] usb-storage: device found at 9
    [ 4672.984988] usb-storage: waiting for device to settle before scanning
    [ 4672.979994] usb 5-3: New USB device found, idVendor=19d2, idProduct=0031
    [ 4672.979994] usb 5-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0
    [ 4672.979994] usb 5-3: Product: ZTE CDMA Technologies MSM
    [ 4672.979994] usb 5-3: Manufacturer: ZTE,Incorporated
    [ 4678.207652] usb-storage: device scan complete
    [ 4678.210651] scsi 8:0:0:0: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 2
    [ 4678.255654] sd 8:0:0:0: [sdb] Attached SCSI removable disk

    do you have any ideia what to change? How and where the PIN code came to action?

    Any help will be deeply appreciated.

    Thank you (Obrigado)

  8. #8
    Join Date
    Jul 2005
    Location
    London,England
    Beans
    1,022
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Howto: Connect ZTE MF627 3G modem with NM0.7

    just got this modem the other day, turns out my ZTE has actual linux software on the mass storage part!, its written in qt3 so it looks kindof ugly but at least the vendor is actually providing linux software, i cant attach it here as its 8MB in size, it depends on libqt3-mt and wvdial
    i sent an email to three asking if there was a download location for the software but didnt get a response and it isnt available at

    http://www.three.com.au/cs/ContentSe...=1215747787891

    ive put it on rapidshare so anyone with this modem can benefit from it http://rapidshare.com/files/257164233/3ukpclin.gz.html
    Jeremy Clarkson - "A Dazzling Hero of Political Incorrectness"
    My LastFM profile
    want to Give each GTK program its own theme? well look Here

  9. #9
    Join Date
    Aug 2006
    Location
    Just call me J
    Beans
    1,053
    Distro
    Ubuntu Development Release

    Re: Howto: Connect ZTE MF627 3G modem with NM0.7

    Does that thing actually work? I tried it initially and it wouldn't even load... though having said that, I'm also trying it on x86_64 not i386 which could likely be an issue.
    1) ASUS GL702ZC: Ryzen 1700, 32GB, RX580, MATE@Manjaro-x64
    2) Lenovo X230: Core i5-3320M, 4GB, Intel HD4000, Intel 6205, MATE@Manjaro-x64
    3) MSI GT70: i7-3650, 16GB, GTX680M, MATE@Manjaro-x64

  10. #10
    Join Date
    Jul 2005
    Location
    London,England
    Beans
    1,022
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Howto: Connect ZTE MF627 3G modem with NM0.7

    the software is i386 only as far as i know but it works fine here
    Jeremy Clarkson - "A Dazzling Hero of Political Incorrectness"
    My LastFM profile
    want to Give each GTK program its own theme? well look Here

Page 1 of 2 12 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
  •