I Prefer Jim Developer James Schubert shares his code and his thoughts.

23Mar/12Off

Ubuntu: Open With… Wireshark

Reading through Practical Packet Analysis, I ran local captures to follow along until Chapter 5. Instead of trying to simulate an improperly-dissected packet, I downloaded the captures which accompany the book. In Ubuntu 11.10, I didn't see any way to easily associate .pcap files with Wireshark. In previous versions of Ubuntu, the 'add' button was available in the 'Open with...' dialog, but in 11.10 it is grayed out. Clicking the option to choose another application or find an available application online didn't work. Bummer.

To get wireshark to show up in the 'Open With...' dialog's choice of applications, I followed the instructions on AskUbuntu.com. The instructions are for vim, so I've modified them for wireshark.

Save the following as ~/.local/share/applications/wireshark.desktop:

[Desktop Entry]
Encoding=UTF-8
Name=Wireshark
Comment=Wireshark packet capturing
Exec=wireshark %u
Terminal=false
Type=Application
Icon=/usr/share/pixmaps/hi48-app-wireshark.png
Categories=Application;Utility;
StartupNotify=true
MimeType=application/octet-stream
NoDisplay=false

For more information about .desktop files, check out the Desktop File Specification.

flattr this!

Tagged as: , No Comments
10Nov/10Off

System76 Ubuntu NetBook and Tethering on Verizon Droid (Android)

One of the first things I wanted to do when I got my netbook was to setup tethering.  However, I don't want to pay $30 more a month just to view the same pages I'd otherwise be viewing on my phone (i.e. Facebook, Twitter, Google News/Gmail).  The answer to this is an application called EasyTether.  It's currently only $10 on the Android Market.  Click here to download EasyTether.

The setup guide in EasyTether will walk you through getting the application configured on your phone and connecting that to your computer.  However, some people may have Linux-based NetBooks and not have the technical knowledge to write a simple script to startup 'easytether' in a console.  I'd like to provide those steps.  Please read on if you're interested!

Note: You *MUST* have your sudo password to proceed.

flattr this!