Friday, June 13, 2008

saving bandwidth

Installed a new tool today called apt-cacher. This tool acts as a proxy for apt and related tools, caching all Debian packages downloaded. Thus, when multiple clients download the same package, it is only downloaded from the internet once, speeding up the process and keeping the internet fast.

Friday, May 30, 2008

DVD Issues

Well, I just purchased a Philips DVP5990 DVD player last weekend. It has some nice features, including the ability to play DIVX movies from an external USB drive.

I spent the past 2 hours trying to connect the player to my TV through HDMI. I tried 3 different cables, all of which gave me a horrible picture that looked like something out of an old four color CGA monitor from the 1980s. I tried upgrading the firmware, jiggling the wires and changing settings all to no avail. Finally, one step away from returning the player for a replacement, I tried unplugging the unit for a few minutes. After turning it back on, all of the color problems have disappeared. The player appears to be functioning normally. Apparently, not even a reboot after upgrading the firmware was sufficient to fix this bug...

Friday, May 09, 2008

Compressed Time

I've been having trouble with VMWare guests losing clock ticks to the extent that the guest OS clock runs approximately half-speed compared to the host. This is with an Ubuntu Server host OS and a Debian Etch guest OS. I found that adding these settings to /etc/vmware/config:

tools.timeSync = "TRUE"
host.useFastClock = "FALSE"
monitor_control.virtual_rdtsc = "FALSE"

Fixed the timing issues as well as the boundless supply of timing errors showing up on the host in /var/log/messages:

rtc: lost some interrupts at 512Hz.

Thanks to the following for inspiration:

http://jackshck.livejournal.com/117486.html

Thursday, March 27, 2008

misunderstandings

This is a wonderfully written statement:

http://my.barackobama.com/page/community/post/hopewagner/gGBRVV

What is it about human nature that inspires us to pass judgment expediently and without regard for consequences? I wonder if anyone anywhere can claim that no 20 second sound byte over the span of their entire life could be construed as offensive, particularly when taken out of context?

Wednesday, March 19, 2008

addendum

I'd just like to go on record saying that I vote democrat, but if Hilary somehow steals the nomination from Obama, I will be voting for Ralf Nader or none-of-the-above :(

negativity

The conservative movement in this nation never ceases to amaze me. One of the most remarkable speeches of the 21st century was delivered yesterday and it fell upon many deaf ears. What is it about fear that a near majority of people in this country find it so enticing? It is the same fear that allowed popular opinion to sway toward the lies of our fearless president, whose trillion dollar mistake is commemorated today. "The troop surge is working." You have nothing to fear. Except black ministers...

Thursday, February 07, 2008

Invalid Checksums

Apparently, there is a checksum offload engine in my laptop's network card. Unfortunately, this engine doesnt work, at least with the latest Ubuntu release (Gutsy).

The problem manifests itself as a continuous stream of bad UDP checksum errors when monitoring network traffic with Wireshark. In particular, every DNS request my system sent had an invalid checksum error. I did not bother to check for the same problem with other traffic types. In any case, I found a bug report describing this exact issue:

https://bugs.launchpad.net/ubuntu/+source/libpcap/+bug/31273

Apparently it is very easy to turn off the checksum offload feature using this command:

sudo ethtool -K eth0 rx off tx off

After this modification, my packets are no longer broken!