Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] Ubuntu Linux: How to load SNMP mibs?

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Wed, 8 Jul 2009 13:00:33 +0200
Hi,

FYI: newer versions of the sourcecode have improved Debian packaging support. I'm not sure from which point on (1.0.8 I guess), you can do 'make debian-package' to start the package build.

Thanx,
Jaap

Sent from my iPhone

On 8 jul 2009, at 10:40, "Peter Valdemar Mørch (Lists)" <4ux6as402@xxxxxxxxxxxxx m> wrote:

Aarrrhhh, I wish I'd read my prior post through one more time. Sorry.

Peter Valdemar Mørch (Lists) wrote:
Building wireshark *with* SMI made it work. I therefore suggest that there is a bug in SNMP preferences:
, that currently say: "MIB settings can be changed in the Name Resolution preferences". If not built with SMI, I suggest that message should be: "MIB settings are not possible, because Wireshark was not built with SMI support"

The rest is ubuntu/debian specific:

For future reference: To build a local version of wireshark *with* SMI support on ubuntu intrepid, I did the following:
$ sudo apt-get install libsmi2-common libsmi2-dev libsmi2ldbl
$ sudo apt-get build-dep wireshark
$ mkdir wireshark
$ cd wireshark
$ apt-get source wireshark
$ cd wireshark-1.0.3

At this point, i had to bump the version of the package. Otherwise ubuntu would insist on upgrading my newly built package.

So I patched debian/changelog with (proper patch as attachement):

--- orig.changelog    2009-07-08 09:50:38.000000000 +0200
+++ changelog    2009-07-08 09:50:16.000000000 +0200
@@ -1,3 +1,9 @@
+wireshark (1.0.3-1ubuntu2.2.0.1) intrepid; urgency=low
+
+  * Built with libsmi
+
+ -- Peter Valdemar Mørch <peter@xxxxxxxxx> Wed, 8 Jul 2009 09:29:4 0 +0100
+
wireshark (1.0.3-1ubuntu2.2) intrepid-security; urgency=low

* SECURITY UPDATE: packet-usb.c in the USB dissector in Wireshark 0.99.7

$ dpkg-buildpackage -rfakeroot -b -uc
$ cd ..
$ sudo dpkg -i tshark_1.0.3-1ubuntu2.2_i386.deb \
    wireshark-common_1.0.3-1ubuntu2.2_i386.deb \
    wireshark_1.0.3-1ubuntu2.2_i386.deb

Now, the record should be straight! :-)

Peter
--
Peter Valdemar Mørch
http://www.morch.com
--- orig.changelog 2009-07-08 09:50:38.000000000 +0200 +++ changelog 2009-07-08 09:50:16.000000000 +0200 @@ -1,3 +1,9 @@ +wireshark (1.0.3-1ubuntu2.2.0.1) intrepid; urgency=low + + * Built with libsmi + + -- Peter Valdemar Mørch Wed, 8 Jul 2009 09:29:40 +0100 + wiresha rk (1.0.3-1ubuntu2.2) intrepid-security; urgency=low * SECURITY UPDA TE: packet-usb.c in the USB dissector in Wireshark 0.99.7
___________________________________________________________________________


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