Lenny

I installed Debian Lenny RC 1 on my 2GHz Pentium 4 that I just bought from dad. It boots from GRUB in about 18 seconds! That’s just out of the box, and I think I’m happy with that. One of the nice things I noticed is that it disables the netinstall CD in sources.list before rebooting. One of the surprising things is that it beeps for a bit before bringing up the main menu. Not sure why. It’ll probably be a BOINC Zombie and occasional game server.

Published
Categorized as Software

Typing!

I found this typing program, Amphetype, that doesn’t care about your typing methods. I learned that I get around 60WPM. That might be a bit low, though, because I think I type faster when I don’t think about typing.

Published
Categorized as Software

Router

I swapped out the 80mm fan in the router, it had been making weird noises. It’s a Dell box, and the fan was encased in this weird plastic mounting thing. It has cylinders that go through each hole and connect to a grill on the back with “Dell” written on it. I got it off by wedging a small screwdriver in between the fan and the front at the corners – when I did so the front started to click loose. I got the new fan in there easily enough, and slid it into its slots in the case. The green plastic air duct thing snapped on to the CPU heatsink.

My Linksys router is now running DD-WRT. I downloaded my stuff from here, as it’s a WRT54GS Version 6, and followed this handy guide. I haven’t had connection problems since using it, which is nice, although I’m not entirely sure that’s because of the firmware, as I’ve changed other things as well. I wasn’t aiming for a scientific experiment, I just wanted my connections to stop dropping intermittently.

The other thing I did was print out this parabolic antenna. It looks kinda funny stuck onto my wireless antenna, and the downside is then that you have to aim it and sacrifice omnidirectional connectivity, but this might also be helping.

I had installed fresh drivers to see if I could get my D-Link DWL-520+ to support anything better than WEP. No such luck. The applet the driver installed didn’t even recognize my card, although the card still worked. It was strange because even though the icon said it was not connected to a wireless network, I could browse just fine. I uninstalled the D-Link Air Plus stuff, and the card was recognized and configured automatically, at which point things once again became sane.

When Mr. Smith talks about current events, he usually brings up listening to NPR in the morning. It occured to me that I would like very much to listen to NPR in the morning, so I set up mplayer to first play a tapered 440Hz sine wave, in case the connection doesn’t work, then connect to the URL conveniently listed here.

Surround Sound in Intrepid!

I’ve been wanting surround sound in Linux for a while. My XP machine at mom’s flips stereo to the back, which I really like.  Thanks to the Ubuntu forums, I found that I had to uncomment the default-sample-channels line and change it to 6 for 5.1 sound. (5 speakers + subwoofer) I also changed the sample rate because I noticed it complaining in the PulseAudio logs (it was changing it to the correct value) while I was fiddling with getting it working, but I don’t think that’s needed. I added myself to the pulse-rt, pulse, and pulse-access groups.  It still wasn’t working, and I was getting upset. I found this post, and sure enough, the volume on the other channels was zeroed out in the volume control. I set all my sound output preferences in System > Preferences > Sound to PulseAudio Sound Server, but when I put it back to Autodetect it still worked. I’m happy now.

Published
Categorized as Software

NTP and genetic algorithms

The pfSense box now syncs to the NTP pool. The service doesn’t show up under services, which made it confusing. It’s running now though. All machines on the network sync to it. This is nice because they’re all synced and I suppose there’s less bandwidth usage although I wasn’t getting the feeling it was a bandwidth how anyway.

I’ve found, thanks to Reddit, this mezmerizing implementation of a genetic algorithm. The purpose is to get a vehicle that consists of four circles, two of which are wheels and two that cannot touch the ground, to go as far as possible in a seemingly set time. Suspension, angle, length, and stating position of the circles (I suppose through angle) are varied, as well as circle size. It’s really interesting and is making me seriously concider starting a project of my own in this nature.

Published
Categorized as Software

Source Dedicated Server

SRCDS is now working with pfSense. I ended up deleting all my SRCDS-related NAT port forwardings and firewall rules. I then added:

Port forwards:

27015 TCP/UDP

27011 TCP/UDP

NAT outbound:

27015 (Static port yes)

27011 (Static port yes)

I’m happy that it’s working now. That leaves the only remaining issue as the xfire file transfer. It’s weird because the UPnP service is running. Maybe I have to change the max upload/download rates from their defaults of blank? That’s for another day, though.

