WhatPulse Forums » Community » Beta client » Archive v » WhatPulse 2.1b3 - Linux Mint 14 Welcome back, Guest.


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WhatPulse 2.1b3 - Linux Mint 14
03-30-2013, 10:06 PM (This post was last modified: 04-17-2013 07:54 PM by brumoen.)
Post: #1
WhatPulse 2.1b3 - Linux Mint 14
I've some issues with the networking monitor, it seems like it tracks my bandwidth usage, but only pr App level, not for the interface directly.
It shows no networking interface in the Network list, but it shows my External IP. In the summary box it shows no details about download or upload.
.png  Screenshot-2.png (Size: 239.18 KB / Downloads: 293)

When I click towards the Applications page it shows details for all the active applications, current download and upload. It also shows the Summary dialog at the bottom, Today, Yesterday and All time. It even shows "The application that downloaded the most today is.. line, but it shows chromium-browser(deleted) instead of just chromium-browser for some reason.
.png  Screenshot-1.png (Size: 252.6 KB / Downloads: 288)

Also the Realtime bandwitdh screen is at 0, shows nothing even while streaming 1080p videos from youtube or any network related source.

I'm using the 3.5.0-17-generic linux Mint kernel.

The network info is:
Code:
00:19.0 Ethernet controller [0200]: Intel Corporation 82567LF-2 Gigabit Network Connection [8086:10cd]
    Subsystem: Acer Incorporated [ALI] Device [1025:0171]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 65
    Region 0: Memory at f3ec0000 (32-bit, non-prefetchable) [size=128K]
    Region 1: Memory at f3ef2000 (32-bit, non-prefetchable) [size=4K]
    Region 2: I/O ports at 9080 [size=32]
    Capabilities: <access denied>
    Kernel driver in use: e1000e
    Kernel modules: e1000e

Code:
eth0      Link encap:Ethernet  HWaddr 00:22:68:65:32:aa  
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::222:68ff:fe65:32aa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:902295 errors:0 dropped:0 overruns:0 frame:0
          TX packets:469063 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1304424378 (1.3 GB)  TX bytes:42445854 (42.4 MB)
          Interrupt:20 Memory:f3ec0000-f3ee0000

Code:
sudo getcap /opt/whatpulse
/opt/whatpulse = cap_net_admin,cap_net_raw+eip

