maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   app to show AP's domain/ip? (https://talk.maemo.org/showthread.php?t=49298)

roja 2010-04-05 20:47

app to show AP's domain/ip?
 
Guys, is there a way to show the GPRS AP's domain name o IP address?

Many thanks

noobmonkey 2010-04-05 20:50

Re: app to show AP's domain/ip?
 
you could use the DCE app - and a command from the wiki :D

For example :
Code:

wget -q -O - api.myiptest.com | awk -F"\"" '{print $4}'

mooninite 2010-04-05 22:38

Re: app to show AP's domain/ip?
 
Code:

$ /sbin/ifconfig gprs0

roja 2010-04-05 23:23

Re: app to show AP's domain/ip?
 
thanks noobmonkey, and mooninite.
mooninite, I wonder what info i should be seeing with your command? need to be root to do that?

many thanks

mooninite 2010-04-06 04:53

Re: app to show AP's domain/ip?
 
Quote:

Originally Posted by roja (Post 597031)
mooninite, I wonder what info i should be seeing with your command? need to be root to do that?

You'll see traditional ifconfig output. IP address, packet counts, etc. You will need to be actually connected to a GPRS point first for it to work. You do not need to be root.

noobmonkey 2010-04-06 07:21

Re: app to show AP's domain/ip?
 
Quote:

Originally Posted by mooninite (Post 597261)
You'll see traditional ifconfig output. IP address, packet counts, etc. You will need to be actually connected to a GPRS point first for it to work. You do not need to be root.

thats the internal ip though isn't it?

btyers 2010-04-09 10:10

Re: app to show AP's domain/ip?
 
What IP address do you want to show?

The public IP address of the mobile network, or the IP address of your device?

It is not easy (in some cases not possible) to show the IP address of the mobile network, other than using www.whatsmyip.org.

It is trivial to show the IP of your device.

Depending on the network you are a subscriber of, some will assign you a publically routable IP address, while most will provide you with a private IP address.

I use a desktop widget called Personal IP Address widget. This will show you the IP address of a) your wlan0 (wifi interface) or b) gprs0 (mobile network interface).

Hope that helps.

Link to widget: http://maemo.org/downloads/product/M...al-ip-address/


All times are GMT. The time now is 04:59.

vBulletin® Version 3.8.8