Published
Categorized as Software

BOINC

It took me this long, but I finally figured out that Rosetta@Home is far, far more memory-bound than Seti@home. Zombie 1, which has a Celeron @ 432 MHz and 123MB of RAM, had if I recall correctly an load average that was maybe 2 – 3. I suspended Rosetta, and what I had thought was the power light turned off. It was the hard drive light. The thing was eating swap like no other. I have to get more RAM in the poor thing. Zombie 4 was using swap too, although to a much lesser extent. It has a Pentium 3 @ 728 MHz and 124MB of RAM, so the CPU is a factor too.  For now I’m going to detach Zombie 1 from Rosetta and start it back up on Seti@Home, where I don’t remember that happening. In the longer term, I’m probably going shopping for some RAM.

EDIT: Success. Load average is now 1.00.

pfSense

My network at mom’s is now running off pfSense! I took Zombie 6, gave it a second ethernet card I bought from the school, and installed from the LiveCD. Fairly simple, it even let me figure out which card was which by plugging it into the switch! That was cool. The install was uneventful. It started working! I configured the port forwarding and even some fancy DNS options I’d been looking forward to. The domains I host now go straight to the LAN IP of the server when accessed from within the LAN. I think before that it was going out to AT&T and back. DNS seems much faster, although I haven’t put it through a scientific test, nor do I intend to at this point. I set the pfSense box to query the AT&T DNS servers that the modem was querying, although I’m not entirely sure if it’s doing that. Then it broke. I spent what I’m pretty sure was hours going over the configuration of the modem and pfSense box. Then I turned on the monitor, and it was spamming errors which I now unfortunately cannot remember. Google revealed that it was a problem with the PCI bus and ethernet card I bought from the school. (10/100 Mbits, WAN side, a Gigabit card is LAN side) I took down the machine and moved the card to another slot. It started working again, then failed in the same way. I swapped it with the ethernet card in my sister’s machine. It worked instantly in the pfSense box! After another reboot and some nagging, the other card started working on my sister’s Ubuntu box. I then, after some effort, set my Linksys router to be a switch and wireless access point. I had to set the advanced routing option to router instead of gateway, disable its DHCP server, assign it an IP out of the router’s DHCP range, and plug one of the LAN ports (not the uplink!) into the pfSense router. Hooray! The only problems out of all this are that Xfire file transfer didn’t work when Brad tried to send me a file, although it worked a few minutes later for Pat, so whatever, and that for some reason my SRCDS server can’t be seen from the Internet now. I’ll have to check the pfSense forums when I get time, and if worst comes to worst there’s always commercial support… Zoneclient is awesome. I was able to just point it at the modem connection status page, from which it found and used the IP. Surprisingly easy.

Rig Changes

I added my old 120GB server hard drive to my eMachine. Windows and Ubuntu now have drives to themselves. I spent what was probably literally half an hour staring at the JKDefrag screen, until I realized that because my Firefox profile was on the Linux drive I could browse without locking up too many files. QDB FTW.

When I put the drive in I was hoping they would be cable select, (ATA >.<) but they weren’t. Luckily, I had taken one of my 20GB drives from the school over here, and took a jumper from that to set the drive to secondary. Before installing Intrepid, I tweaked the BIOS. Apparently I had reset it to defaults after messing with the fan speeds, so I once again disabled the onboard sound and video. After some research, I also enabled ROM shadowing and some other stuff in the hopes of extra speed. Intrepid is shiny.

It’s nice to have more space. The extra space allowed for a thorough defrag. I ran JKDefrag twice – once to sort everything alphabetically, another to defragment. Woo.

Ext3 Inode Problems

I recently did a fresh install of Intrepid Ibex because the upgrade button didn’t give me all of the new features, and my system was getting strange anyway since I installed PulseAudio from source. When I tried to mount my new partition, (with Ext2 IFS) Windows proclaimed:

The disk in drive L: is not formatted. Would you like to format it?

I could still mount my old partition, a fsck turned up no errors… I eventually discovered that the driver’s limitation of 128 byte inodes was the problem. Ext2fsd supports larger inode sizes. (Mine is 256 bytes.) Its UI is somewhat clunkier, but still perfectly usable.

I’m also catching up on all the South Park I missed. Good stuff.

Published
Categorized as Software