wireshark on ubuntu doesn't want to save .pcaps (even as root)
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
wireshark on ubuntu doesn't want to save .pcaps (even as root)
I've run into a sort of catch 22.
I installed wireshark via apt-get on my Eee 1008HA, but when it is launched, it does not allow any capture interfaces.
I think this is because the shortcut created in my applications paneldoes not start it as root. Other distros always had two shortcuts, one to run as root, one to run as a normal user. Anyways, this isn't a big deal, I can sudo.
So I went into terminal, typed in "sudo wireshark" and it popped up, as root - everything seems in order.
I was then able to capture on my wireless interface with no issues.
However, saving that data presents a problem. If I try and specify my usual home folder as the location for the capture to be saved, I get an error that permission was denied, which seems odd since while that folder is not the root user's home folder, wireshark is running as root and should be able to do pretty much whatever it wants.
How can I get wireshark set up so I can both capture _and_ save the .pcap files I generate? I don't want to save them in /
I'm running karmic koala, the full output of uname -a is: Linux ruckus-laptop 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux.
Is it possible to use a similiar command to put the card into promosicuous mode?
Most of the time I'm capturing, I only want traffic from one AP. (My logic is that way would save space on the HD and processor overhead, but if you think it's better to grab everything floating around.
Also, I plan to mess around with arp spoofing, and correct me if I'm wrong, but doesn't airmon only create wireless interfaces?
I mean - would it even be the aircrack suite that puts the card in promiscuous mode if I'm going to be using it to sniff wired traffic? Or is such a distinction irrelevant?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.