Mailing List Archive

Looking for anyone with a N900 running Maemo5 to run a shell script & get some diagnostics for me
I want everyone who has a N900 running Maemo5 (and who can do it) to run
the following shell script on their N900 (make sure the script has UNIX
line endings rather than dos otherwise things will break)

echo get_service_provider_name
dbus-send --system --print-reply --dest=com.nokia.phone.SIM
/com/nokia/phone/SIM Phone.Sim.get_service_provider_name
echo get_service_provider_info
dbus-send --system --print-reply --dest=com.nokia.phone.SIM
/com/nokia/phone/SIM Phone.Sim.get_service_provider_info
CSD_NET=`dbus-send --system --print-reply --dest=com.nokia.phone.net
/com/nokia/phone/net Phone.Net.get_registration_status | grep uint32`
OPERATOR_COUNTRY_CODE=`echo -e $CSD_NET | awk 'NR < 2{ print $6 }' `
OPERATOR_NETWORK_ID=`echo -e $CSD_NET | awk 'NR < 2{ print $4 }'`
NETWORK_ID=$OPERATOR_NETWORK_ID
OPERATOR_NETWORK_ID_STRIPPED=`echo $NETWORK_ID | sed 's/0*//'`
echo country $OPERATOR_COUNTRY_CODE
echo operator $OPERATOR_NETWORK_ID_STRIPPED
echo NET_NITZ_FULL_OPER_NAME
dbus-send --system --print-reply --dest=com.nokia.phone.net
/com/nokia/phone/net Phone.Net.get_operator_name byte:3
uint32:$OPERATOR_NETWORK_ID_STRIPPED uint32:$OPERATOR_COUNTRY_CODE
echo NET_HARDCODED_LATIN_OPER_NAME
dbus-send --system --print-reply --dest=com.nokia.phone.net
/com/nokia/phone/net Phone.Net.get_operator_name byte:0
uint32:$OPERATOR_NETWORK_ID_STRIPPED uint32:$OPERATOR_COUNTRY_CODE

What I want is the output from this shell script. I also want to know what
the name of your service provider is (i.e. the company you pay for service)
as well as the name of your operator (i.e. the company that actually
operates the cell towers and/or matches the MNC/MCC that get output by the
script as "country" and "operator") and I want to know whether you were
connected to 2G or 3G when you ran the script as well as what operator name
was displayed on the home screen and whether you were roaming or on your
home operator at the time. (if there is someone out there who is in a
position to get output from when you are roaming rather than on your home
network, that would be nice)

This data will help me figure out exactly how to get the operator name as
displayed by the home screen widget so that my Cell Broadcast SMS widget
can display the correct name 100% of the time.
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Looking for anyone with a N900 running Maemo5 to run a shell script & get some diagnostics for me [ In reply to ]
2011/10/26 Jonathan Wilson <jfwfreo@tpgi.com.au>

> I want everyone who has a N900 running Maemo5 (and who can do it) to run
> the following shell script on their N900 (make sure the script has UNIX line
> endings rather than dos otherwise things will break)
>
>
get_service_provider_name
method return sender=:1.20 -> dest=:1.1384 reply_serial=2
string "BASE DE"
uint32 0
uint32 0
int32 0
get_service_provider_info
method return sender=:1.20 -> dest=:1.1385 reply_serial=2
array [
]
int32 1003
country 262
operator 3
NET_NITZ_FULL_OPER_NAME
method return sender=:1.20 -> dest=:1.1387 reply_serial=2
string ""
int32 1000
NET_HARDCODED_LATIN_OPER_NAME
method return sender=:1.20 -> dest=:1.1388 reply_serial=2
string "E-Plus"
int32 0


Service provider is BASE
Operator E-Plus
operator name widget shows "BASE DE"
There is no difference in the output for 3G and GSM.
This is my home net.


regards
Nicolai
Re: Looking for anyone with a N900 running Maemo5 to run a shell script & get some diagnostics for me [ In reply to ]
>2011/10/26 Jonathan Wilson <jfwfreo@tpgi.com.au>
>I want everyone who has a N900 running Maemo5 (and who can do it) to run the following shell script on their N900 (make sure the script has UNIX line endings rather than dos otherwise things will break)

