theCommandline.org

|Projects|Personal|Links|

My Site

Welcome to the commandline.org (the homepage of Brian Keffer). I am continually adding new things to this site, albeit at a fairly slow pace.

For now take a look at my current projects page

Down time
Dec 5, 2005 10:49 PM bkeffer.web@thecommandline.org

My firewall failed on me this past Friday causing about 48 hours of down time. It appears that my early floppy firewall disk went bad (not sure about this yet though). I created a new one and replaced the computer for good measure and was able to get things back up again. (After I realized I was plugging the cables into the two NICs I added to the new firewall forgetting that that computer had a built in NIC that was loaded as eth0). I am going to try to find out what really failed soon and possible setup a redundant firewall using the two machines. Sorry for the unexpected downtime.

tclWebmail 0.3 released
Aug 31, 2005 10:49 PM bkeffer.web@thecommandline.org

I have changed the name of my miniwebmail script to tclWebmail and made a few small updates (mostly having to do with replying, forwarding, and search functionality). The new version is available at tclWebmail-0.3.tgz. For questions, bug reports, or suggestions email me at bkeffer.web(at)thecommandline.org.

Snort tcldisk testing
Aug 9, 2005 11:04 PM bkeffer.web@thecommandline.org

I have created a CD Image containing brctl, iptables, and snort-inline for creating an intrusion prevnsion system. I have not had time to test it much yet, though. I would be happy if someone would give it a try and let me know of any problems with the basic software. The included kernel has support for EtherExpress Pro 100 networks cards and I think a few 3com cards. I will try to add some kernel modules soon.

uClibc Buildroot help
Jul 19, 2005 12:44 PM bkeffer.web@thecommandline.org

I am having trouble building pcre within the uclibc buildroot. Here are the two pcre package files I am using pcre.Makefile.in.patch and pcre.mk. These files should be placed in a buildroot/packages/pcre dir. (I am using buildroot revision 10870 with the following config file buildroot.pcre.config). To grab the version I am using via subversion execute 'svn co -r 10870 svn://uclibc.org/trunk/buildroot'. Here are the relevant errors I received during the make install section of 'make pcre' in the buildroot

/bin/i386-linux-uclibc-gcc -I. -I. -rpath /var/tmp/floppy/projects/buildroot/build_i386/root/usr/lib \ libpcre.la -version-info 0:0:0 -o libpcreposix.la pcreposix.lo ) libtool: link: warning: `/var/tmp/floppy/projects/buildroot/build_i386/staging_dir/lib/gcc/ \ i386-linux-uclibc/3.4.2/../../../../i386-linux-uclibc/lib/libstdc++.la' seems to be moved ...<snipped>... echo "/bin/sh ./libtool --mode=install /usr/bin/ginstall -c libpcrecpp.la \ /var/tmp/floppy/projects/buildroot/build_i386/root/usr/lib/libpcrecpp.la" /bin/sh ./libtool --mode=install /usr/bin/ginstall -c libpcrecpp.la \ /var/tmp/floppy/projects/buildroot/build_i386/root/usr/lib/libpcrecpp.la /bin/sh ./libtool --mode=install /usr/bin/ginstall -c libpcrecpp.la \ /var/tmp/floppy/projects/buildroot/build_i386/root/usr/lib/libpcrecpp.la libtool: install: `libpcrecpp.la' is not a valid libtool archive
Any ideas as to what I should modify in my pcre.mk would be helpful.

minimail webmail script version 0.2
Jun 23, 2005 8:00 AM bkeffer.web@thecommandline.org

I have updated my single (not counting CSS) file php webmail script, MiniMail. This release adds a Reply and Forward option for mail and a few CSS changes.

tcldisk 6 prerelease 1
May 5, 2005 10:36 PM bkeffer.web@thecommandline.org

For those who are curious, I have added a preview release of my next tcldisk. This release is an ISO image for burning to a CD. You can either use the CD to have access to all the packages or create a floppy image out of the CD and whatever packages you can fit. It includes a few extra programs (e.g. tinyX, samba, ntfs tools) but each needs a little configuration before it will work. I'm working on a simple way to handle start up script for these packages but I haven't had any satisfying ideas yet. Also I need to add the modules (so unless you have a 3c59x or Intel EtherExpress card this is probably not too useful for you). I will try to add the modules within the next week.

tcldisk 6 status and webmail release
Feb 28, 2005 10:23 PM bkeffer.web@thecommandline.org

My next tcldisk is coming along slowly. I am currently tidying up the scripts for loading packages. I would like to have my custom buildroot Makefile create packages automatically but until I have that written, I am doing a lot of work manually. I have basic tcldisk floppy and cdrom image loading. Once I have created a package for iptables and an rc.d script which will load that successfully, I will release the disk images. After that the samba and tinyX packages should be fairly easy. The nano-X and rdesktop a little more difficult, but hopefully not too hard.

