Wireshark-dev: Re: [Wireshark-dev] FW: [Wireshark-users] wireshark (with SMI) install on ubuntu
Hi,
On 01/10/2011 04:27 PM, Sandor, Todd (Todd) wrote:
To reach a wider audience, sending this to the dev email as well …
*From:* wireshark-users-bounces@xxxxxxxxxxxxx
[mailto:wireshark-users-bounces@xxxxxxxxxxxxx] *On Behalf Of *Sandor,
Todd (Todd)
*Sent:* Monday, January 10, 2011 10:14 AM
*To:* wireshark-users@xxxxxxxxxxxxx
*Subject:* [Wireshark-users] wireshark (with SMI) install on ubuntu
issues ...(sending again ..)..
(had errors in previous email, sending again) …
Hi - need some help getting wireshark with SMI (for decoding snmp via
MIBs) working on ubuntu 10.04 LTS.
Wireshark shipped is compiled with SMI support:
https://launchpad.net/ubuntu/lucid/amd64/wireshark-common/1.2.7-1
I can not find a package that includes wireshark with SMI ready for
install, so I googled and found:
"apt-get install wireshark snmp-mibs-downloader" should make the trick.
...
::/usr/local/wireshark(504)$ sudo apt-get install libsmi2-common
libsmi2-dev libsmi2ldbl
Reading package lists... Done
Building dependency tree
Reading state information... Done
....
adduser: No UID is available in the range 100-999 (FIRST_SYS_UID -
LAST_SYS_UID).
adduser: The user `postfix' was not created.
dpkg: error processing postfix (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bsd-mailx:
bsd-mailx depends on default-mta | mail-transport-agent; however:
Package default-mta is not installed.
Package postfix which provides default-mta is not configured yet.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing bsd-mailx (--configure):
dependency problems - leaving unconfigured
Setting up libsmi2-common (0.4.8+dfsg2-2) ...
No apport report written because the error message indicates its a
followup error from a previous failure.
Setting up libsmi2ldbl (0.4.8+dfsg2-2) ...
Setting up libsmi2-dev (0.4.8+dfsg2-2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
/sbin/ldconfig.real: /usr/lib32/libMrm.so.3 is not a symbolic link
/sbin/ldconfig.real: /usr/lib32/libXm.so.3 is not a symbolic link
/sbin/ldconfig.real: /usr/lib32/libUil.so.3 is not a symbolic link
Errors were encountered while processing:
postfix
bsd-mailx
E: Sub-process /usr/bin/dpkg returned an error code (1)
Your system is broken, you should fix it first. Please ask for help on ubuntu
users list.
I assume if I can get this SMI stuff installed, that if I follow the
rest of the compile/install that wireshark (below) with SMI will work…?
After installing "devscripts" via Synaptic Package Manager (so could use
the "dpkg-buildpackage" command) I was able to get verion 1.2.7 of
wireshark installed/working using the command below, but when I go into
Preferences Name Resolution, the options to configure the MIB
paths/modules are not available.
sudo apt-get build-dep wireshark
cd wireshark-1.2.7/
dpkg-buildpackage -rfakeroot -b -uc
cd ..
sudo dpkg -i tshark_1.2.7-1_amd64.deb wireshark-common_1.2.7-1_amd64.deb
wireshark_1.2.7-1_amd64.deb
You don't need to do this. The official packages should work.
But, I can’t decode smmp mibs when I run this wireshark:
You need to install snmp-mibs-downloader as descibed in
/usr/share/doc/wireshark-common/README.Debian .
Cheers,
Balint