Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 11:24
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Simple gui for showing network info
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Thu 01 Oct 2009, 04:24    Post_subject:  Simple gui for showing network info  

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
ipinfo.jpg
 Description   
 Filesize   74.13 KB
 Viewed   931 Time(s)

ipinfo.jpg

ipinfo.tar.gz
Description 
gz

 Download 
Filename  ipinfo.tar.gz 
Filesize  733 Bytes 
Downloaded  580 Time(s) 
Back to top
View user's profile Send_private_message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Thu 01 Oct 2009, 09:34    Post_subject:  

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

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Thu 01 Oct 2009, 10:56    Post_subject:  

Dear Aragon,

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

With kind regards,
vovchik
ipinfo.tar.gz
Description 
gz

 Download 
Filename  ipinfo.tar.gz 
Filesize  781 Bytes 
Downloaded  548 Time(s) 
Back to top
View user's profile Send_private_message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Thu 01 Oct 2009, 14:37    Post_subject:  

hi vovchik,

get some errormessages:
version 1
Code:
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:
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

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Thu 01 Oct 2009, 14:49    Post_subject:  

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
Back to top
View user's profile Send_private_message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Thu 01 Oct 2009, 15:19    Post_subject:  

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

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

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Thu 01 Oct 2009, 16:16    Post_subject:  

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
ipinfo1.tar.gz
Description 
gz

 Download 
Filename  ipinfo1.tar.gz 
Filesize  1.12 KB 
Downloaded  571 Time(s) 
Back to top
View user's profile Send_private_message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Fri 02 Oct 2009, 02:39    Post_subject:  

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

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Fri 02 Oct 2009, 10:50    Post_subject:  

ok first test with 4.21, all 3 version do work! Wink

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Fri 02 Oct 2009, 14:05    Post_subject:  

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

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

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: Fri 02 Oct 2009, 17:18    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
vanchutr

Joined: 05 Aug 2006
Posts: 427

PostPosted: Fri 02 Oct 2009, 19:23    Post_subject: Simple gui for showing network info  

Dear vovchik
ipoinfo works in puppies-431
ipoinfo1 works in puppies-431
I will test these scripts in other Puppy versions. Thank you
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0669s ][ Queries: 12 (0.0041s) ][ GZIP on ]