Wolverine Soft

It’s not fun when you have to scroll down to see the last link to a required piece of online homework that’s not done. That monotony aside, things are going pretty well. I’ve discovered that Wolverine Soft is great – I hadn’t really realized how much I missed sitting and coding on a game for a day.

Sound Modification and Logic Games

I found a sound tool that’s interesting. I built the SVN version, and while following the Install From Source page I ran into two problems: my ffmpeg wasn’t compiled with –enable-libmp3lame, which apparently resulted in 0-byte output, and I didn’t realize the ‘where ffmpeg’ part of the link was meant for me to fill in, although in retrospect I feel silly. If people are interested in a more in-depth tale I can put together a guide for getting it running under Debian/Ubuntu.

I also discovered via Reddit an interesting logic game called Manufactoria. My sense is that it takes a rather strange type of individual to enjoy it. My complaint is that the music is quiet and the mute button doesn’t actually stop it.

Synergy+

I found Synergy+! I have a Linux box set up next to my Windows one now, and I can slide my cursor between the monitors of the different machines, and control both with one keyboard and mouse! The Windows machine runs the server. I’m using a stereo Y-cable to connect both machines to the speakers. I’m concerned that it might not be good to connect two sound outputs to the same cable, although there are speakers so it’s not directly between outputs… I really need to learn about electricity!

Synergy+ was surprisingly easy to set up, and following the directions worked without issue. I set up sshd on the server using Cygwin by running ssh-host-config and following the instructions. Running ssh-keygen got me my RSA key for the client, which I copied into ~/.ssh/authorized_keys in Cygwin so that I could have passwordless login. With passwordless login, I was able to add the creation of an SSH tunnel alongside synergyc localhost.  (localhost so that it uses the tunnel.) I also have the server running as a system service.

The end result is that Synergy+ is automatically started and securely tunneled. It’s pretty fun. Perhaps next in my string of projects will be setting the second monitor up on a monitor switch so that I can change between dual-monitor on one machine and one monitor each.

At the end of this break I will have attended no less than five Christmas parties. Too much travel!

EDIT: After accidentally closing Firefox on my left screen by attempting to open a menu on the far left of my right screen, I realized I could start the transfer range between screens at 5% and end it at 95%, making a part of the top and bottom of the shared edge not transfer. Hooray configuration!

EDIT Jan 17 2010: I now use autossh to make the tunnel persistent. Combined with Synergy+’s ability to retry connections, this makes it a lot easier to keep the machines connected between reboots.

sftp-server

I decided to compile the latest OpenSSH, largely because I can, and partially because I was trying the throughput patch. It didn’t work out too well, which might be due to my aging hardware. I discovered that after removing Debian’s package and compiling and installing OpenSSH from source, I no longer had a running sftp-server. After some investigation, I found that although it was attempting to load the sftp-server subsystem in /etc/ssh/sshd_config, the executable was missing. I copied it from the compilation directory to the directory set in sshd_config, set the permissions, and restarted sshd. It works now!

Driving Test and CSS

I’ve been trying to learn some CSS and HTML, and in doing so I have found why people prefer PHP and MySQL for lots of pages with consistent layout: it is easy to change something on all pages. To be sure, my theme uses CSS, but if I wanted to change the footer text, CSS would be of no help. That said, I’ve found excellent resources, and I think it may prove to be useful later on. As a less resource-intensive solution, which I’ve set up with wp-cache, is to have WordPress output saved as static pages. This gives good response time and easily edited content.

I’m taking my driving test tomorrow and I’m intimidated. I read the booklet, and I hope I pass.

Cables, Infections, and More!

A few days ago I brought my desktop over from Dad’s and set it up at Mom’s, along with a switch to connect both desktops to the network. Someone accidentally bumped the switch, and the cable that brought the network connection up from the basement could not be wiggled back into working again. My hasty crimp had given out. I took my single remaining cable end, and managed to, after maybe two tries, get what seemed like a flawless crimp. Only having one end, and thus one chance at crimping to get online, was a very powerful motivating force. Upon further inspection it is not perfect, but it’s better than other crimps I’ve made. Maybe the loading bars I anticipate getting will help.

I cleaned up a machine at KI that was very badly infected. Our tools took care of the infection, but what took me a really long time to realize was that ndis.sys had been infected and deleted by the scanners. Everything was working except for networking devices, which showed up with corrupted drivers. Fresh drivers did nothing, and uninstalling the drivers did not actually seem to do so. Copying ndis.sys over from another machine fixed the problem.

My Dad sold his house, and we have now moved to Wendy’s house. At this point my room has no blinds, and my desk is in pieces. My room has the feeling of a LAN party in a metaphorical tornado – there are objects one might expect to find in a bedroom, except in strange locations and often not assembled. I hope this gets sorted out somewhat quickly.

TX Underrun

Ever since I set it up, once my pfSense box has been running for a while it seems I will plug in the monitor to find two, three, or more messages about TX underruns, such as

dc0: TX underrun -- increasing TX threshold

However, my network started being slow to respond on the 6th, going so far as to drop one packet when I pinged Google. The LAN side was just fine. Yesterday I plugged the monitor into the router to see what was up, as I was unable to find a system log of console messages. The last message was

dc0: TX underrun -- using store and forward mode

My understanding is that this is why it became slow. This machine is not screaming fast by any means. It has 504 MB of RAM and a 499 MHz Pentium 3. Looking in the WAN interface settings, I realized I had misunderstood and set the wrong MTU. I saw the size for PPPoE, and given its mention in my modem’s configuration, I had understood, incorrectly, that my router would use PPPoE. (Even though the WAN interface was visibly set to DHCP on that very page.) I now do not know why I felt the need to set this manually, and as I reread my modem’s status page I feel more and more mystified as to how I came to that understanding: PPP on the modem (Public IP for LAN device). I left the field blank as to allow pfSense to set the MTU,  and my WAN connections are speedy again.

Mail

Today I learned that the proper way to check system mail on a Linux box is not by moving or deleting files from /var/mail, but using the mail command. Imagine that! I had to read the man pages to figure out how to use it, which is to be expected for a command line utility. I’m also looking at rdiff-backup to see if I can use it for real, scheduled and incremental backups instead of the current full-backups-when-I-remember system. (Please don’t hurt me for admitting it! I’m not proud to say it!)

EDIT: Daily backups are now scheduled.

Nvidia 182.50 Drivers Broken!

Newer drivers have less bugs and better performance, right? Not in this case, at least if you’re running an AGP GeForce 6800XT like me. The device fails to properly start, the device manager complains, and falls back on very ugly software rendering. Installing previous drivers – in my case 178.24 – fixed the problem. I learned that EVE will not launch with software acceleration.

On my eMachine where I am currently using my onboard card, (sigh) the fitting screen in EVE took what felt like several seconds to finish the intro animation, but on my machine at mom’s, it takes a fraction of a second or so. I find it amazing just how bad onboard graphics card performance is.