CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 4 - Networking Support
  Ethereal worked, Wireshark doesn't

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread Rated:  8 Votes
  •  jbreher
      jbreher
Ethereal worked, Wireshark doesn't
#1
Jr Board Member
Joined: 2006/8/23
From
Posts: 30
In the latest yum update (today), the update recommends that etereal be eliminated in favor of wireshark. I hadn't heard of wireshark before, but a quick google allayed my fears - wireshark is a fork of the ethereal project, guided by ethereal's founder.

AAR, after install, wireshark doesn't seeem to work. Upon initiating a capture, I get the following error dialogs:
(-) Couldn't run /usr/bin/dumpcap in child process: No such file or directory [OK]
and
(-) Child capture process exited: exit status 2 [OK]

Firstly, I thought I'd alert the community to potential problems

Second, before I dig in, does anyone here already know how to solve this issue?

BTW, ethereal seemed to be working fine ono this machine before this update. Though bear in mind, I have not done a whole lot with it on this platform - I first installed CentOS two days ago.
Posted on: 2006/8/24 19:04
Create PDF from Post Print
Top
  •  foxb
      foxb
Re: Ethereal worked, Wireshark doesn't
#2
Professional Board Member
Joined: 2006/4/20
From Montreal/QC
Posts: 1758
 whereis dumpcap
dumpcap: /usr/sbin/dumpcap


That differs with program default location /usr/bin

As solution add link in /usr/bin to /usr/sbin/dumpcap

You may also report it as a bug and put bug number here for reference
_________________
Hope this helps,
-----------------------------------
FoxB -- http://hbcom.info
--------- http://blog.hbcom.info
-----------------------------------
Posted on: 2006/8/24 19:26
Create PDF from Post Print
Top
  •  jbreher
      jbreher
Re: Ethereal worked, Wireshark doesn't
#3
Jr Board Member
Joined: 2006/8/23
From
Posts: 30
More info - it looks like a permissions problem:

[jbreher@amitri ~]$ /usr/sbin/tshark
tshark: The capture session could not be initiated (socket: Operation not permitted).

Please check to make sure you have sufficient permissions, and that you have
the proper interface or pipe specified.
[jbreher@amitri ~]$ su -c '/usr/sbin/tshark'
Password:
Capturing on eth0
0.000000 LinksysG_xx:xx:xx -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32768/00:0c:41:xx:xx:xx Cost = 0 Port = 0x8001
...
(MAC obfuscated)

Looks like ethereal did not require root permissions, while wireshark does.

I note that the same update contained a new kernel as well. However, I had not rebooted the first time I tried to use wireshark, so I don't believe that is relevant.
Posted on: 2006/8/24 19:31
Create PDF from Post Print
Top
  •  foxb
      foxb
Re: Ethereal worked, Wireshark doesn't
#4
Professional Board Member
Joined: 2006/4/20
From Montreal/QC
Posts: 1758
You are right it requires root permitions (no need to do symlink of dumpcap).

Maybe rpm should be modified to require root permitions...

reported as bug# 0001459

http://bugs.centos.org/view.php?id=1459
_________________
Hope this helps,
-----------------------------------
FoxB -- http://hbcom.info
--------- http://blog.hbcom.info
-----------------------------------
Posted on: 2006/8/24 20:05
Create PDF from Post Print
Top
  •  jbreher
      jbreher
Re: Ethereal worked, Wireshark doesn't
#5
Jr Board Member
Joined: 2006/8/23
From
Posts: 30
Quote:

foxb wrote:
You are right it requires root permitions


Is there a way to temoprarily assume the priveliges of root for GUI operations, analogous to the way 'su' operates on the command line? I find I can be productive with ethereal in ways that I am not with tethereal.
Posted on: 2006/8/24 20:59
Create PDF from Post Print
Top
  •  range
      range
Re: Ethereal worked, Wireshark doesn't
#6
WebMaster
Joined: 2004/12/7
From Germany
Posts: 10
Quote:

foxb wrote:
You are right it requires root permitions (no need to do symlink of dumpcap).

Maybe rpm should be modified to require root permitions...

reported as bug# 0001459

http://bugs.centos.org/view.php?id=1459


See the page for #1459 (referenced above) for a temporary workaround. This is an error from the upstream provider. This workaround reenables the behaviour of ethereal.

Cheers,

Ralph
Posted on: 2006/8/25 12:40
Create PDF from Post Print
Top
  •  jbreher
      jbreher
Re: Ethereal worked, Wireshark doesn't
#7
Jr Board Member
Joined: 2006/8/23
From
Posts: 30
Ralph -
I can confirm that the workaround listed in the bug report, which consists of replacing /etc/pam.d/wireshark, does indeed fix the problem.
Posted on: 2006/8/25 18:26
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com