Results 1 to 4 of 4

Thread: Wireshark Interfaces

  1. #1
    Join Date
    Sep 2008
    Beans
    59

    Cool Wireshark Interfaces

    Code:
    jacobroecker@MooseFlix:~$ sudo chgrp admin /usr/bin/dumpcap
    chgrp: invalid group: `admin'
    jacobroecker@MooseFlix:~$ sudo chmod 750 /usr/bin/dumpcap
    jacobroecker@MooseFlix:~$ sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap
    I'm running 12.04. Any help would be appreciated.

    Because of the error above I get:
    Code:
    Couldn't run /usr/bin/dumpcap in child process: Permission denied
    Last edited by uRock; August 10th, 2012 at 05:40 AM. Reason: removed info relating to the old thread

  2. #2
    Join Date
    Feb 2010
    Location
    In My Food Forest
    Beans
    9,318

    Re: Wireshark Interfaces

    Bump for move to its own thread.
    Cheers & Beers, uRock
    [SIGPIC][/SIGPIC]

  3. #3
    Soul-Sing is offline Chocolate-Covered Ubuntu Beans
    Join Date
    Aug 2006
    Beans
    1,374
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Wireshark Interfaces

    sudo apt-get install libcap2-bin wireshark
    sudo chgrp admin /usr/bin/dumpcap
    sudo chmod 750 /usr/bin/dumpcap
    sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap
    sudo chgrp admin /usr/bin/dumpcap
    sudo -s
    groupadd -g wireshark
    groupadd -l wireshark
    sudo usermod -a -G wireshark <yourname>

  4. #4
    Join Date
    Sep 2008
    Beans
    59

    Re: Wireshark Interfaces

    Thanks folks. I changed this line from
    Code:
    jacobroecker@MooseFlix:~$ sudo chgrp admin /usr/bin/dumpcap
    to
    Code:
    jacobroecker@MooseFlix:~$ sudo chgrp myusername /usr/bin/dumpcap
    and it works just fine. So, complete code for me

    Code:
    sudo apt-get install libcap2-bin wireshark
    sudo chgrp myusername /usr/bin/dumpcap
    sudo chmod 750 /usr/bin/dumpcap
    sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap
    Hope this helps anyone else with the same problem in the future

    Thanks folks.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •