netmon_wce - network tray monitor
Well that was a weird forum glitch. Definitely only clicked 'submit' once. Ignore this post.
Puppy Linux Blog - contact me for access
01micko; OK continuing on from the other thread .here
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.
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.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.
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.
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)
-------
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
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
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:
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.
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
'ifconfig' is a mature program, part of the 'wireless-tools' suite of programs.
Thanks.
Puppy Linux Blog - contact me for access
# 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.
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.
It appears that way. Leave it at that for now and I'll do some investigating.
Thanks for testing.
Thanks for testing.
Puppy Linux Blog - contact me for access
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.
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 446 times
Puppy Linux Blog - contact me for access
Yes apart from april's issue, which seems to be one off.Scooby wrote:Is the code stable as in debugged and no more features being
developed?
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
Nice to have??
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
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
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Setting lost after reboot
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:
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:
Perhaps 2 desktop files could be provided - one enabled and one disabled and the right click menu could toggle them??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".
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Re: Setting lost after reboot
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.peebee wrote: Perhaps 2 desktop files could be provided - one enabled and one disabled and the right click menu could toggle them??
Puppy Linux Blog - contact me for access
Hi Mick
The link in your .pet is called netmom_wpoll
The link in your .pet is called netmom_wpoll
- Attachments
-
- netmom.png
- (24.76 KiB) Downloaded 621 times
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Sorry about that Peter, typo in my script to package . 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.
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
Many thanks Mick - works well01micko wrote:I think you will be pleasantly surprised by the new icons and their functionality.
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
-
- Posts: 902
- Joined: Mon 22 Jun 2009, 01:36
- Location: Philadelphia, PA
Mine shows 4 green bars and one (tallest and furthest to the right) is not green.peebee wrote:Looks AOK here...........
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
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P
@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.
------------------------------------------------------------------------------------------------------------
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