<?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>The Syncing Apple &#187; Linux</title>
	<atom:link href="http://dillernet.com/apple/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://dillernet.com/apple</link>
	<description>An Exploration of Technology and Devices</description>
	<lastBuildDate>Wed, 02 May 2012 20:22:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>VLC 1.0!</title>
		<link>http://dillernet.com/apple/2009/07/07/vlc-10/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vlc-10</link>
		<comments>http://dillernet.com/apple/2009/07/07/vlc-10/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 01:25:57 +0000</pubDate>
		<dc:creator>dillera</dc:creator>
				<category><![CDATA[IPTV]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://dillernet.com/apple/?p=279</guid>
		<description><![CDATA[It's released: VLN for OSX.]]></description>
			<content:encoded><![CDATA[<p>It's released: <a href="http://www.videolan.org/mirror-geo.php?file=vlc/1.0.0/macosx/vlc-1.0.0-intel.dmg">VLN for OSX</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dillernet.com/apple/2009/07/07/vlc-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xen Domains, RHEL and Networking</title>
		<link>http://dillernet.com/apple/2007/07/18/xen-domains-rhel-and-networking/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=xen-domains-rhel-and-networking</link>
		<comments>http://dillernet.com/apple/2007/07/18/xen-domains-rhel-and-networking/#comments</comments>
		<pubDate>Wed, 18 Jul 2007 22:19:06 +0000</pubDate>
		<dc:creator>dillera</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://dillernet.com/apple/2007/07/18/xen-domains-rhel-and-networking/</guid>
		<description><![CDATA[At the office I'm deploying some new servers using Xen domains running under RHEL 5.0. We use RHEL 4.4 for our systems, and so re-deploying some of them as RHEL 4.5 (the Xen-kernel enabled version) Domains saves hardware space, money and keeps the server room cooler. Many dev servers are not utilized like production systems [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://dillernet.com/apple/wp-content/uploads/2007/07/xen-image.jpeg" border="0" height="102" width="121" alt="xen_image.jpeg" align="left" vspace="10" hspace="10" />At the office I'm deploying some new servers using Xen domains running under RHEL 5.0. We use RHEL 4.4 for our systems, and so re-deploying some of them as RHEL 4.5 (the Xen-kernel enabled version) Domains saves hardware space, money and keeps the server room cooler. Many dev servers are not utilized like production systems and so will benefit from the Xen virtualization.</p>
<p>Setting up the domains is pretty straight forward, RedHat has a nice guide using their virt-manager GUI tool. There are also excellent guides at the Centos <a href="http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU">wiki</a>.</p>
<p>Two things were not obvious to me, and I'm posting my findings here to help others.</p>
<h3>Issue 1 Multiple networks</h3>
<p>After building the domain, the first thing that stopped me was that I needed multiple networks. The virtual hosts need to be on three networks, and so I needed three virtual devices. The RedHat guide has a nice section on how to create the necessary br0 (network bridge devices) devices, so modifying the scripts to go from one br0 to three (br0, br2, br3) each corresponding to a real NIC on the host was straightforward. However, how to get the virtual devices to recognize and use these new bridges? There is only one config file for your domain, and it looks like this:</p>
<pre>
# Automatically generated xen config file
name = "myVirtualPony"
memory = "1024"
disk = [ 'phy:/dev/virt_vg/some_virtdisk,xvda,w', ]
vif = [ 'mac=00:16:3e:3d:11:f7, bridge=xenbr0', ]
vfb = ["type=vnc,vncunused=1"]
uuid = "fff0f6c0-60e2-xxxx-xxxx-xxxxxxxxxx"
bootloader="/usr/bin/pygrub"
vcpus=1
on_reboot   = 'restart'
on_crash    = 'restart'
</pre>
<p>It should be obvious to any Python programmer, but it wasn't to me initially. Eventually I realized you had to add some new attributes to the vif list. The Redhat guide has a nice python snippet to generate new MAC addresses for you. I used that to generate two more MACs, then added them in:</p>
<pre>
# Automatically generated xen config file
name = "myVirtualPony"
memory = "1024"
disk = [ 'phy:/dev/virt_vg/some_virtdisk,xvda,w', ]
vif = [ 'mac=00:16:3e:3d:11:f7, bridge=xenbr0',
        'mac=00:16:3e:19:11:ed, bridge=xenbr2',
        'mac=00:16:3e:49:11:40, bridge=xenbr3', ]
vfb = ["type=vnc,vncunused=1"]
uuid = "fff0f6c0-60e2-xxxx-xxxx-xxxxxxxxxx"
bootloader="/usr/bin/pygrub"
vcpus=1
on_reboot   = 'restart'
on_crash    = 'restart'
</pre>
<p>Now just reboot the domain with a quick</p>
<pre>
$ xm reboot myVirtualPony
</pre>
<p>and loginto the domain. Copy the  /etc/sysconfig/network-scripts/ifcfg-eth0 to ifcfg-eth1, ifcfg-eth2 and edit them, using the new MAC addresses you created and the proper TCP/IP info.</p>
<p>There is an excellent Page on<a href="http://wiki.xensource.com/xenwiki/XenNetworking"> Xen Networking</a> at Xensource Wiki. I wish I had found this when I was banging my head on this problem.</p>
<h3>Issue 2 - Virtual Console</h3>
<p>After my domains were setup most Xen docs talk about using the virtual console to login to your domain from the host, similar to what you can do with Solaris Zones.</p>
<p>On the master host you should be able to login to the virtual console of the local domains. However, when you build your domains with RedHat's virt-manger they don't setup the virtual console correctly. They attach serial output to the virtual-framebuffer. So if you try and use the virtual tty, you only get the output of the kernel booting, then it stops and your terminal is stuck.</p>
<p>To fix this, you can follow the directions <a href="http://wiki.centos.org/TipsAndTricks/Xen?highlight=%28Console%20handling%29">Xen Centos Tips and Tricks</a> page:</p>
<p>You just need to add</p>
<pre>
co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav
</pre>
<p>in /etc/inittab</p>
<p>and add</p>
<pre>
xvc0
</pre>
<p>to the file /etc/securetty. Then do a @ telinit q to re-load the /etc/inittab and you should be able to use the virtual console from a tty.</p>
<p>Now with that out of the way I can do this to login into my domain:</p>
<pre>
xm console myVirtualPony
</pre>
<p>Xen is fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://dillernet.com/apple/2007/07/18/xen-domains-rhel-and-networking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asus Eee PC $250 Linux Laptop</title>
		<link>http://dillernet.com/apple/2007/07/14/asus-eee-pc-250-linux-laptop/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=asus-eee-pc-250-linux-laptop</link>
		<comments>http://dillernet.com/apple/2007/07/14/asus-eee-pc-250-linux-laptop/#comments</comments>
		<pubDate>Sat, 14 Jul 2007 22:03:16 +0000</pubDate>
		<dc:creator>dillera</dc:creator>
				<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sync]]></category>

		<guid isPermaLink="false">http://dillernet.com/apple/2007/07/14/asus-eee-pc-250-linux-laptop/</guid>
		<description><![CDATA[$250, 16Gb flash drive, 512Mb RAM, 7" LCD, 2 lb., full keyboard. Runs Linux. Has Firefox and Openoffice, Skype. 3 USB ports, VGA out, SD card reader, ethernet, wifi, webcam. Linux. On sale worldwide in August from Asus. Is this going to be a hit or what? I'll pick one up for that. It's less [...]]]></description>
			<content:encoded><![CDATA[<p>$250, 16Gb flash drive, 512Mb RAM, 7" LCD, 2 lb., full keyboard. Runs Linux. Has Firefox and Openoffice, Skype. 3 USB ports, VGA out, SD card reader, ethernet, wifi, webcam. Linux.</p>
<p>On sale worldwide in August from Asus. Is this going to be a hit or what? I'll pick one up for that. It's less than the Nokia 800, and it has a keyboard. For when I need to do more typing that I can stand on my iPhone.</p>
<p>Nice hands-on review and many pictures at <a href="http://www.notebookreview.com/default.asp?newsID=3829">Notebookreview.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dillernet.com/apple/2007/07/14/asus-eee-pc-250-linux-laptop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

