Syslinux 6.01 @ PXE

syslinux-100

I was reminded tonight that newer versions of syslinux (one of my favorites) has broken out libraries from the previous stand-alone modules. Traditionally, for setting up PXE environments all that was needed was pxelinux.0, memdisk, menu.c32, vesamenu.c32. The friendly folks on #syslinux directed me to http://www.syslinux.org/wiki/index.php/Library_modules

Basically now you’ll need:
pxelinux.0, memdisk, menu.c32, vesamenu.c32, ldlinux.c32, libutil.c32, libcom32.c32
in the root of your tftp server.

All of these can be found under the bios directory when you download versions 5 or 6 of syslinux.

Enjoy!

Fedora 19. Making libvirt and firewalld play nice

I’ve been running Fedora for quite some type and it’s hands down my favorite bleeding-edge distro. Since I’ve been at Red Hat though, I’ve been using RHEL on my work laptops, and I’ve really enjoyed the experience and stability. So the past three years it’s been Fedora at home and RHEL at work, and that’s worked out perfectly. …..until now. Continue reading “Fedora 19. Making libvirt and firewalld play nice”

How much is too much?

I love mobile devices. You name it, laptops, smart phones, tablets, etc. There’s just something about a small screen that’s portable that draws me in. I still have very fond memories of my first monochrome PDA with 2 MB of storage. I also had a really great Windows mobile device, the HP 1910 made by HTC. Back in the day these things were amazing. …but they’ve started accumulating in my house. I need a better lifecycle for getting rid of old things I no longer use. Continue reading “How much is too much?”

HDHomeRun Repair

Over the Christmas break I re-wired my “server room” at the house and I accidentally plugged in the wrong power supply to my original HDHR. The unit is supposed to run on 5 volts but I sent 12 through it. The only reason I noticed was this electrical burning smell. After taking apart the case I could tell the inductor behind the AC jack was what was heating up and creating the odor. It turns out this wasn’t the problem but rather the symptom of IC7 being blown. The support I received from Silicon Dust, the manufacturer, was amazing. Not only did they help me troubleshoot a unit who’s warranty expired years ago, but they also told me the make/model of the chip so I could order a new one. My buddy Daryl helped with soldering, as I’ve never done components this small and my soldering iron stinks. A replacement chip was ~$3 from Digikey and the HDHR works perfectly and no longer smells like burning.

Fun with HDHomeRuns

The updated board is 1/3rd the size

The HDHR3 has a dual tuners, but only uses a single coax input.

The HDHomeRun by Silicon Dust has been my favorite tuner for MythTV for several years now. I think I got it back in 2007 or 2008. It has a fantastic set of cross-platform software including a robust command line utility. Silicon Dust has also done a great job of releasing regular firmware updates that have added new features and increased the reliability, even for the older devices. Continue reading “Fun with HDHomeRuns”

New DLP Lamp

We bought our DLP TV back in 2006 and five years later it was finally time to change and lamp. Over time the screen became very dark and it was very difficult to see dark scenes in movies (or play Halo). My wife finally lit a fire under me to fix it and I got a new, name-brand lamp on Amazon for $100. After all of five minutes to swap bulbs the TV looks good as new, and I’m not used to the really bright screen anymore. I had planned on keeping the original lamp as a backup until I removed it. I’ve never actually seen one of these that’s on it’s way out. See how the halogen is extremely swollen at the base? That combined w/ the discoloration in the upper left hand corner of the backing tells me this bulb was probably hours or minutes away from blowing. Anyway, kudos to Amanda for encouraging me to change it.

I love my EVO

Once the #4 button broke on my old Razr, it became clear that I was going to need to get a “real” phone. I decided to either get the hip, ever popular, iPhone or an Android device. After reading up on the subject, it became quite clear that Android was the right platform for me. I wouldn’t say it’s better that iOS, in fact its lacking in several ways, but it was definitely the right choice for me. I decided to go with the HTC EVO because Sprint had the cheapest plans and it was the newest Android phone and has incredible specs. I’ve had the phone for eight months now, and I’m writing this because I just upgraded to the latest Cyanogenmod 7 nightly build of Gingerbread and I’ve completely fallen in love with this phone all over again. Right now it’s absolutely perfect. Continue reading “I love my EVO”