I have reached a point where I feel confident releasing my simple webmail script MiniMail. It is a single php file ~250 lines and a css (stylesheet). Right now it will display the inbox, let your search subjects, and send emails (all in Read-Only mode). The only requirement is a PHP enabled webserver (I've been using lighttpd with SSL) and an accesible IMAP server. It stores a few options as cookies but in the future I plan on making sqlite an option for more permanent, server-centered storage. I hope to keep it all within 3 files and less than 500 lines of code. The code still has a number of problems but if I waited till I got things perfect, I would never release any of the stuff I write.

tcldisk 6 status, webmail, and publicfile logging
Feb 23, 2005 9:30 AM bkeffer.web@thecommandline.org

I have completed a floppy disk image for tcldisk6 and have compiled a few extra programs for use with it (samba and tinyX). Since samba won't fit on the single floppy I am trying to get a working tcldisk ISO also. I'm still hoping to have something by the end of the month.

Also I have started on a simple PHP webmail program. I wanted something which doesn't have a lot of dependancies and can be setup fairly easily. The result is a ~300 line PHP script and stylesheet page that can run easily under a simple web server like lighttpd.

Lastly I have been working on a simple script to take an Apache style combined log file, parse it, and enter it into a sqlite database. Once I work out the details for getting it to work with multilog I will post it.

tcldisk 6 status
Feb 14, 2005 9:30 AM bkeffer.web@thecommandline.org

I have been working on the latest tcldisk images and hope to have a floppy and cdrom image soon. I am working on getting some extra packages built, like samba and rdesktop, but I have been running into some small issues that I haven't had time to resolve just yet. I am hoping to have something done by the end of the month, if only a preview.

Recent work
Feb 3, 2004 11:34 PM bkeffer.web@thecommandline.org

I have been trying to get microwindows with the nxlib (Nano-X / Xlib compatibility library) working with uClibc so that I could run rdesktop under it. Unfortunately I am having a little trouble. I tried with tinyX/Kdrive but could not get the Xlib shared library small enough. I have updated my tcldisk rc.d script to now start a dhcpd server with a few options set. I also created a rc.d script for use with a tclDisk and the shred package to securely delete hard drives.

Domain renewal
Jan 20, 2004 8:47 AM bkeffer.web@thecommandline.org

Ooops, This site was unreachable this day because I forgot to renew my domain because I didn't receive the renewal notice. All has been taken care of and I now have the domain for a couple more years. Also check out Star Wars Action Figure Theatre. I am slowly working on a new firewall disk for my own use and a tclDisk with rdesktop, but I am also preparing for my wedding too so I can't promise anything too soon.

tclDisk and uClibc updates
Dec 2, 2003 8:47 AM bkeffer.web@thecommandline.org

In the process of trying to get rdesktop working with my tclDisk I ran into trouble with my uClibc pthreads library becoming linked to libc and not uclibc. I then started looking into the most recent versions of uClibc which include a buildroot tool to build a fully functional development environment. I am going to try to use the uClibc buildroot tool to build the next version of my tclDisk (hopefully with a fully functional tiny X server and rdesktop client). I will also try to add documentation on it's use to my updated floppy HOWTO page.

Power Outage & tclDisk
Nov 13, 2003 6:55 PM bkeffer.web@thecommandline.org

My power went out for a few hours today.

Here is a page dedicated to my expandable linux floppy. It's a simple linux floppy disk with room to grow.

New Floppy Disk Template (2)
Nov 07, 2003 12:51 AM bkeffer.web@thecommandline.org

A new syslinux template availiable here. This has a dos editable rc.d file and etc directory which together should configure the basics of networking on the disk. More options to come.

New Floppy Disk Template
Oct 21, 2003 09:40 AM bkeffer.web@thecommandline.org

I have created a new syslinux template availiable here. This is a tarball containing a copy of the disk image and a most of the components needed to recreate it. This disk has module support and will automatically run a file called rc.d from the msdos syslinux floppy. So it shouldn't be too hard to make your own disk with your own modules and programs.

Hurricane Isabel
Sep 22, 2003 03:11 PM bkeffer.web@thecommandline.org

My web server and mail server (still looking for an offsite backup MX server) were down for the past few days as I waited for power to my house. The recent hurricane took down a few trees in my neighborhood and left us without electricity for ~4 days.

Hard Drive Failure
Sep 1, 2003 10:12 PM bkeffer.web@thecommandline.org

My web site was down for a couple of hours as I dealt with a hard drive failure. Someday I'll test web site redundancy for this site with a couple of home servers. But until that project, hopefully no one misses anything important from here (you can always chech out the google cache).

Power Outage
Aug 27, 2003 11:54 PM bkeffer.web@thecommandline.org

There was a power outage in my neighborhood yesterday which led to my site being down for ~4 hours.

Website idea, birthday
Jul 18, 2003 2:30 PM bkeffer.web@thecommandline.org

I am thinking about creating a website which indexes linux documentation. Something which lets people search and rate documentation as to how well it answers their questions. Think the linux documentation project with ratings. Anyway I probably won't have time to implement this but maybe someone out there will become inspired. If it is done well it could be a very valuable resource.

My birthday just passed and it was a lot of fun. My friends took me out to dinner and got me a membership to the AFI Silver Theater in Silver Spring. I am going to try and see Castle in the Sky there in a couple weeks.

As for this server I just got through installing qmail on it. I will write up a short HOWTO on that hopefully this weekend. There isn't much I can add to their documentation but it took me a while to figure out how to make a relay so I will at least write about that.

I was trying configure qmail as my backup mail server, until I have finished installing all the needed software to make it the primary. The problem was I couldn't figure out how to get it to accept mail for my domain AND then relay it to my primary. I needed to add my domain to /var/qmail/control/rcpthosts and make sure it wasn't in /var/qmail/control/locals. Also I had to remember to restart qmail-send.

Power outage
Jul 8, 2003 2:30 PM bkeffer.web@thecommandline.org

My power went out over the weekend while I was away and I don't have this server on the UPS yet so it was not accessible for a little while. Sorry if that caused any problems. I will try to get it on the UPS tonight.

New server
Jun 12, 2003 8:05 PM bkeffer.web@thecommandline.org

Welcome to my new thecommandline.org server. I am in the process of migrating software and data off of my old server (RAM has been failing) onto this machine. I have decided to serve this site using D.J. Bernstein's publicfile. Considering the amount of updates (or lack thereof) I manage to make to this site it is a waste (not to mention less secure) to run more than I need to (e.g. apache instead of publicfile).

So I am going to begin moving more and more over to this server. The dynamic portions of this site will be created by backend scripts instead of in the web server. I may try to create a forum page on the apache side which will be linked from here.

Better package management
Jun 11, 2003 12:45 AM bkeffer.web@thecommandline.org

I'm getting a little annoyed with some of these software packages without helpful install/uninstall scripts. It would be nice if configure scripts could read some defaults values for installation directories from a standard place e.g. /etc/config.default could contain SYSCONFDIR=/etc, PREFIX=/usr/local, etc.

That would be one way of handling the filesystem differences between linux distributions. Most source distributed programs include configure scripts and most linux distributions have specific configure options used to cater to their specific idiosyncracies. Provide a method for them to coordinate and software installation will be much simpler.

Also since nothing knows better what files are installed during a 'make install' then the Makefile. This script should handle recording all the files which were added or modified on the filesystem. The automatic creation of an /etc/uninstall/package-name script or something similar.

Of course these are just a few half baked ideas that I needed to vent after having some problems installing cups.

Working on the house
May 30, 2003 11:31 AM bkeffer.web@thecommandline.org

I haven't been able to update much here for a while since I have been working on my house for the past few weeks. I am taking over my parents house since they are moving to their new place. While living here I am going to fix it for them to sell it in a few years. It is a very nice house but has a number of things that need to be finished. Hopefully once I settle down into a routine I can set aside a few hours each week for this site and my linux floppy HOWTO.

Star Wars Action Figure Theater
May 14, 2003 10:29 AM bkeffer.web@thecommandline.org

Take a look at my friends Star Wars Action Figure Theater Smaller image sizes and page cleanups will be coming soon hopefully.

House work, hockey loss
May 05, 2003 3:06 PM bkeffer.web@thecommandline.org

I spent this weekend working on my house. I started to do some siding work but ran into a problem so I did some duct work instead. My dad will have to help me fix some water damage on one of the exterior walls before I can put the siding up. I spent about 20 minutes working a little more on my updated linux floppy document. Hopefully I can write some more this week. I also had a hockey game yesterday, our second championship game, that didn't go so well. I played well for most of the game, getting 2 assists but there were a couple of plays where I was out of position and the other team was able to score on us.

First Post

October 29, 2002

This is the first web log entry. Today I started to think about adding a weblog on my site because someone told me that my site didn't have anything to offer. I'll spend about an hour this week trying to get a database backend for a weblog. If I can program it in an hour I'll try to start using it.

If that works I will try to expand it to handle more documentation. Ideally I will start writing my ideas for computer projects, and document the projects I am currently working on.

Useful links
tclDisk: linux on a floppy template Howto: linux on a floppy tclWebmail: tiny php webmail (v0.3) Linux on Compaq Armada 1750 Amazon wish list Get Firefox!
Email me at bkeffer.web(at)thecommandline.org - change '.web' to '-web'