What you may find here

In this blog you'll mainly find all things Linux - problems, solutions, reports, rants, tips & tricks etc. with the occasional off-topic entry thrown in. You never would have guessed looking at the URL, huh?
In diesem Blog findet ihr hauptsächlich Themen rund um Linux - Probleme, Lösungen, Berichte, Meinungen, Tips & Tricks und dazwischen ein paar überhaupt nicht dazu passende Einträge. Wärt ihr bei der URL nie drauf gekommen, ne?

Mailt mal! Email me!

Re-Hi... (en)

gsm-ussdPosted by Jochen Fri, June 03, 2011 13:04:49

Hi everyone,

as I've been quiet for a long time now, here's a little update. Version 0.4.0-25 is now available on the download page in deb-, rpm-, and tar.gz-flavors.

In short, this version should work as well (or not) as the previous version 0.3.3. I just added two more modems which require PDU mode to work. All the rest ist "just" a redesign of the whole thing. That is done and OK, IMHO. All I need now is the motivation to go on with all the other plans I have... smiley

My plans for version 4.1 include getting rid of that modem list for PDU mode modems. I'll simply try a cleartext USSD query first. If that fails, I'll simply repeat the query, this time PDU encoded. I hope that'll work out OK.

Best regards,


Fill in only if you are not real

The following XHTML tags are allowed: <b>, <br/>, <em>, <i>, <strong>, <u>. CSS styles and Javascript are not permitted.
Posted by L29Ah Wed, September 23, 2015 23:46:12

GSM equipment error: UNKNOWN (UNKNOWN)


Posted by Riad Fri, September 11, 2015 21:39:38

Not tested yet, but for "Terence Eden ven., juin 29, 2012 16:24:47", you need just to change line 945 from :
if ( $query =~ m/^\*[0-9*]+#$/ || $query =~ m/^\d+$/)
if ( $query =~ m/^\*#[0-9*]+#$/ || $query =~ m/^\*[0-9*]+#$/ || $query =~ m/^\d+$/)

Posted by Andrew Tue, November 25, 2014 15:26:12

Great work. You are doing a good job. Please keep it us. for a good while I have been searching for something like this to experiment and here it is that you have pretty much ironed out all the kinks that anyone would encounter.

Once again, GREAT JOB!

Posted by Stefan Wed, September 26, 2012 08:34:59

What does this mean? Trying to install the .deb package on Ubu 12.04."The installation of a package which violates the quality standards isn't allowed. This could cause serious problems on your computer. Please contact the person or organisation who provided this package file and include the details beneath."I guess nothing serious, but would be nice to fix.

Posted by Stefan Wed, September 26, 2012 08:30:39

@Terence: Not all *# sequences are USSD! Actually some codes are interpreted and intercepted by the phone and sent by other means, e.g. MAP signalling.There are defined number ranges.Four cases:1) GSM Supplementary code (your case): Intercepted by phone and send via MAP signalling.2) USSD code of home network. Will be sent to home network (even if you roam abroad)3) USSD code for local usage. Will be evaluated in the visited network. (I don't know any application for this)4) None of the above: Will be send as phone number.Jochen's App handles probably only 2) and 3), e.g. the USSD codes.

Posted by Terence Eden Fri, June 29, 2012 16:24:47

Hi,Great program, really useful. I think I've found a small bug in version 0.3.3 :-)I'm trying to use the USSD which checks the status of my call diverts - *#21# - but I get this error"*#21#" is not a valid USSD query - ignored.This only seems to happen on *# codes - all others work fine.ThanksT

Posted by Djape Mon, September 26, 2011 12:53:59

Thank you for all the hard work.
Highly appreciated ;)

Posted by Jochen Mon, June 27, 2011 09:48:33

Well, sometimes it's better to be a good copy than a bad original!
Thanks for your suggestion, I'll mention you when 4.1 comes out.

Bye, Jochen

Posted by ginggs Thu, June 16, 2011 10:23:27

"I'll simply try a cleartext USSD query first. If that fails, I'll simply repeat the query, this time PDU encoded."

What a brilliant idea! ;)