Bust-a-Cap in yo TV?

One of my reps at work was complaining about Samsung refusing to repair his TV even though there was known problem with defective capacitors for this model. Their response was that his serial number was not an effected unit. I told him I thought we could fix it, but he seemed like he was looking for an excuse to get a new TV. This was a 46″ 720p LCD that was about three years old. These are still priced at $1,900 on amazon, even though you can buy a much better one for less. I offered him $50 for it and he accepted. :) Sure enough after opening it up I could immediately see the problem. I’ve probably repaired this same problem on 50+ Dell gx2{6,7,8}0 motherboards; I recognized it right away. I went to Tanner Electronics for the replacement caps which cost a whopping $2.55. It took me about an hour and a half to replace them. Continue reading “Bust-a-Cap in yo TV?”

system-config??? More like sissy-config!

Sissy is a pejorative for a boy or man to indicate that he fails to behave according to the traditional male gender role. Generally, it implies a lack of the courage and stoicism which are thought important to the male role.

wikipedia

We all love the ease of a nice graphical interface. Often times GUIs (and TUIs) are great because they lower the barriers of technology, but sometimes this ease of use has a price. In the Linux world my gripes with GUIs are that sometimes they:

  1. lack features of their command line counter parts
  2. are cumbersome
  3. difficult/impossible to script.

RHEL & Fedora ship with a nice set of system tools that begin with the name system-config-*. Sometimes these tools really come in handy, but most of the time I use them I’m really just being lazy. In fact, I often feel a little guilty for “cheating” with these tools. I decided that I could do something about it. I wrote a little script today to help encourage myself and others to limit their use of these utils. It’s not that there’s anything wrong with using them, but that there’s often more efficient methods of accomplishing the end results. Like so many things in life I decided to address this head-on using mockery and sarcasm. This little script will create a symbolic link to a more appropriate command name, and if you chicken out, it will mock you. :)

#!/bin/bash
cmds=(`ls /usr/bin/system-config-*`)
num=${#cmds[*]}
i=0
echo -e "There are $num potential \e[01;35m sissy-config\e[00m commands on this system."
echo "Do you wish to convirt them?"
select yn in "Yes" "No"; do
  case $yn in
    Yes)
       while [ $i -lt $num ]; do
       c=$(echo ${cmds[$i]} | sed "s/system-config/sissy-config/g")
       ln -s ${cmds[$1]} $c
       let i++
done; exit;;
    No) echo "OMFG! You are a sissy!!"; exit;;
   esac
done

You can download the script here. Don’t forget to run it as root or use sudo.

Cheers.

***Update***

While the script functions perfectly, the links do not execute properly. I’ve tried substituting cp & mv and I get the same result. I don’t understand what I’m missing. I hope someone can comment and shed some light on this for me.

***Update 2***

The problem with this script is that for some it creates a symlink to a symlink for some of these utilities. For this to work properly the script would need to search for the actual binaries. Maybe one day I’ll have time to fix this.

Apple Hardware

I really like Apple hardware. ….most of the time. I have an Apple keyboard and it’s amazing. I also have two mighty mouse and they’re pretty good (until the scroll ball gets dirty and stops working). Anyway, I’ve been annoyed by mice in general lately and figured I’d give the new Apple Magic Trackpad a shot. Apart from the incredibly stupid name, I really like the form factor.  Right now I have two main grips with it:

  1. I wish there was a wired, USB version. I don’t like messing with batteries.
  2. No Linux support. I know they’re never really “support” Linux, but it would be nice if they would throw us a bone every once in a while. Especially considering how much they “borrow” from the open-source community, they need to give back a little more.

So after screwing with this for three hours it only sort-of works in Fedora 13. Basic mouse functionality worked out of the box, but I need things like scrolling and tap-to-click. Things that are typical for touchpads. I’m a bit disappointed at this point.

Myth .22 upgrade

I couldn’t be happier w/ the new MythTV setup here at the house. The new version is a major improvement over the last release. I’m also really enjoying the mythbuntu theme.

KDE Rocks

Over the past four years I’ve used both KDE & Gnome, but I’ve typically gravitated towards Gnome. ……that is until I played w/ the controversial Gnome Shell. Get me out of here! Watch the screencasts

