Submitted by Easton on Sun, 09/15/2013 - 02:22
I recently bought another IBM Model M (1395660) on eBay the other day, not thinking that it is actually a terminal keyboard. I thought it has a detachable SDL cable like my current Model M (1391401). I was wrong. Turns out it has a non-removable RJ-45 plug instead, thus being a terminal keyboard. Well, aftering some researching, some were able to get it to work by using an ATMega. I was able to find a pinout of the RJ45 plug on the keyboard, and simply just wire it up to a PS/2 cable. Though apparently, the colour of wire for PS/2 is not standardized, which led to testing each pin to see what it does. I cannibalized an old Microsoft keyboard for the cable and was able to hook the wires up straight to each other.

Submitted by Easton on Sun, 07/21/2013 - 21:58
Four months later and I finally updated SnackLinux. I changed SnackLinux from a ramdisk to initramfs, updated the Linux 3.10.1 and cleaned up how things build. The full project is available on my Bitbucket and ISOs are available to download here.
Submitted by Easton on Fri, 03/15/2013 - 03:12
I've spent the last week or two working on SnackLinux, a small Linux distro. I managed to get uClibc in there, as well as tcc, which makes it somewhat useful. The source of it all is there, so you can compile the distro yourself (sans the packages). There are also ISOs which you can download here and fire them up in a virtual machine.
Submitted by Easton on Sat, 01/19/2013 - 01:35
The processor on the Raspberry Pi isn't all that fast, so why not offload it? I have a HP ML350 that is mostly idling, except when I need to use PostgreSQL, so I thought to set it up as a desktop server for my Pi.
I set up a RDP server since it works well with Linux and also Windows. First thing's first, install xrdp and all other dependencies:
apt-get install build-essential libpam0g-dev libssl-dev x11vnc vncviewer fakeroot checkinstall x11vnc xrdp rdesktop
Submitted by Easton on Wed, 12/19/2012 - 02:22
Because I wanted the full experience, I wanted to hook up my NES controller to my Raspberry Pi and play NES games. I looked around and didn't find anything that fit my needs.
I wrote a script, that's up on Github now, that converts button presses on the NES controller to keyboard presses. So for example, by pressing the A button it registers as pressing the Z key on a keyboard. How to set it up is all right here.

I spliced the wires on the NES controller (thanks to this diagram) and used a breadboard to connect the appropriate wires to ground, +5V, the data, latch, and clock pin. Now I can play Mario in retroarch with a NES controller!
Submitted by Easton on Thu, 11/22/2012 - 21:32
I won a Raspberry Pi for getting 3rd place in the Open 7400 Logic Competition, of which HubCityLabs donated the Raspberry Pi. My initial project idea for it was to set up a wall mounted weather station. For the time being I thought I'd mess around with it and get somehwhat familiar on what I'm dealing with.
I downloaded the Rasbian image and wrote it to an SD card. It's recommended that the SD card is a minimum of class 4.

Everything is supported 'out of the box' with Rasbian so there's no fiddling around. After purchasing a HDMI cable and connecting it to the Pi, it still output video via the RCA jack instead. I opened up /boot/config.txt
and set hdmi_safe=1 and voila, HDMI worked!
Submitted by Easton on Fri, 10/05/2012 - 02:02
pfSense 2.x runs on FreeBSD 8, instead of the previous 7. I wanted to get istatd working on my router, so I fetch'd libxml2 from here and the istatd binary (version 0.5.7) compiled against FreeBSD 7 from my previous blog post, here. For this to work, you'll also need the iOS app. When running istatd, it complained about some libraries. I simply created symlinks from the old library to the new one and everything worked fine, see below.
ln -s /lib/libz.so.5 /lib/libz.so.4
ln -s /lib/libkvm.so.5 /lib/libkvm.so.4
You can get a template for the configuration file here and put it in a nice place, like /etc/istat.conf
Create your user, group and socket file and you're good to go:
pw user add -n istat
pw useradd istat -G istat
touch /tmp/istatd.sock
Then, you can run the istatd daemon with just
istatd -d -c /etc/istat.conf
Now, you'll be able to monitor your pfSense box with iStat!

Submitted by Easton on Wed, 09/05/2012 - 16:28
Linux, one way or another, really brings out your inner hacker. I've been tinkering quite a bit with DeLicate Linux. It's a lightweight distro made for old computers that uses the 2.4 kernel. Right now, I have DeLicate running on a Pentium 166 with 64MB of RAM. Surprisingly, Fluxbox and Xchat run without any huge problems. Replacing Bash with Dash helped free up some RAM as well. DeLicate uses pacman as the package manager, so building new packages is as easy as creating a PKGBUILD file.
Submitted by Easton on Mon, 09/03/2012 - 03:19
I thought I'd mess around with WordPress and create a plugin or two. I ended up creating SEOBudd, a SEO stats plugin for WordPress. It retrieves stats about your website, such as average load time, social media mentions and incoming search words. It' has been approved and is now available for purchase on CodeCanyon.
Submitted by Easton on Tue, 06/26/2012 - 19:45
For the last couple months a friend and I have been working on a 4000 series based clock in electronics class. After having failed building a FM receiver, we opted for a clock. We didn't go the microcontroller way, but old school ICs. So, we created a circuit for a simple clock. I opted for a 24-hour version, while my friend made the 12-hour equivalent.

Pages