output from whatpulse start:
Code:
perry@iPower-Anneks ~ $ sudo whatpulse
[sudo] password for perry:
30-03-2013 22:57:15.563  INFO Starting WhatPulse...
Xlib:  extension "RANDR" missing on display ":0.0".
30-03-2013 22:57:15.654  WARN "sni-qt/21537" WARN  22:57:15.654 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE  
30-03-2013 22:57:15.655 DEBUG Database file:  "/home/perry/.local/share/data/WhatPulse/whatpulse.db"
30-03-2013 22:57:15.656 DEBUG Opened database in:  1 ms
30-03-2013 22:57:15.661 DEBUG Found proper permissions for network monitoring
30-03-2013 22:57:15.661 DEBUG Encrypted file:  "/home/perry/.local/share/data/WhatPulse/whatpulse.wpw"
30-03-2013 22:57:15.723 DEBUG Opening GeoIP database:  "/home/perry/.local/share/data/WhatPulse/GeoIP.dat"
30-03-2013 22:57:15.727 DEBUG Creating device listener for "/dev/input/event0"
30-03-2013 22:57:15.727 DEBUG Creating device listener for "/dev/input/event1"
30-03-2013 22:57:15.727 DEBUG Creating device listener for "/dev/input/event10"
30-03-2013 22:57:15.728 DEBUG Creating device listener for "/dev/input/event11"
30-03-2013 22:57:15.728 DEBUG Creating device listener for "/dev/input/event12"
30-03-2013 22:57:15.728 DEBUG Creating device listener for "/dev/input/event13"
30-03-2013 22:57:15.728 DEBUG Creating device listener for "/dev/input/event14"
30-03-2013 22:57:15.728 DEBUG Creating device listener for "/dev/input/event15"
30-03-2013 22:57:15.728 DEBUG Creating device listener for "/dev/input/event16"
30-03-2013 22:57:15.728 DEBUG Creating device listener for "/dev/input/event17"
30-03-2013 22:57:15.729 DEBUG Creating device listener for "/dev/input/event18"
30-03-2013 22:57:15.729 DEBUG Creating device listener for "/dev/input/event19"
30-03-2013 22:57:15.729 DEBUG Creating device listener for "/dev/input/event2"
30-03-2013 22:57:15.729 DEBUG Creating device listener for "/dev/input/event20"
30-03-2013 22:57:15.729 DEBUG Creating device listener for "/dev/input/event3"
30-03-2013 22:57:15.729 DEBUG Creating device listener for "/dev/input/event4"
30-03-2013 22:57:15.729 DEBUG Creating device listener for "/dev/input/event5"
30-03-2013 22:57:15.730 DEBUG Creating device listener for "/dev/input/event6"
30-03-2013 22:57:15.730 DEBUG Creating device listener for "/dev/input/event7"
30-03-2013 22:57:15.730 DEBUG Creating device listener for "/dev/input/event8"
30-03-2013 22:57:15.730 DEBUG Creating device listener for "/dev/input/event9"
30-03-2013 22:57:15.731 DEBUG Starting PfRingNetworkTrafficMonitor..
30-03-2013 22:57:15.731 DEBUG PF-Ring thread started
30-03-2013 22:57:15.746 DEBUG WhatPulse has started
I have to run as root to be able to track keys and mouse actions. No access to /dev/input/event* without using sudo.

Any tips or hints on how to debug this would be really nice. Smile

Edited: Changed the title to reflect that this also occurs when I've updated to 2.1b3.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-06-2013, 06:42 PM
Post: #2
RE: WhatPulse 2.1b2 - Linux Mint 14
(03-30-2013 10:06 PM)brumoen Wrote:  I have to run as root to be able to track keys and mouse actions. No access to /dev/input/event* without using sudo.

Any tips or hints on how to debug this would be really nice. Smile

You will need to run the permissions script inside the package to fix that, it'll add your user to a group and change the permissions of the event devices.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-10-2013, 07:39 AM
Post: #3
RE: WhatPulse 2.1b2 - Linux Mint 14
Thanks, that helped for the /dev/input/event* issues and it seems like WP counts my keys and clicks as it should now. There is no permission script inside the 64 bit package, that's why I didn't see it, but I downloaded the 32 bit package and ran it.

This still leaves the network interface issue unsolved tho.. Any ideas?
Visit this user's website Find all posts by this user
Quote this message in a reply
04-10-2013, 06:31 PM
Post: #4
RE: WhatPulse 2.1b2 - Linux Mint 14
Indeed, guess I forgot the script in the b2 64bit tar.gz. -_-

To be honest, I have no idea why the interface is not showing up, it seems the have different results on different distros and different network cards. We depend on certain system files to identify interfaces, which we've found that Linux devs likes to change on a whim and completely omit on certain distros. I think we'll implement a fallback identify method which uses the same library as the application network stats, which usually seem to work even if the interfaces are not showing up.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-10-2013, 09:37 PM
Post: #5
RE: WhatPulse 2.1b2 - Linux Mint 14
Just updated to 2.1b3 and it asked me to allow some network permission check. It succeeded I guess since it didn't ask for anything else before it just started the client. But when I quit the client it shows:
Code:
10-04-2013 23:28:59.794 DEBUG Stopping PfRingNetworkTrafficMonitor..
10-04-2013 23:28:59.794 DEBUG "received 2970 packets, dropped 0

Still isn't showing any network interface, just traffic on the same "page" as earlier and when pulsing, no traffic is pulsed. Sad

Strange that it shows traffic on the per application page, but nothing in the interface page or when pulsing.

