Wireshark-dev: [Wireshark-dev] FW: [Wireshark-users] wireshark (with SMI) install on ubuntu iss
From: "Sandor, Todd (Todd)" <todd.sandor@xxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Jan 2011 09:27:28 -0600

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.

I can not find a package that includes wireshark with SMI ready for install, so I googled and found:

 

But I get errors when attempting to install the SMI stuff ...

 

--

::/usr/local/wireshark(504)$ sudo apt-get install libsmi2-common libsmi2-dev libsmi2ldbl

Reading package lists... Done

Building dependency tree      

Reading state information... Done

The following packages were automatically installed and are no longer required:

  libcap2-bin

Use 'apt-get autoremove' to remove them.

Suggested packages:

  snmp-mibs-downloader

The following NEW packages will be installed:

  libsmi2-common libsmi2-dev libsmi2ldbl

0 upgraded, 3 newly installed, 0 to remove and 85 not upgraded.

2 not fully installed or removed.

Need to get 0B/554kB of archives.

After this operation, 1,782kB of additional disk space will be used.

Selecting previously deselected package libsmi2-common.

(Reading database ... 172571 files and directories currently installed.)

Unpacking libsmi2-common (from .../libsmi2-common_0.4.8+dfsg2-2_all.deb) ...

Selecting previously deselected package libsmi2ldbl.

Unpacking libsmi2ldbl (from .../libsmi2ldbl_0.4.8+dfsg2-2_amd64.deb) ...

Selecting previously deselected package libsmi2-dev.

Unpacking libsmi2-dev (from .../libsmi2-dev_0.4.8+dfsg2-2_amd64.deb) ...

Processing triggers for man-db ...

Setting up postfix (2.7.0-1) ...

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)

 

---

 

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

 

But, I can’t decode smmp mibs when I run this wireshark:

 

Any help getting wireshark with SMI working would be appreciated...

 

 

About Wireshark provides the following info: (it specifies SMI, but ?...)…

--

Version 1.2.7

 

Copyright 1998-2010 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

Compiled with GTK+ 2.20.1, with GLib 2.24.1, with libpcap 1.0.0, with libz

1.2.3.3, with POSIX capabilities (Linux), with libpcre 7.8, with SMI 0.4.8, with

c-ares 1.7.0, with Lua 5.1, with GnuTLS 2.8.5, with Gcrypt 1.4.4, with MIT

Kerberos, with GeoIP, with PortAudio V19-devel (built Feb 18 2010 23:31:11),

without AirPcap.

 

Running on Linux 2.6.32-25-generic, with libpcap version 1.0.0, GnuTLS 2.8.5,

Gcrypt 1.4.4.

 

Built using gcc 4.4.3.

 

Wireshark is Open Source Software released under the GNU General Public License.

 

Check the man page and http://www.wireshark.org for more information.

--

 

___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe