Weekend Hacking

Posted in Life on February 16th, 2009 by lyz

This weekend was a busy one.

* Created a gentoo chroot on my server that shares compiling duties with my desktop using distcc.
* Recovered /etc on my server after antecedently deleting it.  This involved recovering the iptables, nfs exports, and fstab after loading an old backup.
* Fixed a nasty cups-pdf issue on my desktop where the /var/tmp directory had the wrong permissions and the logs were of no help.
* Rebuilt the arcade using Debian Lenny and SDLMAME 128u3.
* Cleared up a bunch of spam comments on this blog and implemented re-captcha.
* Switched the web xen instance to using the pygrub bootloader instead of specifying a kernel and initrd on the host OS .
* Finally beat Civ 4 on the Noble difficulty level.

I really need to elaborate on these things as there is quite a bit of knowledge associated with these tasks that is scattered throughout the Internet.  Of course, that’s was wikux was for….

Tags: ,

Down in Africa

Posted in Life on January 18th, 2009 by lyz

We’re back and doing well after spending 2 1/2 weeks in Kenya.  Due to popular demand, the pictures are up in the gallery.  Click on the image below or follow the gallery link to get there.  Thanks for the thoughts and prayers for us while we were away.

Some of the sights in southern Kenya

Tags:

Remote Control of an OS X Box

Posted in Uncategorized on August 10th, 2008 by lyz

You’re trying to connect to an OS X box and your vnc viewer just doesn’t seem to work. Then, after many a google serch, you discover that OS X’s remote access protocol is incompatible with most VNC servers.  Tuning to Apple for help yeilds a solution, for a small(large) fee.

Thankfully, there is a better way.  There is a free VNC server for OS X called Vine.  Download it and install the server.  Now you should be able to connect through a typical VNC client.

Remember, if you use tightVNC to connect, use the F8 key to bring up the menu that allows you to switch to fullscreen and disconnect the session.

Tags: , ,

When the Power Goes Out

Posted in Uncategorized on August 5th, 2008 by lyz

The storms that went through yesterday had an interesting effect on the available wifi networks in the area.   It wasn’t so much the storms that caused this, it was more the lack of power in the area when the lightning started striking.   Here is what the wireless situation looks like with and without power:

Before power goes out

Before power goes out

A UPS on internet equipment is something that I haven’t seen in too many places.  Apparently, not many people in my complex have heard of it either.

Power just went out

Power just went out

And finally, I win.  The Xantrax Xpower 400 actually kept the Internet up for over 8 hours after the power outage.

I stand alone

I stand alone

Of course, the server didn’t do as well, and I had to turn it down after 20 minutes.  It’s tough to have 99% uptime off of home DSL.

Tags: ,

Fixing this error: You either don’t have a PayPal account or your PayPal account is not linked to your eBay account

Posted in Uncategorized on August 1st, 2008 by lyz

Some content is taken from http://forums.ebay.co.uk/thread.jspa?threadID=1200182458.

I tried to link my ebay account to my paypal account and it would just simply not work. After going through the prompts many times, it would still say that there was no association. There is a fix in an odd location.

Go to account settings -> addresses
Click on all addresses
Then click on add paypal addresses

This gives yet another paypal login. After login, I was greeted with a message thanking me for creating a paypal account. Hmmm.

Tags: ,

Discovering Dependant Dlls in Windows

Posted in Life on July 24th, 2008 by lyz

Sometime, you just don’t know which dll files to register.  Enlighten yourself with dependancy walker .

Tags: , ,

Linux.com :: Benchmarking hardware RAID vs. Linux kernel software RAID

Posted in Uncategorized on July 16th, 2008 by lyz

Ben Martin’s articles have always been a great resource. In his latest article, Linux.com :: Benchmarking hardware RAID vs. Linux kernel software RAID, he makes a very informative comparison between hardware and software RAID.  It is a must read for the server admins out there.  While you’re at it, also check out his other articles.  They are all great reads.

This is my 1st test of Wordpress 2.6’s Blog this Button.  It works, but I loose my information when I move from Photo to Text mode.

Tags: , , ,

Liberate Your Fonts

Posted in Uncategorized on July 14th, 2008 by lyz

They’ve been out for over a year, but I just stumbled upon them this week.  Redhat release some very high quality and non-encumbered fonts.   Most distibutions will have them in a package named liberated-fonts.  They are substitues for some very popular fonts such asTimes New Roman, Thorndale, Nimbus Roman, and Bitstream Vera Serif.  Check em out at https://www.redhat.com/promo/fonts/.

Tags: ,

Slick Favicon Website

Posted in Uncategorized on July 13th, 2008 by lyz

Check out http://www.favicon.cc/ for your various favicon needs.

Tags: , ,

Distro Filpping: OpenSuse 11 on the Laptop

Posted in Linux on July 13th, 2008 by lyz

OpenSuse 11.0 was released on June 19, 2008. Shortly thereafter, it was installed and running on my laptop.  OpenSuse has many draws, I’ll try and touch on the reasons why I chose it for my laptop and why it will stay on my laptop for the foreseeable future.

  • It has corporate backing from Novell, a company that seems quite determined to put Linux on the business desktop
  • It is less experimental than Fedora
  • The package management is quite good and faster than any other rpm based distribution
  • I wanted to grok KDE 4

OpenSuse Screenshot

KDE4

My KDE4 experience didn’t last long.  I really want to like KDE, but I’m just not productive in it.  This isn’t really the fault of the desktop environment as much as it is the applications.  In gnome, I am used to having all applications use a virtual file system so that media can be played over remote locations such as ssh shares.  I couldn’t find a way to do this in KDE with the available software.  I ended up installing gnome instead.

Gnome Applications

OpenSuse is unique than most other distributions with its application defaults.  Novell is actively developing gnome desktop applications that are based on mono.  Examples of this are the banshee media player, f-spot photo manager, and tomboy note taking application.  It includes these applications by default.

I believe f-spot to be the best photo manager that Linux currently has.  The features that I enjoy the most are how it arranges by photos in a timeline, the speed in which one can browse though photos, and the ability to tag photos easily.

Banshee has one killer feature, video.  Why this was so important to me at the time was that it provided the ability to download and watch video podcasts.  It’s a solid media player, but it isn’t leaps ahead of other applications in the space.

Beagle is the default desktop search engine.  It works ok.  There is a direct competitor in Tracker.  I don’t see any benefit to Beagle over Tracker.

There is also an alternate launch button.  This is like the start button in window.  I really like having my favorite and last launched applications available and in front of me; however, I don’t like having to click on more applications to open a menu to launch any other application.

Packages

OpenSuse absolutely excels in the package space.  The sites that you want to check out are http://software.opensuse.org/search and http://packages.opensuse-community.org. Most of the application searches will result in the package being found and provided though a convent one-click installation.

This was great for when I needed to install things like NetBeans 6.1.  I just searched and clicked the install button on the web page.

Issues

Ah the fun part.  A wise man once said that Linux doesn’t have a lack of drivers, it has a lack of quality drivers.  Most of the issues that I experienced initially were due to driver issues.

The atheros card in the laptop shows up as follows in lspci
04:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
This particular card didn’t work with the new ath5k driver as I would’ve hoped.  There was a patch at the time, but it was only for the 32bit version of Linux.  Tickets for this can be found here http://madwifi.org/ticket/1679 and here http://madwifi.org/ticket/1192.

The second driver issue has to do with the intel video card.  It was shipped with broken s-video ouput.  Even though it showed up in xrandr, it just didn’t work.  Doing a software search and installing an intel driver found there fixed the issue.

Advanced desktop effects were unusable due to slowness issues I had.  Video playback would slow to a crawl when compiz-fusion was enabled.

Putting the computer to sleep does not work.  I attribute this to acer’s acpi more than anything.  It’s not a big deal for my everyday use, but it’s something that Linux struggles with and continues to do so.

There are a few usability issues.  They are annoying and have been covered in other reviews.

Virtualization

Virtualization is a must have for me and many others.  The easies way to get this done in OpenSuse is to install VirtualBox.  It runs without issues and runs on the currently installed kernel.  I tried the Xen installation and configuration through Yast, but the kernel crashed would not boot to a desktop, so I scrapped it and used VirtualBox instead.  It makes more sense to use it in a laptop scenario as Xen kernels don’t support CPU throttleing.

Configuration

OpenSuse uses YAST or Yet Another Setup Tool.  YAST has more configuration capabilities than any other Linux configuration tool I’ve seen.  Most of them even work!  It isn’t the end all configuration too yet, but it is quite good.

Novell

I am choosing to abstain from the Novell vs the free software community battle.  There are many places where this is documented beyond my knowledge.

Bottom Line

The availability of a wide range of software is really the kicker for me.  It’s great.  The updates are less frequent than other distributions and the functionality that works is quite stable.  Typically, I’ll switch distributions due to a time wasting issue that is distribution specific.  I don’t see that happening with OpenSuse.  When an issue arises, it seems to be hardware and Linux specific rather than distribution specific. It is, in a word, usable.  Download the livecd and give it a try.

Tags: , , , , ,