<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Joe's Linux Blog &#187; ALIX</title>
	<atom:link href="http://joseph.freivald.com/linux/category/alix/feed/" rel="self" type="application/rss+xml" />
	<link>http://joseph.freivald.com/linux</link>
	<description>Linux Admin tips and tricks</description>
	<lastBuildDate>Sat, 31 Dec 2011 07:36:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Updates?</title>
		<link>http://joseph.freivald.com/linux/2011/08/26/updates/</link>
		<comments>http://joseph.freivald.com/linux/2011/08/26/updates/#comments</comments>
		<pubDate>Sat, 27 Aug 2011 02:54:52 +0000</pubDate>
		<dc:creator>jfreivald</dc:creator>
				<category><![CDATA[ALIX]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web Publishing]]></category>

		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=159</guid>
		<description><![CDATA[Okay people, sorry for the long hiatus. Between work, having our youngest son finish high school and going through a divorce, you have all taken a back seat for quite a long time. A lot has been happening in the mean time! Centos 6 is here! Plus we&#8217;ve got an update to Centos 5, not [...]]]></description>
			<content:encoded><![CDATA[<p>Okay people, sorry for the long hiatus.  Between work, having our youngest son finish high school and going through a divorce, you have all taken a back seat for quite a long time.</p>
<p>A lot has been happening in the mean time!  Centos 6 is here!  Plus we&#8217;ve got an update to Centos 5, not to mention several iterations of Qt.  So I have my work cut out for me!</p>
<p>Here is what I plan to do.  First, the existing yum tree for software.freivald.com really kind of sucks.  I&#8217;m going to set up a new tree that compartmentalizes things better. Then I&#8217;ll push an update to the software.freivald.com-repo package that will point to the new repository.  That way, everyone should have a quick, easy migration to the new tree without having to do anything but your standard &#8216;yum update&#8217;.</p>
<p>The new tree will be renamed to el5 instead of centos because we have a lot of RHEL users as well, and I don&#8217;t want them to feel left out.  It will also support multiple versions of the OS, from the current supported releases all the way through 6, in one tree.  This should make it easy for users to find stuff, and minimize my work load to support all of the platforms in the long-term.</p>
<p>As for you loyal ALIX users, part of generating the new repository will involve setting up new virtual machines for each supported version.  During that process I plan to set up the new Alix images, both for Centos 5 and 6.  I&#8217;ll make improvements to the images based on the comments that I&#8217;ve received, and then push them to the web.  As you already know, image updates are a manual process.</p>
<p>Once that&#8217;s all done, I plan to find a better content management system and change from a wordpress blog into more of a kind of support-site type thingy so that Qt users don&#8217;t have to wade through ALIX stuff, so that I can add new items without causing the old ones to scroll of the screen, and so that I can maintain static link addresses for various types of stuff (i.e: joseph.freivald.com/qt would always go to the Qt page, etc.), which will help your favorite search engine find stuff easier.  I would appreciate suggestions here, as I find web-based stuff tedious and annoying.  In fact, if someone wanted to give back some time to me and help me get a new site configured, I would be really, really appreciative.</p>
<p>Well that&#8217;s pretty much it.  If anyone is stopping by the Offutt Airforce Base Air-Show on Saturday, stop by the US Coast Guard Academy booth and see me!</p>
<p>Cheers.</p>
<p>&#8211;JATF</p>
]]></content:encoded>
			<wfw:commentRss>http://joseph.freivald.com/linux/2011/08/26/updates/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Qt 4.7.1, alix and Qt for el6 and other housekeeping</title>
		<link>http://joseph.freivald.com/linux/2010/11/17/qt-4-7-1-delay-and-el6/</link>
		<comments>http://joseph.freivald.com/linux/2010/11/17/qt-4-7-1-delay-and-el6/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 04:59:05 +0000</pubDate>
		<dc:creator>jfreivald</dc:creator>
				<category><![CDATA[ALIX]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web Publishing]]></category>

		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=145</guid>
		<description><![CDATA[Sorry for the delay in getting 4.7.1 out. I&#8217;m jammed up at work. I hope to get it out in the next week or so. When Centos 6 is released I&#8217;ll be building Qt packages and ALIX images for it but I will not be abandoning el5 until it is EOL. Lord thank you for [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry for the delay in getting 4.7.1 out.  I&#8217;m jammed up at work.  I hope to get it out in the next week or so.</p>
<p>When Centos 6 is released I&#8217;ll be building Qt packages and ALIX images for it but I will not be abandoning el5 until it is EOL. Lord thank you for Virtual Machines!</p>
<p>I will also be re-configuring the repositories to make them  non-centos specific.  I&#8217;ll be using &#8216;qt-el&#8217; instead of &#8216;centos&#8217; to eliminate  confusion for RHEL users who have never heard of Centos. The update will involve moving the RPM packages to a new directory structure and updating the repository package.  The old /centos directories will have only the updated repository package in it, so when a &#8216;yum upgrade&#8217; is performed on an existing machine the new package will redirect the machine to the new directory structure.  A second  &#8216;yum update&#8217; will then upgrade the packages normally.</p>
<p>With any luck it will be entirely seamless to the community.</p>
<p>On a side note, we&#8217;re over 200 registered users, over 700,000 non-bot hits per month (over 670k from Yum and wget alone!), and easily keeping over 50GB of transfer per month, with a peak in October of over 110GB.  We&#8217;re #1 on Google&#8217;s search with &#8220;Qt Centos&#8221; and &#8220;ALIX Centos&#8221; and several others.  We have users in Russia, Germany, Italy, France, India, South Africa, the U.S., and dozens more, with hits coming from .com, .edu, .org and several other top-level domains.</p>
<p>Thank you to everyone for making this project worthwhile.</p>
<p>&#8211;JATF</p>
]]></content:encoded>
			<wfw:commentRss>http://joseph.freivald.com/linux/2010/11/17/qt-4-7-1-delay-and-el6/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ALIX Centos Image</title>
		<link>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/</link>
		<comments>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 05:48:20 +0000</pubDate>
		<dc:creator>jfreivald</dc:creator>
				<category><![CDATA[ALIX]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Centos 5.5]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[RHEL 5.5]]></category>

		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=87</guid>
		<description><![CDATA[UPDATE 12/31/2011: I have updated the Alix Centos 5 image to 5.7.  During the process, I removed the /etc/ssh/ssh_host* keys so that each host will generate its own keys on boot up.  Note that during the &#8216;yum upgrade&#8217; process, I had boost the memory on the virtual image. Yum was unable to allocate enough ram with [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE 12/31/2011:</strong> I have updated the Alix Centos 5 image to 5.7.  During the process, I removed the /etc/ssh/ssh_host* keys so that each host will generate its own keys on boot up.  Note that during the &#8216;yum upgrade&#8217; process, I had boost the memory on the virtual image. Yum was unable to allocate enough ram with only 256 MB available. This means that it is unlikely that an update from 5.5 to 5.7 can be performed in a single step on a live board with only 256 MB of RAM.</p>
<p>As for the Centos 6 image, it is being troublesome because the up-line removed all of the non-pae kernel images for the 32-bit architecture.  I&#8217;ve attempted to custom package a few kernels to complete the image but none of the work to my satisfaction.</p>
<p><strong>UPDATE 10/22/2010: </strong>Added a step in the &#8216;Using the Image&#8217; section below. All active installations should ensure they replace their SSH System keys to prevent man-in-the-middle attacks. I will post an updated image that has the keys removed when I get around to it. Until then, just perform the commands in item 7 of the Using the Image section.</p>
<p><strong>UPDATE: </strong>A new version of the image is available.  It had &#8216;yum upgrade&#8217; executed on June 12th, 2010, which upgraded it to Centos Version 5.5.  The new image is located at <a title="http://software.freivald.com/centos/alix-centos-5.7-2gcf.gz" href="http://software.freivald.com/centos/alix-centos-5.7-2gcf.gz" target="_blank">http://software.freivald.com/centos/alix-centos-5.7-2gcf.gz</a>.  There is also an MD5 sum file at <a title="http://software.freivald.com/centos/alix-centos-5.7-2gcf.md5" href="http://software.freivald.com/centos/alix-centos-5.7-2gcf.md5" target="_blank">http://software.freivald.com/centos/alix-centos-5.7-2gcf.md5</a>.</p>
<p>I could not find my 2 GB card. I used the original image, copied it to a 4 GB card, performed the update, and then copied only the first 2 GB back into the new image. Please provide feedback if the image does not work on a 2GB card.</p>
<p><strong>UPDATE</strong>: Hat-tip @Cris. In order to get the vga to work on the 3d3 board you must put the irqpoll as kernel boot parameter.  See his comment for more information.</p>
<p><strong>INFO: </strong>For those who are unfamiliar with Centos, it is a distribution that is binary compatible with RedHat Enterprise Linux.</p>
<p><strong>EDIT:</strong> We&#8217;ve been added to the ALIX web page. Thank you for the testing and support from the PC-Engines crew.</p>
<p>I&#8217;ve been working with one of <a href="http://www.pcengines.ch/alix6e1.htm">PC Engine&#8217;s Alix 6e1 boards</a> a bit lately.  It&#8217;s a 500 MHz i586 AMD Geode-based embedded board with 256 MB of RAM that sells for under $150. I was testing various distributions and found that Centos was pretty easy to adapt. It wasn&#8217;t listed as supported on the PC Engines Web Site, so I wanted to contribute an image back to the community.</p>
<p>The image I&#8217;ve created has the following changes from a base install:</p>
<p>1.  It has no swap.</p>
<p>2.  It has the noatime and nodiratime options for all mounted partitions, although it uses ext3 because of the wal-wart-no-backup-power-for-shutdown configuration.</p>
<p>3.  Grub is configured for a 2-second timeout, and uses the serial port as the console &#8211; both for grub and the kernel.  Hook up a terminal emulator set to 38000, 8N1 to view the boot sequence or access the console directly.</p>
<p>4.  /etc/inittab was modified to use the serial console.  xdm was also disabled.</p>
<p>5.  All console settings are set for 38400 because that is what the initial boot-up bios uses on the ALIX 6e1 that I have.</p>
<p>6.  /etc/securetty has been modified to allow login via /dev/ttyS0 (tty0 and vc/1 are also left open because I use VMWare to modify the image).</p>
<p>7.  Fortunately, due to the stock Centos LVM configuration, no changes were necessary to fstab or the initrd image.</p>
<p>8.  Only a base install was performed.  Several of the &#8216;default&#8217; packages have been omitted (things like bluetooth, extra shells, smart card reader daemon, procmail, cups, NetworkManager, etc. )  Of course they are still available using YUM.</p>
<p>9.  Lots of the startup stuff is turned off (kudzu, gpm, netfs, iptables and others).  Use chkconfig to turn them back on if you want them.</p>
<p>10.  The root password is &#8211; yep, you guess it: password</p>
<p>11. The eth0 (next to the USB ports) is configured for DHCP. eth1 (next to the serial port) is configured for 192.168.1.50. The hardware MAC lines have been commented out so that it will work with any box, but there is a slight chance that the order of the ports will get reversed. This has never happened to me, but YMMV. You can use either port to get the box up and running with ssh or putty if you don&#8217;t want to use or don&#8217;t have a serial interface.</p>
<p>12.  The CF card I used was A 2GB SanDisk Ultra 15MB/s.  Because it&#8217;s LVM based, you can use the LVM tools to shrink or grow the volumes.  Check out the LVM Howto for all the recipies you need.</p>
<p>13. I updated the packages using &#8216;yum update&#8217; on the day it was created, so hopefully you won&#8217;t have as much downloading to do. I did not enable centosplus, extras, or any other repositories, which makes the image binary compatible with RHEL 5.4.</p>
<p><strong>Using the Image</strong></p>
<p>1.  Download the latest image from <a title="http://software.freivald.com/centos/" href="http://software.freivald.com/centos/" target="_blank">http://software.freivald.com/centos/</a>.</p>
<p>2.  Unzip the image with bunzip2.  Please verify the uncompressed image with md5sum. Several users who had issues simply had bad downloads or uncompressed the file improperly.  An md5sum will catch these types of issues.  The md5sum file is in the same directory as the image.</p>
<p>3.  Copy it to your Compact Flash drive using &#8216;dd if=&lt;inputfile&gt; of=&lt;outputdevice&gt; bs=4096&#8242;.  &lt;inputfile&gt; is the uncompressed image that you verified in step 2.  &lt;outputdevice&gt; is your compact flash card.  You can find the correct one for your system with &#8216;sudo parted -l&#8217;.  You must use the disk device, not a partition i.e: /dev/sdc as opposed to /dev/sdc1.  This will install the boot loader and all necessary partitions to have a running system.  If your compact flash is larger than 2GB, see the comments section of this post for ways in which you can use the rest of the space.</p>
<p>4.  Install the Compact Flash into the ALIX.</p>
<p>5.  Attach your favorite terminal program to the ALIX platform.  I use putty.exe under Windows or minicom under linux.</p>
<p>6.  Apply power to the unit.  It should boot without any fuss. If you don&#8217;t have a serial port, use eth0 (next to the USB) to have your DHCP router assign and address, or use eth1 (next to the serial port) for a static configuration. eth1 is configured for 192.168.1.50 and the connector auto-rolls the cable if it needs to, so configure your computer for something like 192.168.1.51 and ping until the system is online. Then use ssh, or putty.exe if you are using Windows, to access the unit.</p>
<p>7.  I recommend some changes: Obviously, the root password.  Also, add an MD5 password to the grub configuration, since without one anyone with a serial cable can pass parameters to the kernel. You will also probably want to add more software using yum. You might also want to create some scratch space under /tmp, or some of the /var/cache directories using tmpfs. I didn&#8217;t do any of the these because they are simple, and different users will have different requirements, especially with the advancement of CF cards (wear leveling, 1000000+writes/block, etc.). You will probably want to customize /etc/securetty for your installation.</p>
<p>8. On images earlier than 5.7, change the SSH server keys with:<br />
$ sudo rm /etc/ssh/ssh_host_*<br />
$ sudo /etc/init.d/sshd restart<br />
(Hat tip to @pmoor for catching this one!)</p>
<p>With this setup, the initial boot up takes 1:32 and has 193MB of free memory. Enjoy.</p>
<p>&#8211;JATF</p>
]]></content:encoded>
			<wfw:commentRss>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/feed/</wfw:commentRss>
		<slash:comments>61</slash:comments>
		</item>
	</channel>
</rss>

