My IP (quick showing ip address)

Rating: 
5
Your rating: None Average: 5 (3 votes)

Simple button for showing IP address.

Please install WHOIS package from here: https://openrepos.net/content/feathersmcgraw/whois
or at least apply his repo.

NOTES:
* If you can't install because of this package (lipstick-qt5-tools), open terminal as ROOT and run:
pkcon refresh
When it finish, run:
pkcon install lipstick-qt5-tools
After this try to install my package again.
* If you want to write log every time when you press on button and phone connected to wifi, run this command as ROOT:
sed -i -e '26 s/#su/su/g' /usr/share/openrepos-myipaddress/myipaddress.sh
Log file you will find in /home/nemo/myipaddress.log

v0.1-7
- Small changes in the script.
- Added bigger icons.
- For Jolla1 and JollaC.

v0.1-6
* Small changes in the .spec file.

v0.1-5
* Now also will show private IP when you on 3/4G (see first screenshot)

v0.1-4
* whois command changed. Please install whois package from here: https://openrepos.net/content/feathersmcgraw/whois

v0.1-3
* Now can show public ip and isp name when you on 3/4G instead internal ip (needed curl and whois packages)
* Notification icon changed
* Added option to create log file when you are connected to wifi (see description) .

Beware, use it on your own risk !!!

Donation are welcome :)

Screenshots: 
Application versions: 
AttachmentSizeDate
File myipaddress-0.1-1.armv7hl.rpm15.14 KB04/05/2016 - 00:35
File myipaddress-0.1-1.i486.rpm14.99 KB04/05/2016 - 00:38
File myipaddress-0.1-4.i486.rpm13.96 KB05/05/2016 - 14:45
File myipaddress-0.1-4.armv7hl.rpm14.12 KB05/05/2016 - 14:45
File myipaddress-0.1-5.i486.rpm14.01 KB06/05/2016 - 01:45
File myipaddress-0.1-5.armv7hl.rpm14.14 KB06/05/2016 - 01:45
File myipaddress-0.1-6.i486.rpm14.74 KB08/05/2016 - 11:09
File myipaddress-0.1-6.armv7hl.rpm14.89 KB08/05/2016 - 11:09
File myipaddress-0.1-7.armv7hl.rpm29.2 KB21/08/2016 - 11:35
Changelog: 

- Small changes in the script.
- Added bigger icons.
- For Jolla1 and JollaC.

Comments

Ygorr's picture

Very Useful and  Self-sufficient indeed. 

 

It only remains to add the ability to change the color of the icon, although changing the icons for an individual application is a global task

Schturman's picture

hmmm, you can change the icon here: /usr/share/icons/hicolor/86x86/apps/openrepos-myipaddress.png

gsalone's picture

Not possible to install in Jolla C.

 

Status: dep-resolution-failed

Extra details:

nothing provides whois needed by myipaddress-0.1-7.armv7hl

Schturman's picture

Please read description and install whois package.

mika77's picture

Now shows my public ip address, thank you very much. I love this app, it's very useful ^-^

Jordi's picture

Thanks Schturman, much appreciated!

Schturman's picture

you are welcome ;)

mika77's picture

Hi, thanks for your app !. It's possible to add an option to show public ip address ? we don't have an app like this on Sailfish.

P.D: If you add this feature it could also be nice that the app stores the different ip's you had by dates :$

objectifnul's picture

@mika77 I suggest this terminal command:

links monip.org

(you need links of course)

monip

Schturman's picture

His required for the public ip has already been implemented with cron and whois :)

Schturman's picture

Hi.
I don't understand what you mean "Public IP" ?
By pressing on the button it just showing current IP address that your phone connected to it.
rmnet0 - means ip from 3/4G
wlan0 - means ip wifi, also show name of network
tether - means ip when your sharing 3/4G internet to other.

About storing ip addresses - app not running in background, it reading ip address only when you press on the button. I can add creating log in /home/nemo directory every time when you press on the button. It can include ip address, network name and date.

mika77's picture

rmnet0 is showing me a private ip 10.x.x.x.x

I can only see my public ip if I go to some sites like whatismyip.com

Schturman's picture

Ahh, ok... I will add it to the next update... (maybe today)...