WhatPulse Forums » Support » Client software v » [CLOSED] Network traffic not recorded on Ubuntu 16.04 LTS Welcome back, Guest.


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[CLOSED] Network traffic not recorded on Ubuntu 16.04 LTS
07-08-2016, 06:02 AM (This post was last modified: 10-22-2016 06:34 PM by smitmartijn.)
Post: #1
[CLOSED] Network traffic not recorded on Ubuntu 16.04 LTS
Hello!

I'm running Ubuntu 16.04 LTS on my workstation together with the latest version of WhatPulse (2.7.1).
Keys, Clicks and Uptime is recorded and pulsed correctly, but I am not able to get it to record Download and Upload without running it as root.

I have run: setcap cap_net_raw,cap_net_admin=eip ./whatpulse (even as root), but still, it doesn't seem to have the correct permissions to record data.

Error I'm getting is:
DEBUG Couldn't open device "eno1" : eno1: You don't have permission to capture on that device (socket: Operation not permitted)

Workaround would be to run it as root, but then the GUI isn't shown.
Find all posts by this user
Quote this message in a reply
07-08-2016, 09:35 PM
Post: #2
RE: Network traffic not recorded on Ubuntu 16.04 LTS
Hi,

Could you try a slightly different syntax? I'm seeing this one related to 16.04:

setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /path/to/whatpulse

Otherwise it might be an idea to run it with setuid:

chown root /path/to/whatpulse
chmod u+s /path/to/whatpulse
Visit this user's website Find all posts by this user
Quote this message in a reply
08-05-2016, 08:05 AM (This post was last modified: 08-05-2016 08:08 AM by GnaXi.)
Post: #3
RE: Network traffic not recorded on Ubuntu 16.04 LTS
Sorry about the late reply! When I try the suggested command, I get:

Failed to set capabilities on file `/whatpulse' (Invalid argument)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file

I also tried changing owner of whatpulse to root as suggested.
Find all posts by this user
Quote this message in a reply
09-09-2016, 12:25 PM
Post: #4
RE: Network traffic not recorded on Ubuntu 16.04 LTS
Any idea to what else I could try?
Find all posts by this user
Quote this message in a reply
09-15-2016, 03:33 AM
Post: #5
RE: Network traffic not recorded on Ubuntu 16.04 LTS
Not for permanent, but try running it as root, see if that resolves the error and if it's running properly.

If it does, then it's still an issue of permissions. Maybe you've got selinux or something similar set up? If you've done the setcap stuff, I'm afraid I don't have much else for you..
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 isn't running after upgrading Ubuntu 1geeky 0 160 08-06-2019 05:46 AM
Last Post: 1geeky
  Ubuntu 16.04 and Libqt5 VanackSabbadium 0 360 06-09-2019 02:24 PM
Last Post: VanackSabbadium
  Whatpulse is not recognizing internet traffic Lodisen 8 908 05-22-2019 05:35 PM
Last Post: Trapton
  [CLOSED] Debian Stretch: OpenSSL library not found wullxz 1 753 02-27-2017 05:31 PM
Last Post: smitmartijn
Information [CLOSED] Mouse distance counter in Windows client. TigraPolosatiy 1 637 02-27-2017 05:30 PM
Last Post: smitmartijn
  Incorrect Network Upload/Download cahern7 11 3,244 11-21-2016 07:13 PM
Last Post: smitmartijn
  [CLOSED] docker and whatpulse Sc0rian 16 5,028 11-12-2016 11:23 PM
Last Post: smitmartijn
Bug [CLOSED] What pulse stuck , is what pulse not support for windows 10 ? karahan29 1 764 11-05-2016 10:34 PM
Last Post: smitmartijn
  [CLOSED] Resetting File/Program Directories? Calipup 4 1,030 10-31-2016 10:39 PM
Last Post: Calipup
  [CLOSED] Win10 x64 | Start Menu / Context Menu / Desktop becomes unresponsive Anthraxium-64 1 693 10-31-2016 08:24 PM
Last Post: smitmartijn

Forum Jump:


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