netmon_wce - network tray monitor

Configuration wizards, scanners, remote desktop, etc.
Message
Author
User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#41 Post by 01micko »

Well that was a weird forum glitch. Definitely only clicked 'submit' once. Ignore this post.
Puppy Linux Blog - contact me for access

User avatar
rg66
Posts: 1158
Joined: Mon 23 Jul 2012, 05:53
Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!

#42 Post by rg66 »

Works great in both X-slacko and X-tahr. Dropped CPU usage at idle by 2%, thanks for this.
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
[url=http://smokey01.com/rg66/]X-series repo[/url]

april

#43 Post by april »

01micko; OK continuing on from the other thread .here
I find that your finding is very strange. The design is that as soon as your connection drops the IP address the disconnected icon should appear. This has been tested several times.
What happens in precise 5.7.1 is that If I connect to my modem by WiFi and then I go and turn the Modem off netmon_wce shows that the connection is still good and in my case with full bars.

Perhaps its different with eth0 or others but that is the result I get with wlan0 using a Realtech adaptor running module 8192cu which is the proprietary driver compiled for kernel 3.9.

When the modem is switched off the computer does not drop the connection and probing shows an IP and a RF connection so maybe its to do with the adaptor and driver?

Give me a little time on this and I will go back over things to be sure I have it right.
Last edited by april on Wed 16 Sep 2015, 11:26, edited 5 times in total.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#44 Post by 01micko »

No worries rg66

-------

Thanks april for the report. I don't have that adapter but I do have a few. I won't go to the length of installing precise just yet but if a reasonable outcome isn't achieved I will do that if nothing else works.

What connection manager are you using? (SNS, Frisbee, or other)
Puppy Linux Blog - contact me for access

april

#45 Post by april »

SNS and I just reran it to confirm .Attached screenshot is with the modem switched off as explained above.
Attachments
netmon_wceModemOff.png
(184.18 KiB) Downloaded 253 times

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#46 Post by 01micko »

Hi april,

I am assuming you clicked the icon to bring up 'ipinfo' after you killed the modem (it's showing the IP address). If so this is almost certainly a bug with the driver.

Can you try one test for me please to confirm this?

While the modem is off and the icon is still showing, open a terminal and run this command please:

Code: Select all

ifconfig wlan0
If the IP address appears on the second line then there is not much I can do to fix the icon behaviour for you. If not then we proceed.

'ifconfig' is a mature program, part of the 'wireless-tools' suite of programs.

Thanks.
Puppy Linux Blog - contact me for access

april

#47 Post by april »

# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:9E:95:9C:4D:1F
inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:3197 errors:0 dropped:23 overruns:0 frame:0
TX packets:3075 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10192465 (9.7 MiB) TX bytes:3084772 (2.9 MiB)

So I take it the driver is not disconnecting from the modem when it is switched off .At least then it tells me when I am properly connected.
Last edited by april on Wed 16 Sep 2015, 21:18, edited 1 time in total.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#48 Post by 01micko »

It appears that way. Leave it at that for now and I'll do some investigating.

Thanks for testing.
Puppy Linux Blog - contact me for access

april

#49 Post by april »

I would like to have a look through the source code for netmon_wce and network_tray.
How would I get those ? The package manager does not find them

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#50 Post by 01micko »

hi april

Source for netmon_wce is in the first post of this thread..

Attached is the source (minus icons and cruft, just the C code) for network_tray, as at version 2.5 where I forked.
Attachments
network_tray.tar.gz
(3.07 KiB) Downloaded 440 times
Puppy Linux Blog - contact me for access

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#51 Post by Scooby »

Is the code stable as in debugged and no more features being
developed?

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#52 Post by 01micko »

Scooby wrote:Is the code stable as in debugged and no more features being
developed?
Yes apart from april's issue, which seems to be one off.

Note, that there is a patch for non puppy builds tested by mikeb. You might want to change the message app to something that suits you.
Puppy Linux Blog - contact me for access

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Nice to have??

#53 Post by peebee »

With the wifi strength indicator, I miss having an activity indication....

A nice to have enhancement might be to make the strength indicator change colour (subtly - maybe just a different shade of green) in response to activity?

Cheers
peebee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Setting lost after reboot

#54 Post by peebee »

The

enable wireless device polling

setting is not maintained through a reboot for me. Should it be? Where is it stored?

Later............just read the README in the source:
The program now has wireless polling off by default, toggled in the right click
menu. There is a mechanism whereby you can start the program in wireless polling
mode from a symlink to the exec named "netmon_wpoll" (or rename the exec). If you
do this then edit the .desktop file or the symlink in /root/Startup must be
name "netmon_wpoll".
Perhaps 2 desktop files could be provided - one enabled and one disabled and the right click menu could toggle them??
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

Re: Setting lost after reboot

#55 Post by 01micko »

peebee wrote: Perhaps 2 desktop files could be provided - one enabled and one disabled and the right click menu could toggle them??
No, that's a bit silly but a config file in $HOME isn't. I'll think about that, bearing in mind that I want this to stay out of the way. That was the whole point - wireless support was a bonus. :)
Puppy Linux Blog - contact me for access

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#56 Post by peebee »

Hi Mick

The link in your .pet is called netmom_wpoll
Attachments
netmom.png
(24.76 KiB) Downloaded 621 times
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#57 Post by 01micko »

Sorry about that Peter, typo in my script to package :lol: :oops: . I'm a bit surprised it took so long to turn up.

Anyway.. try this experimental source code. I think you will be pleasantly surprised by the new icons and their functionality.

By the way, the Makefile supports DESTDIR (always has).

SOURCE removed. Updated source is on the front page. Note there are no changes, except for the patch and some superficial stuff that won't affect puppy users if they compiled from the source that was posted here.
Attachments
iwconfig(6).png
Forget the filename!
(17.35 KiB) Downloaded 583 times
Last edited by 01micko on Sat 03 Oct 2015, 21:47, edited 1 time in total.
Puppy Linux Blog - contact me for access

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#58 Post by peebee »

01micko wrote:I think you will be pleasantly surprised by the new icons and their functionality.
Many thanks Mick - works well
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

#59 Post by sheldonisaac »

peebee wrote:Looks AOK here...........
Mine shows 4 green bars and one (tallest and furthest to the right) is not green.
And at the bottom it says Wifi stats disabled.

How can I get mine to look like yours, with the Wireless strength 55% at the bottom?

Lucid Puppy 5.2.8.7 Super2

Thanks,
Sheldon
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#60 Post by 01micko »

@sheldonisaac - check the right click menu. For persistence then it has to be called as 'netmon_wpoll'. Depending on how it is started on your system, make a symlink from /usr/bin/netmon_wce to /root/Startup/netmon_wpoll or edit /root/.config/autostart/netmon_wce.desktop changing the 'Exec=' line to netmon_wpoll.

------------------------------------------------------------------------------------------------------------

The new 2.7 pets and source are posted. Changelog is updated.

See main post.

NOTE: the pinstall.sh is removed so if you are migrating from Barry's old network_tray you'll have to delete the startup files manually. If installing in an old puppy you will have to unpack and install manually as all pets are XZ compressed in woof-ce. Also, if starting from /root/Startup you'll have to do that manually too.
Puppy Linux Blog - contact me for access

Post Reply