tail -f findings.out

Needs more cow…say!

I stumbled across a wonderful program today: cowsay! It is just as cool as you would imagine:

1
cowsay "Text"

gives you an ASCII art cow saying your Text.

I think I will use it as the welcome banner on all my servers:

Tags: , , ,
July 16, 2008 - 11:58 AM No Comments

Handy Network Utilities: nast, fping

I discovered a wonderful utility last night: nast. I wanted to scan my local network, just to see what devices were on it, what their addresses were, etc. I could ping my entire subnet, but what if I had a machine that rejected ICMP packets? (Not that I do very often, but it can happen in larger environments). I thought using a protocol like ARP would be much more robust, since it is pretty much guaranteed to be available. Then I discovered nast.

nast can do a lot of neat things. The first I found was mapping a subnet of course, which you can do by running

1
sudo nast -i eth1 -m

This returns something like:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
Nast V. 0.2.0

Mapping the Lan for 255.255.255.0 subnet ... please wait

MAC address     Ip address (hostname)
===========================================================
00:1A:4D:9C:6D:30   192.168.1.5 (B74kB0x.home) (*)
00:18:01:2E:5F:66   192.168.1.1 (Wireless_Broadband_Router.home)
00:04:4B:03:2F:0D   192.168.1.2 (MediaServer.home)
00:21:5A:35:E0:43   192.168.1.3 (new-host.home)

(*) This is localhost

Finished

nast can also try to find out if there are any nodes on your subnet acting in promiscuous mode, which I think is pretty hot. Check out the main nast page for the full feature set.

In my searching, I also came across fping. Its main improvements over regular old ping are:

  • More than one host can be passed (as well as a file containing hosts)
  • Output is very simple and easy to parse, making it ideal for scripting
  • Tries each host and moves on if there is no response, making the whole process faster

Instead of

1
ping -c 1 myhost1 ; ping -c 1 myhost2

you can just run

1
fping myhost1 myhost2

which just returns

1
myhost1 is alivemyhost2 is alive

Both nast and fping are available in the Ubuntu repos.

Tags: , , ,
July 10, 2008 - 10:57 AM No Comments

Crashing Application Greeter

I was playing around with themes and the like in Hardy Heron recently, and I ended up selecting a new login screen. Apparently, something was wrong with the one I installed, however, since the next time I went to login, I was presented with a black screen and the message “The greeter application appears to be crashing. Attempting to use a different one.” Hitting Ok on this merely cycled through X starting up and led to the same message.

To fix this, I went into another tty with Alt + F2, logged in, and ran “sudo vim /etc/gdm/gdm.conf”. I commented out the line “Greeter=/usr/lib/gdm/gdmgreeter” and added “Greeter=/usr/lib/gdm/gdmlogin”. After restarting, a simple Gnome login screen appeared fine, which allowed me to get in and change the login screen to a know safe default.

Tags:
July 9, 2008 - 9:52 PM Comments (2)

Additional Tips for GNOME-Do

After having played with GNOME-Do (intro post here) for a few days, experiencing some pain and finding more fun things, I have some suggestions that may make your adoption of it smoother.

  • Get to 0.5. 0.4 will likely be in your repo, so beware! It is a paltry substitute. If you have installed that, remove it and delete the plugins dir. Then add the repos to your “/etc/apt/sources.list” as described here, then run “sudo apt-get install gnome-do”. Also, make sure you kill GNOME-Do if it is running, BEFORE you remove the old version and try to install.
  • 0.5 has a lot of great features, mainly the built-in Preferences window, which lets you just check plugins you want. There is also a new Open With action, which comes in very handy. Get to 0.5.
  • Very neat plugins: Skype (lets you chat or call with Skype contacts, like the Pidgin plugin), Upload to Flickr, Locate Files, Rhythmbox.
  • Install “xclip” (is in repos). This will let you select any text, invoke GNOME-Do, and act on that text.

Once I got to 0.5 and got those plugins running, GNOME-Do started becoming even handier!

Tags:
July 9, 2008 - 12:29 AM Comment (1)

Killer App: GNOME-Do!

I started to doubt my beloved Ubuntu after a co-worker showed me the various virtues of Quicksilver on the Mac. But, I have… Beagle? Yuck. Lunchbox was cute, but never seemed to work right. But today, I take that doubt back, great Linux gods. Behold: GNOME Do!

If you know what Quicksilver is, then you are basically there. If you don’t, just imagine a pretty app launched by a simple key combo that lets you do anything from open files, to play songs, to email people with just a few easy keystrokes.

David Siegel’s beautiful site has lots of documentation, plugins, and more. Just be on Gutsy or Heron, add a repo to your sources, install. In case you don’t know what “super-space” is, as I didn’t, super is the meta key, so the one with a Windows Logo on it on most keyboards.

Some additional plugins I installed and found handy:

  • Del.icio.us – Search your bookmarks and public ones
  • Rhythmbox – Play songs in your library, control volume, and more
  • Pidgin – IM people in your Pidgin lists

Update: Check out some additional gnome-do tips in this post.

Tags:
July 3, 2008 - 4:26 PM Comments (2)

« Older Entries

Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.