Re: How to make the ZTE MF192 3G+ HSPA modem work on Linux with Sakis3G script.

1,515 views
Skip to first unread message

Ibrahim Ng'eno

unread,
May 18, 2012, 8:15:12 AM5/18/12
to Eng.Dennis Mungai E., nairo...@googlegroups.com
Hey guys,

I got this info from one Dennis Mungai <dmn...@gmail.com> (
brianiarc7 on #nairobilug ) regarding connecting to the internet using
the ZTE MF192 HSPA modem aka the Orange Highs speed 3G modem [ 21 Mbps
]

Enjoy

On 5/18/12, Eng.Dennis Mungai E. <dmn...@gmail.com> wrote:
> Hello,
>
> Outlined in this email is the procedure for downloading, installing and
> executing the Sakis3G script from this site <http://www.sakis3g.org/>.
>
> Background information:
>
> The ZTE MF192 HSPA 3G+ modem works flawlessly with the latest version of
> usb_modeswitch (as at publication), and any recent linux distro should be
> supported.
>
> Output of lsusb from the terminal emulator on Ubuntu:
>
> lin@Lin-TravelMate-5740:~$ lsusb
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
> Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
> Bus 001 Device 003: ID 064e:a219 Suyin Corp. 1.3M WebCam (notebook
> emachines E730, Acer sub-brand)
> Bus 001 Device 004: ID 0489:e011 Foxconn / Hon Hai
> Bus 002 Device 003: ID 0079:0006 DragonRise Inc. Generic USB Joystick
> Bus 002 Device 005: ID 19d2:1519 ZTE WCDMA Technologies MSM
> lin@Lin-TravelMate-5740:~$
> Here, the device has the ID 19d2:1519 and its' entry is already included in
> a config file under the directory /etc/usb_modeswitch.d
>
> To connect to the internet, dial out through /dev/ttyACM2 (Interface 5)
> under the Sakis3G script setup.
>
> Downloading and executing Sakis 3G:
>
> 1. Download the tar.gz file from the sourceforge.com's link provided in the
> page referenced by the hyperlink above.(103kB)
> 2. Extract the file sakis3g to a directory of choice.
> 3. Change its' permissions to read-write-execute (chmod777).
> 4.Execute it as a sudoer:
>
> sudo ./sakis3G
>
> 5. Follow the setup instructions.
>
> Note:
>
> 1. The modem dials out through /dev/ttyACM2 or Interface 5.
> 2. Enter "orange" as username and password when prompted. In the GUI, these
> fields are mandatory.
> 3. After connecting, select "View connection info" and minimize the GTK
> applet.
>
> There, we are done.
>

Frederick Muriithi

unread,
May 18, 2012, 8:22:39 AM5/18/12
to nairo...@googlegroups.com
Thanks people.

--
Frederick M. Muriithi

Reagan Murunga Mangwana

unread,
May 18, 2012, 1:02:09 PM5/18/12
to nairo...@googlegroups.com
Nice info. Though did my connection with usb_modeswitch and gnome-ppp. still works for me.

Dennis Mungai

unread,
May 26, 2012, 2:09:02 PM5/26/12
to nairo...@googlegroups.com

Hey, share with us the procedure you undertook to make this a reality.

Reagan Murunga Mangwana

unread,
May 26, 2012, 3:06:22 PM5/26/12
to nairo...@googlegroups.com
Hi guys, First of all, I have an Ubuntu 10.04 (am scared of upgrades !!) but this also worked grudgingly in Mint 12 for a friend.
------------------
I actually got these instructions in one of the usb_modeswitch forums.....just forgot to bookmark the URL and I cant find it in my browser history.
I updated my "/etc/usb_modeswitch.d" with MF192  details which I got from the same usb_modeswitch site.
Then duplicated one of the existing ZTE lines in "/lib/udev/rules.d/40-usb_modeswitch.rules" and edited the new line to reflect the product ID of my modem, according to usb_modeswitch details downloaded  e.g (... ATTRS{idProduct}=="0146" ...).
Modem was detected and I then launched gnome-ppp as root and configured it to connect to the internet -it is rather straight forward  if you have used tools like gnome-ppp before but I can get you the details if required or you may google.
NB: I think if you have the latest usb_modeswitch you should have your modem detected without the first 2 steps.

I hope I have made sense.
Reagan

Eng.Dennis Mungai E.

unread,
May 27, 2012, 5:55:53 AM5/27/12
to nairo...@googlegroups.com

Thanks man.

wash

unread,
Aug 28, 2012, 3:46:56 AM8/28/12
to nairo...@googlegroups.com, Eng.Dennis Mungai E.
Thanks for  the info Deno and Eebrah. But that doesnt seem to work for me. Executing sakis3G exits with a segmentation fault and core dump. This has bugged me for a whole week and am yet to get a solution. 

Raymond Wanyoike

unread,
Aug 28, 2012, 4:06:58 AM8/28/12
to nairo...@googlegroups.com, Eng.Dennis Mungai E.

Raymond

wash

unread,
Aug 28, 2012, 4:10:28 AM8/28/12
to nairo...@googlegroups.com
BTW am using ubuntu 12.04 

Raymond Wanyoike

unread,
Aug 28, 2012, 4:24:37 AM8/28/12
to nairo...@googlegroups.com, Eng.Dennis Mungai E.
Whats the core dump it's giving you?

Raymond

On Aug 28, 2012, at 11:06 AM, Raymond Wanyoike wrote:

<GTFO.jpeg>

Alan Orth

unread,
Aug 28, 2012, 5:03:46 AM8/28/12
to nairo...@googlegroups.com
All,

I've never used sakis3G, but isn't it possibly a 32-bit binary expecting wxWidgets graphics libs or something?  Possibly an architecture mismatch... or missing libs.

Alan
-- 
Alan Orth
alan...@gmail.com
http://alaninkenya.org
http://mjanja.co.ke
"I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone." -Bjarne Stroustrup, inventor of C++

wash

unread,
Aug 28, 2012, 5:45:10 AM8/28/12
to nairo...@googlegroups.com, Eng.Dennis Mungai E.
nothing much. just the message "segmentation fault(core dumped)".


wash

unread,
Aug 28, 2012, 5:49:41 AM8/28/12
to nairo...@googlegroups.com
After some research online, ive found that sakis3G is apparently  dependent on Zenity which keeps crashing in Ubuntu 12.04, its a reported bug 

Raymond Wanyoike

unread,
Aug 28, 2012, 5:58:54 AM8/28/12
to nairo...@googlegroups.com
If Zentiy is the problem you can use the --console flag to connect  without Zenity (no GUI). 

Plug in you're ZTE MF192 and list the contents of /dev/tty*
> ls /dev/tty*

What is your device identified as? e.g. mine is /dev/ttyACM

Raymond

wash

unread,
Aug 28, 2012, 6:31:42 AM8/28/12
to nairo...@googlegroups.com
Let me check it out. will get back to u as soon as i do that

chegek...@gmail.com

unread,
Aug 28, 2012, 6:44:43 AM8/28/12
to nairo...@googlegroups.com
It should be something like /dev/ttyACM0

--------------------------
Chege Kinuthia

chegek...@gmail.com

unread,
Aug 28, 2012, 6:45:51 AM8/28/12
to nairo...@googlegroups.com
dmeg | grep tty

--------------------------
Chege Kinuthia

wash

unread,
Aug 28, 2012, 6:48:14 AM8/28/12
to nairo...@googlegroups.com
Thank UUUU! I executed sakis3G in interactive mode with --console flag and have managed to connect! Am now using the modem from ubuntu. All alomg i had to keep switching between ubuntu and windows to try out the solutions

Wash-SE

unread,
Aug 28, 2012, 6:53:11 AM8/28/12
to nairo...@googlegroups.com
the exact command was :  ./sakis3g --interactive "--console" "connect"

Raymond Wanyoike

unread,
Aug 28, 2012, 7:07:07 AM8/28/12
to nairo...@googlegroups.com
You can save time by skipping the --interactive flag and saving the full command in a new file (sakis3g-orange.sh) as a script.

#!/usr/bin/env bash

./sakis3g --console connect OTHER="CUSTOM_TTY" CUSTOM_TTY="/dev/ttyACM0" APN="CUSTOM_APN" CUSTOM_APN="bew.orange.co.ke" APN_USER="orange" APN_PASS="orange"

Where /dev/ttyACM0 is your ZTF modem. The rest is self explanatory. Then, chmod +x sakis3g-orange.sh
Now anytime you want to connect, all you need to run is: ./sakis3g-orange.sh

Raymond

Wash-SE

unread,
Aug 28, 2012, 7:59:27 AM8/28/12
to nairo...@googlegroups.com
Tried the script and hit a snag.. Here's what it says:

Please select APN by using APN variable, or by enabling interactive mode.
    $ /home/wachira/sakis3g --interactive "--console" "connect" "OTHER=CUSTOM_TTY" "CUSTOM_TTY=/dev/ttyACM0"

Available options are:
bew.orange.co.ke    Reported by your modem (bew.orange.co.ke)
CUSTOM_APN    Custom APN...

Example:
    $ /home/wachira/sakis3g APN="bew.orange.co.ke"

Raymond Wanyoike

unread,
Aug 28, 2012, 8:02:42 AM8/28/12
to nairo...@googlegroups.com
This part of the script is one long line, not two:

./sakis3g --console connect OTHER="CUSTOM_TTY" CUSTOM_TTY="/dev/ttyACM0" APN="CUSTOM_APN" CUSTOM_APN="bew.orange.co.ke" APN_USER="orange" APN_PASS="orange"

Raymond

Wash-SE

unread,
Aug 28, 2012, 8:12:01 AM8/28/12
to nairo...@googlegroups.com
Thanks. It worked

Wash-SE

unread,
Sep 6, 2012, 8:23:55 AM9/6/12
to nairo...@googlegroups.com
Hey people. Has anyone of you come across the following while using zte mf192 orange modem. "PPP link control protocol was terminated". Ave been trying to get online with my modem but no sucess. Keeps giving that error. How do you go about it?

Karibe

unread,
Jan 24, 2013, 6:51:56 PM1/24/13
to nairo...@googlegroups.com
Just used this and it works. thanks, saved me a lot of gui.

chacha kairu

unread,
May 7, 2013, 10:58:13 AM5/7/13
to nairo...@googlegroups.com, Eng.Dennis Mungai E.
Hello,
I know it's a bit late for this some help will be appriciated appreciated  
After following up your instructions on how to install the sakis3g. The installation went OK but when i select modem type to be USB Device from the options provided. I get an error :"This option is not available. Please see --help for all possible usages.".
Kindly assist. I desperately want to have My Orange Modem Running on this BOX am tired of switching to Windows every-time i want to connect to Net. 

Environment:
CENTOS 6.3 - 32bit 
Running on a dualboot but i don't think this is affecting anything.
Thanks


I get

Ibrahim Ng'eno

unread,
May 7, 2013, 2:49:36 PM5/7/13
to nairo...@googlegroups.com
Hey Chacha Kairu,

Mind attaching a screenshot of the error message?


On 5/7/13, chacha kairu <nickc...@gmail.com> wrote:
> Hello,
> *I know it's a bit late for this some help will be appriciated
> appreciated *
> After following up your instructions on how to install the sakis3g. The
> installation went OK but when i select modem type to be USB Device from the
>
> options provided. I get an error :"*This option is not available. Please
> see --help for all possible usages.*".
> Kindly assist. I desperately want to have My Orange Modem Running on this
> BOX am tired of switching to Windows every-time i want to connect to Net.
> *
> Environment:
> CENTOS 6.3 - 32bit
> Running on a dualboot but i don't think this is affecting anything.
> Thanks*
>
> I get
>
> On Friday, 18 May 2012 08:15:12 UTC-4, eebrah wrote:
>>
>> Hey guys,
>>
>> I got this info from one Dennis Mungai <dmn...@gmail.com <javascript:>> (
>>
>> brianiarc7 on #nairobilug ) regarding connecting to the internet using
>> the ZTE MF192 HSPA modem aka the Orange Highs speed 3G modem [ 21 Mbps
>> ]
>>
>> Enjoy
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Nairobi GNU/Linux User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nairobi-gnu...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>


--
Ibrahim Ngeno
eebrah.netivity.co.ke
+254737494100

chacha kairu

unread,
Jun 3, 2013, 5:42:48 PM6/3/13
to nairo...@googlegroups.com
Sorry for the late reply but i got it working. I will compile some tutorials on how i got it working so that i can help any other guy out there who could be stuck. 
thanks a lot. 

Samson Mugo

unread,
Jul 15, 2013, 3:41:38 AM7/15/13
to nairo...@googlegroups.com
Hey, chacha,

Im on Cent 6.4 64-bit, its giving me a hell of a time and the sakis site is timing out. How did you get it working?

David Karibe

unread,
Jul 15, 2013, 5:22:05 AM7/15/13
to nairo...@googlegroups.com


You received this message because you are subscribed to a topic in the Google Groups "Nairobi GNU/Linux User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nairobi-gnu/prWqJwE5ueA/unsubscribe.

To unsubscribe from this group and all its topics, send an email to nairobi-gnu...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
-------------------------

enoch otieno

unread,
Aug 13, 2013, 3:57:18 AM8/13/13
to nairo...@googlegroups.com, Eng.Dennis Mungai E.
You would just use the latest version of linux mint and everything will be done for you. This is advice to those who are not terminal freaks

David Karibe

unread,
Aug 13, 2013, 8:10:15 AM8/13/13
to nairo...@googlegroups.com
Also ubuntu 13.04, nothing to do, just plug it in, few clicks and u r online


On Tue, Aug 13, 2013 at 10:57 AM, enoch otieno <eoti...@gmail.com> wrote:
You would just use the latest version of linux mint and everything will be done for you. This is advice to those who are not terminal freaks

--
You received this message because you are subscribed to a topic in the Google Groups "Nairobi GNU/Linux User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nairobi-gnu/prWqJwE5ueA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nairobi-gnu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ibrahim Ng'eno

unread,
Aug 13, 2013, 9:19:21 AM8/13/13
to nairo...@googlegroups.com

Recent Linux releases have this sorted. Fedora 17 for instance

You received this message because you are subscribed to the Google Groups "Nairobi GNU/Linux User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nairobi-gnu...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages