This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I know how to access the preferences for wireshark from the preferences under edit menu . But I want to access the corresponding file to them. Based on my understanding for what is in the Wireshark User's Guide, It is supposed to be in /etc/wireshark.conf or $HOME/.wireshark/preferences. However, I'm not able to find it in there!

My questions why I don't have the "preferences" file in any one of these two places? where can I find it instead?

Note: I've installed Wireshark latest released version from source.

Thanks.

asked 19 Aug '14, 07:05

flora's gravatar image

flora
156313338
accept rate: 100%


From the Wireshark application menu: Help | About Wireshark, select the Folders tab and you should see the paths to the Personal and Global configuration directories.

permanent link

answered 19 Aug '14, 07:34

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

This doesn't work for me too. I've got the error message: "Failed to open "/home/flora/.wireshark". Error when getting information for file '/home/flora/.wireshark': No such file or directory."

(19 Aug '14, 09:19) flora

That would suggest the wireshark executable doesn't have the required privileges to open that directory.

Odd, and unfortunately now out of my realm of competence.

(19 Aug '14, 09:28) grahamb ♦

Thanks grahamb. It seems it does because When I do, ls -l /usr/local/bin/wireshark I get: -rwxr-xr-x 1 root root 8687638 Aug 18 17:18 /usr/local/bin/wireshark

I only can find 'recent' and 'recent_common' but not 'preferences' file

(19 Aug '14, 15:45) flora

Try modifying the preferences in Wireshark and clicking OK. That may then save a new preferences file.

(20 Aug '14, 01:23) grahamb ♦

What user are you running Wirshark as? What are the permissions on /home/flora/ and /home/flora/.wireshark/ ?

(20 Aug '14, 07:08) JeffMorriss ♦

Thanks grahamb and JeffMorriss! the problem has solved itself somehow. I'm not really aware how as all what I did is rebuild wireshark again and I found the 'preferences' file along with 'recent' and 'recent_common' files.

(25 Aug '14, 16:56) flora
showing 5 of 6 show 1 more comments
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1,620
×154
×91
×39

question asked: 19 Aug '14, 07:05

question was seen: 4,481 times

last updated: 25 Aug '14, 16:56

p​o​w​e​r​e​d by O​S​Q​A