Thursday, March 11, 2010

No they are not






No they are not, originally uploaded by marcn.



Squares and grids surround us in our built environment. Focus in on some squares today and make a photograph.

@dailyshoot #ds99

Green Moss






Green Moss, originally uploaded by marcn.



Backgrounds are tricky. They can make a subject stand out or distract from it. Make a photo with a good background today.

Evil Eye






Evil Eye, originally uploaded by marcn.



An old adage in photography says if you want to improve your photographs, move closer. Fill your frame today! #ds97

Tuesday, March 9, 2010

sshguard on Debian/lenny

The sshguard documentation is correct, but a little lacking.

Here are my notes of what is needed in case I ever need to re-do it:



  • Download sshguard-1.4.tar.gz from http://www.sshguard.net/


  • Unpack and compile (see the stock documentation on sshguard.net)


  • In /etc/rc.local add the following lines before the "exit 0". This sets up iptables with a filter for ssh connections:



    iptables -N sshguard

    iptables -A INPUT -p tcp --dport 22 -j sshguard



    You should run those commands before you edit the syslog configuration. Or reboot.


  • In /etc/syslog-ng/syslog-ng.conf add around line 190 the following lines:



    filter sshlogs { facility(auth, authpriv) and not match("sshguard"); };

    destination sshguardproc {
    program("/usr/local/sbin/sshguard"
    template("$DATE $FULLHOST $MESSAGE\n"));

    };


    And down near the end of the file, add:


    log { source(s_all); filter(sshlogs); destination(sshguardproc); };



  • And finally restart syslog-ng (sudo killall -HUP syslog-ng) and read the sshguard faqs: http://www.sshguard.net/docs/faqs/

Tuesday, February 16, 2010

Ubuntu/lucid on hp2133

Tonight I wiped my hp2133 running Ubuntu/karmic and installed lucid.

The only pain was of course getting the wireless card to work. That simply meant getting the Broadcom firmware into /lib/firmware/b43

The instructutions on http://wireless.kernel.org/en/users/Drivers/b43 were right on. You will need to build b43-fwcutter from source pulled from the git repo, but the commands are provided.

Monday, January 4, 2010

Are you a Linux or Java geek looking for a phone?

If so, then you *need* to get a Droid.

I think of the Motorola Droid as an "always on portable computer with G3, WiFi, GPS, Blutetooth, audio in/out, microSD, compass, accelerometer, keyboard and a reasonable size touch screen." Oh, and you can make phone call with it too.

The open source dev tools for Linux/Windows/Mac integrate with eclipse and includes the can't-say-Java-but-that-is-what-it-is compiler & runtime. Nice desktop phone emulator for debugging and on the phone there is a reasonable USB-based debugging tool. It was straight forward to compile some of the sample projects and put it on my phone.