get_service_provider_name
method return sender=:1.18 -> dest=:1.385 reply_serial=2
string "Saunalahti"
uint32 0
uint32 1
int32 0
get_service_provider_info
method return sender=:1.18 -> dest=:1.386 reply_serial=2
array [
byte 66
byte 244
byte 80
byte 0
]
int32 0
country 244
operator 5
NET_NITZ_FULL_OPER_NAME
method return sender=:1.18 -> dest=:1.388 reply_serial=2
string ""
int32 1000
NET_HARDCODED_LATIN_OPER_NAME
method return sender=:1.18 -> dest=:1.389 reply_serial=2
string "elisa"
int32 0
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Looking for anyone with a N900 running Maemo5 to run a shell script & get some diagnostics for me [ In reply to ]
> What I want is the output from this shell script. I also want to know what
> the name of your service provider is (i.e. the company you pay for service)
> as well as the name of your operator (i.e. the company that actually
> operates the cell towers and/or matches the MNC/MCC that get output by the
> script as "country" and "operator") and I want to know whether you were
> connected to 2G or 3G when you ran the script as well as what operator name
> was displayed on the home screen and whether you were roaming or on your
> home operator at the time. (if there is someone out there who is in a
> position to get output from when you are roaming rather than on your home
> network, that would be nice)

Here you go:
> get_service_provider_name
> method return sender=:1.18 -> dest=:1.3214 reply_serial=2
> string ""
> uint32 0
> uint32 0
> int32 1003
> get_service_provider_info
> method return sender=:1.18 -> dest=:1.3215 reply_serial=2
> array [
> ]
> int32 1003
> country 234
> operator 30
> NET_NITZ_FULL_OPER_NAME
> method return sender=:1.18 -> dest=:1.3217 reply_serial=2
> string ""
> int32 1000
> NET_HARDCODED_LATIN_OPER_NAME
> method return sender=:1.18 -> dest=:1.3218 reply_serial=2
> string "T-Mobile UK"
> int32 0

As you can probably tell, I'm using T-Mobile in the UK, and this was on
2G :)

...and here it is again, but on 3G this time:
> get_service_provider_name
> method return sender=:1.18 -> dest=:1.3233 reply_serial=2
> string ""
> uint32 0
> uint32 0
> int32 1003
> get_service_provider_info
> method return sender=:1.18 -> dest=:1.3234 reply_serial=2
> array [
> ]
> int32 1003
> country 234
> operator 30
> NET_NITZ_FULL_OPER_NAME
> method return sender=:1.18 -> dest=:1.3236 reply_serial=2
> string ""
> int32 1000
> NET_HARDCODED_LATIN_OPER_NAME
> method return sender=:1.18 -> dest=:1.3237 reply_serial=2
> string "T-Mobile UK"
> int32 0

- Jamie
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Looking for anyone with a N900 running Maemo5 to run a shell script & get some diagnostics for me [ In reply to ]
Hi, Jonathan,

I'm happy to help, but you've got to make it easier: I needed to
manually fix the line breaks.

At Thu, 27 Oct 2011 00:19:41 +0800,
Jonathan Wilson wrote:
>
> What I want is the output from this shell script.

get_service_provider_name
method return sender=:1.20 -> dest=:1.318 reply_serial=2
string "blau"
uint32 0
uint32 0
int32 0
get_service_provider_info
method return sender=:1.20 -> dest=:1.319 reply_serial=2
array [
]
int32 1003
country 262
operator 3
NET_NITZ_FULL_OPER_NAME
method return sender=:1.20 -> dest=:1.321 reply_serial=2
string ""
int32 1000
NET_HARDCODED_LATIN_OPER_NAME
method return sender=:1.20 -> dest=:1.322 reply_serial=2
string "E-Plus"
int32 0


> I also want to know what
> the name of your service provider is (i.e. the company you pay for
> service)

blau

> as well as the name of your operator (i.e. the company that actually
> operates the cell towers and/or matches the MNC/MCC that get output by the
> script as "country" and "operator")

E-Plus

> and I want to know whether you were
> connected to 2G or 3G when you ran the script

3G

> as well as what operator name
> was displayed on the home screen

blau

> and whether you were roaming or on your
> home operator at the time.

home operator

> (if there is someone out there who is in a
> position to get output from when you are roaming rather than on your home
> network, that would be nice)

Looking through my logs, here is what I say when roaming in Austria:

method call sender=:1.33 -> dest=com.nokia.phone.net serial=305
path=/com/nokia/phone/net; interface=Phone.Net;
member=get_operator_name
byte 0
uint32 1
uint32 262
method return sender=:1.20 -> dest=:1.33 reply_serial=305
string "T-Mobile D"
int32 0

I didn't find any calls to get_service_provider_name or
get_service_provider_info.

HTH
Neal
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers