This blog is outdated. Check out my website at http://cem.re or my work blog at http://cem.re/tumblr.

can't use it

a blog by Cemre Güngör

Wireshark installation problems in Snow Leopard

I installed Wireshark for my Networking course on Snow Leopard and had some difficulties.

After copying the command line utilities, if the folder you copied into wasn’t there before, it’s probably not in the include path. To edit the include path:

  1. Open Terminal
  2. sudo nano ~/.bash_profile
  3. Add such a line:
    export PATH=/opt/wireshark/bin/:$PATH
    adjust name of the folder according to where you copied the files.

Secondly, I was instructed to put ChmodBPF in StartupItems, but got the following error when I restarted:

“/Library/StartupItems/ChmodBPF” has not been started because it does not have the proper security settings.

I observed that there was something wrong with the ownership of those files. To solve it,

  1. Open Terminal
  2. Go to /Library/StartupItems/
  3. chown -R root:wheel

This will fix the problem.

Then I got the following errors when I ran Wireshark:

The following errors were found while loading the MIBS:
-:0 1 module-not-found failed to locate MIB module `IP-MIB’
-:0 1 module-not-found failed to locate MIB module `IF-MIB’
-:0 1 module-not-found failed to locate MIB module `TCP-MIB’
-:0 1 module-not-found failed to locate MIB module `UDP-MIB’
-:0 1 module-not-found failed to locate MIB module `SNMPv2-MIB’
-:0 1 module-not-found failed to locate MIB module `RFC1213-MIB’
-:0 1 module-not-found failed to locate MIB module `IPV6-ICMP-MIB’
-:0 1 module-not-found failed to locate MIB module `IPV6-MIB’
-:0 1 module-not-found failed to locate MIB module `SNMP-COMMUNITY-MIB’
-:0 1 module-not-found failed to locate MIB module `SNMP-FRAMEWORK-MIB’
-:0 1 module-not-found failed to locate MIB module `SNMP-MPD-MIB’
-:0 1 module-not-found failed to locate MIB module `SNMP-NOTIFICATION-MIB’
-:0 1 module-not-found failed to locate MIB module `SNMP-PROXY-MIB’
-:0 1 module-not-found failed to locate MIB module `SNMP-TARGET-MIB’
-:0 1 module-not-found failed to locate MIB module `SNMP-USER-BASED-SM-MIB’
-:0 1 module-not-found failed to locate MIB module `SNMP-USM-DH-OBJECTS-MIB’
-:0 1 module-not-found failed to locate MIB module `SNMP-VIEW-BASED-ACM-MIB’

Apparently there is a problem with include paths. Solution:

  1. Click OK on error message.
  2. In Wireshark window Edit > Preferences > Name Resolution.
  3. Click SMI (MIB and PIB) paths edit button
  4. Click New
  5. Add the path /usr/share/snmp/mibs/
  6. OK and close Wireshark, also close X11.
  7. Restart Wireshark

Snow Leopard hangs, beachballs frequently (in Safari and Flash Player)

Two things to do after upgrading:

  1. Upgrade your Flash player because the one that comes with Snow Leopard is old. It gets choppy with HD videos, for example.
    Flash Player update and Snow Leopard
  2. Follow the instructions on this forum post to clean caches
    http://forums.macrumors.com/showthread.php?t=778819

UPDATE: I found out that the real problem was caused by extensions that weren’t compatible with Snow Leopard thus were giving errors and re-launching every few minutes (thus the beachballing). So open the Console and check your logs. When you identify the offending extensions from the Log, uninstall them if possible.

If you see launchd complaining that it can’t find something,  a handy script called “Consultant’s Canary” may help you see where they are configured so you can go ahead and delete the launcher scripts.

Fireworks CS4 crashes on startup after upgrading to Snow Leopard

Solution: install the Fireworks CS4 upgrade from Adobe’s website.

Adobe – Fireworks Support Center : Downloads : Updaters

Then Fireworks will start crashing after quitting, but that’s not such a big problem :)

3-finger 4-finger multi-touch gestures/Expose not working after upgrading to Snow Leopard

I don’t know why, but after transferring my account from my old Macbook to the new one, 3-finger and 4-finger multi-touch gestures stopped working (in Snow Leopard). To solve this, just reset the PMC. The following procedures is for Macbooks which have internal batteries.

  • Shut down your computer normally.
  • Press (only once and shortly) left shift + left control + left option keys and the power button.
  • Wait 5 seconds
  • Turn the computer on. The sleep light should blink shortly.

After doing this the 3- and 4-finger gestures started working again.