LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-30-2010, 05:11 PM   #1
spr
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
Unhappy Wireshark won't work


Hi guys.
I remember that in the past, I succeed to sniff network traffic with Wireshark but when I tried lately, it didn't work.
- Enabled monitor and promisc mode using the command line and launched Wireshark with option 'promisc mode' on: didn't work.
- Directly launched Wireshark with option 'promisc mode' on: didn't work.
- Did the both previous things with option 'promisc mode' off: didn't work.

So in the worst case I can't get TCP packets (and any useful), even mine, and in the best case, I just can get my TCP (and others) packets.

I'm using AR5007EG with ath5k.
Please, help me!

PS: I launched Wireshark as root.
And sorry for my poor English.
 
Old 08-31-2010, 12:38 AM   #2
14moose
Member
 
Registered: May 2010
Posts: 83

Rep: Reputation: Disabled
Hi -

I often have many different interfaces (virtual networks, VPN tunnels, etc) and I sometimes to forget to select the "real" NIC when I start my capture.

SUGGESTION: please make sure you've selected a valid interface.

ALSO:
Perhaps the Wireshark Wiki might have some useful tips:

http://wiki.wireshark.org/CaptureSetup/

'Hope that helps
 
Old 08-31-2010, 04:13 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,997

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Does the ar5007eg and driver support promiscuous mode?
 
Old 09-01-2010, 01:06 AM   #4
spr
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: 0
14moose: Yes, I've selected a valid interface.
jefro: Yes, they do.
 
Old 09-12-2010, 10:27 PM   #5
14moose
Member
 
Registered: May 2010
Posts: 83

Rep: Reputation: Disabled
Hi -

In order of preference, I would:

1. Make sure I selected the correct interface (there might be several in the GUI pull-down)

2. Make sure I didn't inadvertently select a filter

3. Make sure SELinux (or something else in the environment) isn't interfering

4. Try uninstalling Wireshark, rebooting, and reinstalling (to verify nothing's "messed up" in the configuration)

5. Try installing and alternate sniffer tool (like tcpdump) and see if it exhibits the same problem

'Hope that helps
 
  


Reply

Tags
wifi, wireshark



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
about wireshark shailesh_tatware Linux - Newbie 2 08-12-2010 02:29 AM
wireshark ... maas187 Linux - Software 1 08-27-2008 09:18 PM
wireshark help koedil Fedora 1 11-30-2007 07:08 PM
Can't find wireshark bugmenot60 Fedora 3 12-09-2006 01:04 AM
Wireshark Help bgeddy Slackware 9 09-30-2006 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration