Tuesday, August 24, 2010

Nose Block remedy

Sometimes, when I have nose block, I used Nazolin Nasal Spray. Spray one or two spray. Not to be use continuous for more than 7 days. Can reuse after another 7 days break. Quite effective.

Wednesday, August 4, 2010

Getting Wireshark running on OS X Snow Leopard 10.6.4

Getting Wireshark running on OS X Snow Leopard 10.6.4

Wireshark


Step 1
Download Wireshark from here. Mount the .dmg file. I used Wireshark 1.2.10 Intel.dmg at the point of writing this article.
Step 2
Drag the Wireshark application icon to the handy dandy Applications alias the fine developers at Wireshark provided for you in that disk image. Then, open up the Utilities folder in the disk image, and drag the ChmodBPF folder into the StartupItems alias sitting below it. 
After that, open up a new finder window and navigate to /usr/bin. Open up the Command Line folder in the disk image (under /Utilities) and drag those contents over to/usr/bin. You’ll probably have to authenticate at that point, so do so.
FYI.. to view /usr/bin/, you have to enable ‘hidden folders’
at the terminal, type: defaults write com.apple.finder AppleShowAllFiles -bool true
then, killall Finder

to hide files again, replace true with false

Step 3
Open up a terminal window and type in the following commands:
cd /Library/StartupItems
sudo chown -R root:wheel ChmodBPF

sudo /sbin/SystemStarter start ChmodBPF
You’ll probably be asked to enter an su password. Do so. Then exit terminal.
Go to Applications and click on Wireshark. Voila and it works.
Step 4 (is optional if Step 3 does not work)
Go to Applications and click on Wireshark. When the application opens you’ll probably see a another window open up along with it containing a bunch of errors. Close that window. Next, select Edit then Preferences from the Wireshark application window. Select Name Resolution, and click the Edit button next to “SMI (MIB and PIB paths”. Click the new button, and enter /usr/share/snmp/mibs/ in the little Directory Path popup window. Click Apply, and then Close.
Step 5(optional)
Exit Wireshark and reboot.