Hi,
Ah, it's the big Save/Apply/Ok/Cancel confusion. I would recommend you to
go to Preferences|User Interface and uncheck the last box in the list
which states "Settings dialogs show a save button".
With regards to the files being/not being in ~/.wireshark: normally the
system wide files are used as they are installed. Once you make a change
to one of the UATs the corresponding file is saved in ~/.wireshark. So
adding a module results in ~/.wireshark/smi_modules, while adding a path
results in ~/.wireshark/smi_paths.
Thanx,
Jaap
> Jaap Keuter wrote:
>> Hi,
>>
>> This information is stored in ~/.wireshark/smi_paths and
>> ~/.wireshark/smi_modules
>>
>> Thanx,
>> Jaap
>
> I'd love to believe you but there was no ~/.wireshark/smi_paths for my
> userid.
>
> : ls ~/.wireshark/
> preferences recent smi_modules
>
> I eventually gave up and touched ~/.wireshark/smi_paths and then through
> some magic incantation of "Save", "Apply" and "OK" button presses it was
> happy to add lines to it.
>
> I tried it again as root with neither ~/.wireshark/smi_paths nor
> ~/.wireshark/smi_modules
>
> Eventually through some combination of button presses, which I didn't
> record, it created ~/.wireshark/smi_paths but not
> ~/.wireshark/smi_modules (probably the wrong incantation). So I copied
> the default file there and I can add MIBs to it.
>
> What is the "correct" sequence of "Save", "Apply" and "OK" to get
> preferences saved? I would expect "Save" would be enough if that button
> is displayed. Which one of "Apply" and OK" saves if the "Save" button is
> hidden.
>
> If you follow "Save" with one or more of "Apply" or "OK" does that stop
> the prefs being saved? Do you have to exit the dialog with "Cancel"? The
> principle of least surprise would suggest "Save" should be committed
> immediately.
>
>> Andrew Hood wrote:
>>
>>>Seen in Wireshark HEAD at 24705, but I've observed it before and
>>>expected it to have been picked up.
>>>
>>>If you add additional paths for MIBs in the preferences dialog they
>>>don't get saved in your prefernces.
>>>
>>>Or is this only happening because I have a full copy of libsmi and it is
>>>expecting to only use libsmi's path, or libsmi's path as modified by my
>>>~/.smirc?
>>>