How does the interface lookup work? Where does it try to find the file(s)/device(s) needed for the interface "connection"?
Visit this user's website Find all posts by this user
Quote this message in a reply
04-17-2013, 07:29 PM
Post: #6
RE: WhatPulse 2.1b2 - Linux Mint 14
Now I've installed 2.1b3 on my laptop, also with Mint Nadia 14, here everything just works. No issues with network or anything, just installed it with the same apt-get line as on my workstation and started it, WP asked for permission to try to fix network permissions since I didn't fix the libcap line before starting WP and then the screen flickered and WP started with a network interface present at first start.

Both machines run with the 3.5.0-17-generic linux Mint kernel, tried updating the workstation to the latest kernel package for Mint but that didn't help either.

On my laptop I have an integrated Intel PRO/Wireless 4965 AG or AGN adapter. Could it be that WP don't understand the identification that my workstation gives for the integrated network adapter? If so is there a way to see what information WP gets from the system when it tries to connect with the network adapter?
Visit this user's website Find all posts by this user
Quote this message in a reply
04-18-2013, 04:34 PM
Post: #7
RE: WhatPulse 2.1b2 - Linux Mint 14
(04-17-2013 07:29 PM)brumoen Wrote:  Could it be that WP don't understand the identification that my workstation gives for the integrated network adapter? If so is there a way to see what information WP gets from the system when it tries to connect with the network adapter?

Sort of. Linux is very strange when it comes to standardisation of system files, as in there seems to be none. The current build still trusts the system files to identify the network adapters, but I've updated the client to check the adapters found by libpcap when the system can't identify any adapters. I've yet to see a relatively modern adapter not being recognized by libpcap, so that should fix this problem in the future.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-23-2013, 06:23 PM (This post was last modified: 04-23-2013 09:03 PM by brumoen.)
Post: #8
RE: WhatPulse 2.1b3 - Linux Mint 14
Have you done that for 2.1b3 or is that for the next update?
I've been trying to run some C examples for libpcap and I'm not able to find any off my suitable network devices on my laptop with that one, and I find that kind if weird since WP works like a charm. You shouldn't happen to have made some test scripts which might be possible to use for debugging purpose to see if and what it detects?

Edit: I did on my desktop, just had to run the generated files as root since my normal user don't have access to that kind of information from the system. So yes, libpcap finds the devices. Smile
Visit this user's website Find all posts by this user
Quote this message in a reply
04-24-2013, 03:45 PM
Post: #9
RE: WhatPulse 2.1b3 - Linux Mint 14
Next update, either way. And yes, you need the net_admin (or something, check install docu) capability, or root to allow pcap to see them.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  WhatPulse 2.7.2b1 smitmartijn 13 2,870 12-04-2016 07:36 PM
Last Post: smitmartijn
  WhatPulse 2.7b3 smitmartijn 17 5,248 06-07-2016 11:37 AM
Last Post: smitmartijn
  WhatPulse 2.7b2 smitmartijn 14 4,303 01-26-2016 05:36 PM
Last Post: smitmartijn
  WhatPulse 2.7b1 smitmartijn 17 5,328 01-05-2016 08:24 AM
Last Post: Megachip
  WhatPulse 2.6b5 smitmartijn 14 7,318 08-04-2015 05:12 PM
Last Post: smitmartijn
  WhatPulse 2.6b4 smitmartijn 14 6,867 04-24-2015 01:43 PM
Last Post: smitmartijn
  WhatPulse 2.6b3 Megachip 9 3,849 04-07-2015 07:15 PM
Last Post: smitmartijn
  WhatPulse 2.6b2 smitmartijn 10 7,339 03-25-2015 01:17 PM
Last Post: Megachip
  WhatPulse 2.6b1 smitmartijn 21 9,764 03-14-2015 05:56 PM
Last Post: commentator
  WhatPulse 2.4.1b4 smitmartijn 5 4,579 09-29-2014 04:06 AM
Last Post: Godric

Forum Jump:


User(s) browsing this thread: 1 Guest(s)