Fun hacks, WP plugins, photography, and PKI junk. Languishing since 2008.
Archive for January, 2010
No Interfaces Available In Wireshark Mac OS X
Jan 31st
Many new Wireshark users on Mac OS X run into an issue where no interfaces show up when trying to begin packet capture. If you attempt to manually input an interface (such as en0) this error will occur:
The capture session could not be initiated ((no devices found) /dev/bpf0: Permission denied).
To have the interfaces show up properly you’ll need to widen the permissions on the Berkeley packet filter (BPF). By default they look like this:
crw------- 1 root wheel 23, 0 Jan 31 13:47 /dev/bpf0
We need the filter to be readable by non-root, so open Terminal.app and run this command:
sudo chmod 644 /dev/bpf*
Unfortunately every time you reboot this will More >
Costa Rica Photo Journal
Jan 29th
I have returned from my trip to Costa Rica! Typically I don’t write about my personal experiences on this blog, but I’ve decided to try a photo journal style entry this time. Don’t worry, your regular nerd posts will resume shortly. As always, click the photo to go to the Flickr page. From there you can view any photo in much larger sizes. Be sure to view the set in its entirety as well.
Sunday, January 24This bird was sitting near the patio of my hotel room in the morning
A boy picks something out of the water at sunset on the beach
Monday, More >Bash Productivity Enhancers
Jan 20th
Bash is an extremely powerful shell, but its shortcuts are not readily apparent. Here are a few shortcuts and tips that I’ve noticed many (already proficient) bash users are not aware of. You can also check out Improved Bash History and More Useful Bash/Terminal Settings for more ideas for improving your bash productivity.
Bash Navigation ShortcutsWhen editing a long command, there are quite a few navigation and editing shortcuts. By default bash typically operates in emacs mode.
- Ctrl-A to go to the beginning of the line
- Ctrl-E to go to the end of a line.
- Ctrl-W will cut the current word (searching backward)
- Ctrl-U will cut More >
Migration To Slicehost
Jan 16th
I got tired of the performance issues I was having so I’ve migrated my blog to a Slicehost slice (512MB). Hopefully nothing is broken, but if you notice something let me know. Everything should load more quickly and consistently going forward!
Jasper National Park
Jan 12th
To make up for posting that downer of a TSA article how about some photos from the day I spent in Jasper National Park? Click any image to go to the Flickr page and see it in larger sizes. Or you could just view the entire set!
A Cold Canoe Ride Big Horn Sheep Ice ColumnsMy Trip To The TSA Security Theater
Jan 11th
Having just returned from a trip to Canada I have now experienced the new TSA security theater1 for flights inbound to the US from abroad. Hopefully your own experience will not mirror mine, but if these restrictions stay in place this post could be helpful to some.2
At check-in we discovered that the TSA will allow outbound flights to take backpacks and carry-ons, but when coming back into the country you must check them. In my case I was required to check both my backpack and my suitcase. This incurred a $20 charge for something I was forced to do, but the More >