Simple gui for showing network info

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

Simple gui for showing network info

#1 Post by vovchik »

Dear puppians,

Some time ago I hacked together a tiny little app to show network information. Here it is... If you have any suggestions on how to improve it, please post them...

With kind regards,
vovchik
Attachments
ipinfo.jpg
(74.13 KiB) Downloaded 1039 times
ipinfo.tar.gz
(733 Bytes) Downloaded 767 times

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#2 Post by aragon »

hi vovchik,

nice idea.

maybe it would make sense to also report the external ip. see this thread for more info http://www.murga-linux.com/puppy/viewtopic.php?p=334714

aragon

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#3 Post by vovchik »

Dear Aragon,

Thanks for the suggestion. I implemented it in this version. Please have a look....

With kind regards,
vovchik
Attachments
ipinfo.tar.gz
(781 Bytes) Downloaded 734 times

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#4 Post by aragon »

hi vovchik,

get some errormessages:
version 1

Code: Select all

gtkdialog: Error in line 31, near token 'string': syntax error

aborting...
./ipinfo: line 89:  9601 Aborted                 gtkdialog3 --program=show_ip_info --center
version 2

Code: Select all

gtkdialog: Error in line 31, near token 'string': syntax error

aborting...
/usr/bin/ipinfo: line 93: 10016 Aborted                 gtkdialog3 --program=show_ip_info --center
shoud be something small, but i can't figure out atm, what it is...

aragon

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#5 Post by vovchik »

Dear aragon,

I get this error on 4.10 and not 3.01, where I did the modification. On 4.10, I am using gtkdialog v. 7.20 and 7.21 on 3.01, but I just tested on 4.10 with the newer gtkdialog and the error persists. The only thing I did was add one line to the script in order capture the external IP in a var and then to print the var within gtkdialog. Vexing indeed!!! If you have an idea about what might be wrong, please post it.

With kind regards,
vovchik

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#6 Post by aragon »

problem is, i get the errormessages with both versions of the script, that means version 1 + 2 ;-)

i have no clue atm, i found gtkdialog very 'bitchy' sometimes...

aragon

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#7 Post by vovchik »

Dear aragon,

This version - without any salient changes - works on both my machines under 3.01 and 4.10. Could you kindly give this a try?

Thanks...

With kind regards,
vovchik
Attachments
ipinfo1.tar.gz
(1.12 KiB) Downloaded 755 times

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#8 Post by aragon »

will test the new version with the same setup (modded 4.10) this evening and with a clean 4.21 setup.

aragon

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#9 Post by aragon »

ok first test with 4.21, all 3 version do work! ;-)

aragon

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#10 Post by aragon »

ok, second test on the modded 4.10: no. 3 works :D

might be interesting for inclusion in 4.4 as standalone or as a button in the connection wizarrd.

aragon

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#11 Post by sunburnt »

Hi vovchik; Suggestion: always use the original first post to post new app. versions.
That`s why the Attachments section has remove and update on it.
That way folks don`t have to look through all the posts to find the latest version.

Also... If my app. has a GUI, I usually post a pix of the GUI too.

vanchutr
Posts: 438
Joined: Sat 05 Aug 2006, 12:04

Simple gui for showing network info

#12 Post by vanchutr »

Dear vovchik
ipoinfo works in puppies-431
ipoinfo1 works in puppies-431
I will test these scripts in other Puppy versions. Thank you

Post Reply