Of course I didn’t really like KDE 4 when it first came out either. ….maybe it’s my “inner old-man” coming through that makes me resistant to change. I’ll admit that it’s entirely possible that I’ll warm up to the concept, but right now Gnome Shell looks and feels pretty awkward. I really hope they make it an option that can be disabled.

Enter KDE:

Anyway, I’ve been curious about giving KDE another shot recently so after my Karmic upgrade was running terrible, I decided to give Kubuntu a shot. It is AWESOME. What a beautiful desktop; I was really blown away.

Here are the issues I have w/ the current state of KDE:

  • Network Manager sucks – I couldn’t connect to my hidden WPA2 wireless network @ home. Also the openvpn component had problems w/ Kwallet. I ended up running gnome’s network manager.
  • No native SOCKs proxy – I believe this was included w/ KDE 3.X (not 100%) hopefully this will be added sooner than later.
  • Odd keyboard shortcuts – I qualify this by saying odd= I’m not used to it. Luckily everything is tweakable (which is often one of the main criticisms of KDE) so I was able to set it back to a Gnome-ish feel.
  • Korganize lacks simple Google Calendar setup. :(

At any rate, I have moved almost all of my boxes to Fedora 12 now, and one of the things I really like about their KDE distro is it defaults to gnome’s network manager. I’m going to stick w/ Gnome on my laptop for now because of the SOCKs issue, but for the time being I consider my self a KDE man and I’m loving my office PC.

My MythTV Setup

I’ve been an avid MythTV user for the last 2 -3 years. It all started when I got fed up w/ Tivo’s service. My wife and I loved our old Tivo, but it drove me nuts that the hardware & feature set was locked down depending on the subscription plan. I won’t go into too much detail on how my setup evolved the way it has, this is more of a venue to document my current setup. Basically this setup allows me to record, or watch, three five HD shows simultaneously. The commercials are flagged and automatically skipped over while watching the shows. Not only are both our TVs tied into this setup, but both our office PCs and laptops run MythTV as well. Myth also has preliminary support for streaming TV shows over the web interface like a slingbox. Anyway, there are many, many more features but most importantly my recurring costs for this are $20 a year for the listing data (…and electricity). You’ll notice that none of this hardware is expensive or high-end. It’s pretty basic stuff really.

Master Backend Server Hardware:
(The silver case on the bottom right)

  • Case: Antec P180 –  This case is AWESOME. I highly recommend it. ….it’s expensive though.
  • Motherboard: Abit AB9 Pro – I choose this one for the 10x SATA ports!
  • CPU: Intel Core 2 Dou E4500 @ 2.20 GHz
  • RAM: 4 GB
  • Hard drive(s): 2x WD 750 GB RAID 1 for OS, music, pictures, & home movies. 4x 500 GB for TV & Movies. 1x 1 TB drive for backups and misc storage.
  • Tuners: Tichnisat AirStar HD-5000, 2x Silicondust HDHomeRun
  • Misc: 2x NICs
  • OS: Fedora x86_64

Living Room Frontend:

  • TV: Samsung 56′” DLP
  • Case: Silverstone LC17 –  This case is really nice, but it’s large and too expensive.
  • Motherboard: Abit NF-M2S
  • CPU: AMD Athon 64 X2 5600+ 2.8 GHz
  • RAM: 2 GB
  • Video: Nvidia GeForce 9500 GT w/ VDPAU (fanless, DVI –> HDMI)
  • Hard drive(s): 1x Hitachi 160 GB
  • Remote: Humax Tivo D800 Remote (the Peanut)
  • OS: Fedora x86_64

Bedroom Frontend Hardware:

  • TV: Old Samsung 27″ CRT P.O.S.
  • Case: Antec Minuet 350
  • Motherboard: ECS GeForce6100PM-M2
  • CPU: AMD Athon 64 3200+ 2.0 GHz
  • RAM: 2 GB
  • Video: Nvidia 7200 (fanless, Composite)
  • Hard drive(s): 1x 4 GB USB Thumb Drive. Cheap & silent.
  • Remote: StreamZap
  • OS: Fedora x86_64

Here are some helpful links for anyone interested in learning more about MythTV:

AB9RPO