[[:mac|{{ :Apple.png?40|}}]]
===== Wireshark auf Snow Leopard installieren =====
Um Wireshark ((http://de.wikipedia.org/wiki/Wireshark)) derzeit (01/2010) auf Snow Leopard zu nutzen sind einige Handgriffe erforderlich:
* Laden Sie sich die neueste Wireshark Version auf http://www.wireshark.org/download.html herunter und mounten Sie das DMG-Image
* Ziehen Sie das Wireshark Icon in das Applications Verzeichnis
* Öffnen Sie das Utility Verzeichnis im Wireshark Disk Image und ziehen Sie das ChmodBPF Verzeichnis in das /Library/StartupItems Verzeichnis
* Ändern Sie den Besitzer des Verzeichnisses /Library/StartupItems/ChmodBPF rekursiv in root:wheel:
$ cd /Library/StartupItems/
prontos-Mac-Pro:StartupItems pronto$ sudo chown -R root:wheel ChmodBPF/
prontos-Mac-Pro:StartupItems pronto$ password:[Passwort des Admin Users]
* Kopieren Sie den Inhalt des Command Line Verzeichnisses von /Volumes/Wireshark/Utilities/Command\ Line nach /usr/local/bin:
prontos-Mac-Pro:~ pronto$ cd /Volumes/Wireshark/Utilities/Command\ Line/
prontos-Mac-Pro:~ pronto$ sudo cp * /usr/local/bin
prontos-Mac-Pro:StartupItems pronto$ ls -l /usr/local/bin
total 840
-rwxr-xr-x@ 1 root wheel 482 16 Jan 19:23 capinfos
-rwxr-xr-x@ 1 root wheel 482 16 Jan 19:23 dftest
-rwxr-xr-x@ 1 root wheel 482 16 Jan 19:23 dumpcap
-rwxr-xr-x@ 1 root wheel 482 16 Jan 19:23 editcap
-rwxr-xr-x@ 1 root wheel 482 16 Jan 19:23 idl2wrs
-rwxr-xr-x@ 1 root wheel 482 16 Jan 19:23 mergecap
-rwxr-xr-x@ 1 root wheel 482 16 Jan 19:23 randpkt
-rwxr-xr-x@ 1 root wheel 482 16 Jan 19:23 rawshark
-rwxr-xr-x@ 1 root wheel 482 16 Jan 19:23 text2pcap
-rwxr-xr-x@ 1 root wheel 482 16 Jan 19:23 tshark
-rwxr-xr-x@ 1 root wheel 482 16 Jan 19:23 wireshark
* Starten Sie Wireshark aus dem Applications Verzeichnis, ggf. öffnet sich ein weiteres Fenster mit einer Warnung, quittieren Sie dieses
* Öffnen Sie im Wireshark Fenster den Dialog Edit -> Preferences -> User Interface -> Name Resolution
* Klicken Sie auf den Edit-Button bei der Option SMI (MIB and PIB) paths
* Klicken Sie dort auf den New-Button und tragen dort den Pfad /usr/share/snmp/mibs ein
* Bestätigen Sie alle Fenster mit OK und Apply und starten Sie Mac OS neu
* Fertig
--- //pronto 2010/01/16 20:05//
{{keywords>snow leopard X11 ChmodBPF}}