<?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"
	>

<channel>
	<title>Rui Paulo's blog</title>
	<atom:link href="http://blogs.freebsdish.org/rpaulo/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.freebsdish.org/rpaulo</link>
	<description>YAFB! Yet Another FreeBSD Blog</description>
	<pubDate>Mon, 01 Dec 2008 20:21:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language>en</language>
			<item>
		<title>sysctlbyname(3) (and others) from Python</title>
		<link>http://blogs.freebsdish.org/rpaulo/2008/11/30/sysctlbyname3-and-others-from-python/</link>
		<comments>http://blogs.freebsdish.org/rpaulo/2008/11/30/sysctlbyname3-and-others-from-python/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 14:35:33 +0000</pubDate>
		<dc:creator>Rui Paulo</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/rpaulo/?p=42</guid>
		<description><![CDATA[Several times in the past I needed to query sysctls from Python. I was unhappy that this was not possible because the Python standard library didn&#8217;t include a sysctl function. I even created a Python module just to do this.  Of course, you may already be thinking &#8220;ctypes! ctypes! ctypes!&#8221;. Yes, that&#8217;s what I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>Several times in the past I needed to query sysctls from Python. I was unhappy that this was not possible because the Python standard library didn&#8217;t include a sysctl function. I even created a Python module just to do this. <img src='http://blogs.freebsdish.org/rpaulo/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> Of course, you may already be thinking &#8220;ctypes! ctypes! ctypes!&#8221;. Yes, that&#8217;s what I&#8217;m going to talk about.</p>
<p>ctypes is a Python module to access foreign C types and functions, namely sysctlbyname(3). It&#8217;s easy to work with, here&#8217;s an example:</p>
<pre>from ctypes import *</pre>
<pre>libc = CDLL("libc.so")</pre>
<pre>size = c_uint(0)</pre>
<pre>libc.sysctlbyname("kern.ostype", None, byref(size), None, 0);</pre>
<pre>buf = create_string_buffer(size.value)</pre>
<pre>libc.sysctlbyname("kern.ostype", buf, byref(size), None, 0);</pre>
<pre>&gt;&gt;&gt; buf.value</pre>
<pre>'FreeBSD'</pre>
<p> </p>
<p>Python ctypes are available in Python 2.5 and up.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/rpaulo/2008/11/30/sysctlbyname3-and-others-from-python/feed/</wfw:commentRss>
		</item>
		<item>
		<title>aimon - ACPI AI Boost monitoring for FreeBSD</title>
		<link>http://blogs.freebsdish.org/rpaulo/2008/11/30/aimon-acpi-ai-boost-monitoring-for-freebsd/</link>
		<comments>http://blogs.freebsdish.org/rpaulo/2008/11/30/aimon-acpi-ai-boost-monitoring-for-freebsd/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 14:11:41 +0000</pubDate>
		<dc:creator>Rui Paulo</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/rpaulo/?p=40</guid>
		<description><![CDATA[It&#8217;s about time that I release this project to the wild. It&#8217;s a really simple thing, nonetheless.
aimon is a system monitor much like MRTG, but specifically designed to monitor acpi_aiboost(4). acpi_aiboost(4) reports these values under FreeBSD and is present on several ASUS workstations and servers.
So, if you want nifty graphics about your server temperature, voltage [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s about time that I release this project to the wild. It&#8217;s a really simple thing, nonetheless.</p>
<p>aimon is a system monitor much like MRTG, but specifically designed to monitor acpi_aiboost(4). acpi_aiboost(4) reports these values under FreeBSD and is present on several ASUS workstations and servers.</p>
<p>So, if you want nifty graphics about your server temperature, voltage and fan speed, this is for you. </p>
<p>Here&#8217;s an example of how it looks like:</p>
<p><img src="http://fnop.net/~rpaulo/aimon/temp.png" alt="" /></p>
<p>If you&#8217;re interested, the project home page is: <a href="http://fnop.net/~rpaulo/aimon/">http://fnop.net/~rpaulo/aimon/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/rpaulo/2008/11/30/aimon-acpi-ai-boost-monitoring-for-freebsd/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Apple&#8217;s CalendarServer on FreeBSD</title>
		<link>http://blogs.freebsdish.org/rpaulo/2008/11/28/apples-calendarserver-on-freebsd/</link>
		<comments>http://blogs.freebsdish.org/rpaulo/2008/11/28/apples-calendarserver-on-freebsd/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 16:05:45 +0000</pubDate>
		<dc:creator>Rui Paulo</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/rpaulo/?p=38</guid>
		<description><![CDATA[I&#8217;ve come across a blog post by Roy Hooper that explains how to setup CalendarServer on FreeBSD. I haven&#8217;t tried it yet, but I suppose it should work without much effort.
For those who don&#8217;t know, CalendarServer is a WebDAV server that implements the CalDAV extensions. This basically mens that you can register a bunch of users [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve come across a <a href="http://blog.royhooper.ca/2007/07/07/installing-the-darwin-calendar-server-on-freebsd">blog post</a> by Roy Hooper that explains how to setup <a href="http://trac.calendarserver.org/">CalendarServer</a> on FreeBSD. I haven&#8217;t tried it yet, but I suppose it should work without much effort.</p>
<p>For those who don&#8217;t know, CalendarServer is a WebDAV server that implements the CalDAV extensions. This basically mens that you can register a bunch of users in your CalendarServer and using iCal or Chandler (to name a few) you can send invitations to meetings, share calendars and other nifty things that could help you organize better your company.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/rpaulo/2008/11/28/apples-calendarserver-on-freebsd/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FreeBSD and Mac OS X: a happy combination</title>
		<link>http://blogs.freebsdish.org/rpaulo/2008/11/15/freebsd-and-mac-os-x-a-happy-combination/</link>
		<comments>http://blogs.freebsdish.org/rpaulo/2008/11/15/freebsd-and-mac-os-x-a-happy-combination/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 17:30:24 +0000</pubDate>
		<dc:creator>Rui Paulo</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/rpaulo/?p=29</guid>
		<description><![CDATA[I notice that most of my readers&#8217; homes consist of one/more FreeBSD server(s) and one/more Apple computer(s) running Mac OS X. In this post I will introduce the multicast DNS and service discovery concepts. Both are very will suited for a workstation running Mac OS X and a home server running FreeBSD. In the previous [...]]]></description>
			<content:encoded><![CDATA[<p>I notice that most of my readers&#8217; homes consist of one/more FreeBSD server(s) and one/more Apple computer(s) running Mac OS X. In this post I will introduce the multicast DNS and service discovery concepts. Both are very will suited for a workstation running Mac OS X and a home server running FreeBSD. In the previous blog post I showed how you could use FreeBSD as a Time Machine backup and now I&#8217;m going to show you how to make your FreeBSD look like an Apple Xserve. <img src='http://blogs.freebsdish.org/rpaulo/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I assume familiarity with FreeBSD administration and some networking concepts.</p>
<p><span id="more-29"></span></p>
<p><strong>What is Multicast DNS?</strong><br />
Multicast DNS is a recent protocol for doing DNS in a non centralized way, i.e., with multicast DNS, you can have a bunch of machines replying and querying hostnames ending in &#8220;.local&#8221;. Each machine is responsible for telling the others its hostname.<br />
So, if machine A pings B.local, A will query B.local (via multicast) and B.local will reply to A. This should require no configuration from the user.</p>
<p>You can see that this model scales well and is convenient to have on a local network.</p>
<p><strong>Service Discovery?</strong><br />
It would be cool if you could simply pick a computer from a list instead of memorizing its IP address, wouldn&#8217;t it? Several applications under Mac OS X allow this. If you use Mac OS X Leopard, you probably have already noticed that there are several network shares automatically added to the Finder list. This is Bonjour in action. Bonjour is what Apple calls Multicast DNS combined with Service discovery.</p>
<p><strong>Multicast DNS implementations</strong><br />
Mac OS X comes with a multicast DNS implementation called mDNSresponder, but we won&#8217;t be using it with FreeBSD. Instead, we&#8217;ll use <a href="http://avahi.org/">avahi</a>, which I prefer.</p>
<p><strong>First steps with Avahi</strong><br />
If you use FreeBSD as a workstation, you probably already have avahi installed. If not, simply do:</p>
<p><code># portinstall avahi</code></p>
<p>After this, avahi is installed and ready to work. After enabling it in &#8220;/etc/rc.conf&#8221;, try giving it a try (yes, without configuring anything):</p>
<p><code># /usr/local/etc/rc.d/dbus start</code><br />
<code># /usr/local/etc/rc.d/avahi-daemon start</code></p>
<p>Right-click or Hold-click on the Mac OS X Terminal dock icon. You should see the menu entry &#8220;New Remote Connection&#8230;&#8221;. Click on it. You should see your FreeBSD server on the list:</p>
<p><img src="http://people.freebsd.org/~rpaulo/blogpics/terminal1.jpg" alt="" /></p>
<p>Isn&#8217;t this cool? BTW, the key combination for this is Shift+Command+K.</p>
<p>So, how did this work? Check the directory &#8220;/usr/local/etc/avahi/services&#8221; on your FreeBSD system. It contains several XML files describing the service. The XML files themselves are very easy to write, just look at ssh.service.</p>
<p>Safari works with Bonjour too, so let&#8217;s try it. Go to Preferences and in &#8220;Bookmarks Bar&#8221; check &#8220;Include Bonjour&#8221;. You should now have a &#8220;Bonjour&#8221; folder like button on the Safari Bookmars Bar. </p>
<p>You can configure a regular web server if you have one, but I don&#8217;t. What I have is <a href="http://mldonkey.sourceforge.net/Main_Page">mldonkey</a> with a web interface. The following service description makes an mldonkey bookmark show up on the Bonjour list of my Safari and a Telnet entry show up on the Terminal:<br />
<code><br />
&lt;?xml version="1.0" standalone='no'?&gt;&lt;!--*-nxml-*--&gt;<br />
&lt;!DOCTYPE service-group SYSTEM "avahi-service.dtd"&gt;<br />
&lt;service-group&gt;</code></p>
<p><code>  &lt;name replace-wildcards="yes"&gt;%h mldonkey&lt;/name&gt;</code></p>
<p><code>  &lt;service&gt;<br />
    &lt;type&gt;_http._tcp&lt;/type&gt;<br />
    &lt;port&gt;4080&lt;/port&gt;<br />
  &lt;/service&gt;</code></p>
<p><code>  &lt;service&gt;<br />
    &lt;type&gt;_telnet._tcp&lt;/type&gt;<br />
    &lt;port&gt;4000&lt;/port&gt;<br />
  &lt;/service&gt;</code></p>
<p><code>&lt;/service-group&gt;</code></p>
<p>If you changed the port to 80, it would connect to a regular HTTP server on the FreeBSD system.</p>
<p>And this is what shows up on Safari:<br />
<img src="http://people.freebsd.org/~rpaulo/blogpics/safari1.jpg" alt="" /></p>
<p>BTW, Camino supports Bonjour too.</p>
<p><strong>On to Bonjour file sharing</strong></p>
<p>For the file sharing service, you need to install netatalk port which supports AFP (Apple File Sharing)</p>
<p><code># portinstall netatalk</code></p>
<p>Then enable it in rc.conf (all you need is afpd running):</p>
<p><code>netatalk_enable="YES"<br />
atalkd_enable="NO"<br />
afpd_enable="YES"<br />
papd_enable="NO"</code></p>
<p>And start it:</p>
<p><code>/usr/local/etc/rc.d/netatalk start</code></p>
<p>I use the following service description:</p>
<p><code>&lt;?xml version="1.0" standalone='no'?&gt;&lt;!--*-nxml-*--&gt;</code><br />
<code>&lt;!DOCTYPE service-group SYSTEM "avahi-service.dtd"&gt;<br />
</code></p>
<p><code>&lt;service-group&gt;</code><br />
<code>  &lt;name replace-wildcards="yes"&gt;%h&lt;/name&gt;</code></p>
<p><code>  &lt;service&gt;</code><br />
<code>    &lt;type&gt;_afpovertcp._tcp&lt;/type&gt;</code><br />
<code>    &lt;port&gt;548&lt;/port&gt;</code><br />
<code>  &lt;/service&gt;</code></p>
<p><code>  &lt;service&gt;</code><br />
<code>    &lt;type&gt;_device-info._tcp&lt;/type&gt;</code><br />
<code>    &lt;port&gt;0&lt;/port&gt;</code><br />
<code>    &lt;txt-record&gt;model=PowerMac3,5&lt;/txt-record&gt;</code><br />
<code>  &lt;/service&gt;</code></p>
<p><code>&lt;/service-group&gt;</code></p>
<p>Reload avahi:<br />
<code># avahi-daemon -r</code></p>
<p>And now you should see something like this in the Finder:<br />
<img src="http://people.freebsd.org/~rpaulo/blogpics/finder1.jpg" alt="" /></p>
<p>Of course I promised it would look like an Xserve, so all you need to do is change &#8220;PowerMac3,5&#8243; to &#8220;Xserve&#8221; and you&#8217;ll have your well earned $3000 Xserve <img src='http://blogs.freebsdish.org/rpaulo/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>If you don&#8217;t really want an Xserve, pick one from the list:</p>
<ul>
<li>Xserve (or RackMac)</li>
<li>PowerBook</li>
<li>PowerMac</li>
<li>PowerMac3,5</li>
<li>Macmini</li>
<li>iMac</li>
<li>MacBook</li>
<li>MacBookPro</li>
<li>MacBookAir</li>
<li>MacPro</li>
<li>AppleTV1,1</li>
<li>AirPort</li>
</ul>
<p>Source: http://www.simonwheatley.co.uk/2008/04/06/avahi-finder-icons/</p>
<p>Finally, there are other services for which Apple uses Bonjour, namely, Screen Sharing (VNC) and Remote Speakers (AirPort Express), but I haven&#8217;t played with these.</p>
<p>I hope you enjoyed reading this, thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/rpaulo/2008/11/15/freebsd-and-mac-os-x-a-happy-combination/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Apple Time Machine + FreeBSD in 14 steps.</title>
		<link>http://blogs.freebsdish.org/rpaulo/2008/10/04/apple-time-machine-freebsd-in-14-steps/</link>
		<comments>http://blogs.freebsdish.org/rpaulo/2008/10/04/apple-time-machine-freebsd-in-14-steps/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 15:47:11 +0000</pubDate>
		<dc:creator>Rui Paulo</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/rpaulo/?p=20</guid>
		<description><![CDATA[So, here&#8217;s a quick howto on how to setup Time Machine on Mac OS X so that it backups to a networked machine running FreeBSD. 
On the FreeBSD machine:

Build &#38; Install net/netatalk from ports.
Edit /usr/local/etc/AppleVolumes.default
Append: &#8220;/your_time_machine_path TimeMachine allow:your_user_name cnidscheme:cdb options:usedots&#8221; and replace your path and your username in the proper places.
Optionally, remove the &#8220;~&#8221; already present [...]]]></description>
			<content:encoded><![CDATA[<p>So, here&#8217;s a quick howto on how to setup Time Machine on Mac OS X so that it backups to a networked machine running FreeBSD. </p>
<p>On the FreeBSD machine:</p>
<ol>
<li>Build &amp; Install net/netatalk from ports.</li>
<li>Edit /usr/local/etc/AppleVolumes.default</li>
<li>Append: &#8220;/your_time_machine_path TimeMachine allow:your_user_name cnidscheme:cdb options:usedots&#8221; and replace your path and your username in the proper places.</li>
<li>Optionally, remove the &#8220;~&#8221; already present in that file if you don&#8217;t want to share users home directories.</li>
<li>Add &#8220;netatalk_enable=&#8221;YES&#8221;" and &#8220;afpd_enable=&#8221;YES&#8221;" to /etc/rc.conf.</li>
<li>/usr/local/etc/rc.d/netatalk start (nothing will be printed).</li>
</ol>
<p>On the Mac OS X machine (running Leopard, of course):</p>
<ol>
<li>Mount your remote volume. Command+K on the Finder and then type: &#8220;afp://&lt;machine IP address or local hostname if you have a local DNS server&gt;&#8221;. You can&#8217;t type the machine name because we&#8217;re not using multicast DNS.</li>
<li>Build a sparse bundle image using &#8220;Disk utility&#8221; (HFS+ case-sensitive formatted). Usually, the size should be something that gives you enough room for expansion. If you want to backup your whole MacBook/iMac/etc. disk, you can set the sparse bundle image size the same as the disk your are backing up.</li>
<li>The name of this image is important. It should be &#8220;Your_Computer_Name_MACAddress.sparsebundle&#8221;. Check your computer name from the &#8220;Sharing&#8221; section of &#8220;System Preferences&#8221; and the MAC address comes from the interface you&#8217;ll be using to do the backup. I really recommend using your Wired interface. Check the MAC address via ifconfig(1) or via the &#8220;Network&#8221;  section of &#8220;System Preferences&#8221;. E.g., if you&#8217;re John Doe, have a MacBook and your MAC address is 00:01:02:03:04:05, your file should be named &#8220;John Doe&#8217;s MacBook_000102030405.sparsebundle&#8221;.</li>
<li>On the Terminal, type &#8220;defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1&#8243;. <strong>This is the crucial thing.</strong></li>
<li>Go to &#8220;System Preferences&#8221;, &#8220;Time Machine&#8221; and enable it. The networked volume will now show up on the list.</li>
<li>Before selecting the volume on which you&#8217;ll dump the backup, copy the sparse bundle file you&#8217;ve created to your networked volume called &#8220;TimeMachine&#8221;.</li>
<li>Select the networked Volume from the Time Machine volumes list.</li>
<li>Initiate the backup!</li>
</ol>
<p>Enjoy!</p>
<p><strong>EDIT</strong>: As Remko points out in the comments, the MAC address is not restrictive. So, if you want to backup via wired interface and after that via wireless, Time Machine will work using both interfaces. I suppose that Time Machine inspects all MAC addresses in your machine and then searches a sparse bundle in the networked volume that matches.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/rpaulo/2008/10/04/apple-time-machine-freebsd-in-14-steps/feed/</wfw:commentRss>
		</item>
		<item>
		<title>(D)VCS for $HOME mirroring</title>
		<link>http://blogs.freebsdish.org/rpaulo/2008/09/09/dvcs-for-home-mirroring/</link>
		<comments>http://blogs.freebsdish.org/rpaulo/2008/09/09/dvcs-for-home-mirroring/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 22:14:22 +0000</pubDate>
		<dc:creator>Rui Paulo</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/rpaulo/?p=18</guid>
		<description><![CDATA[Many people use a Version Control Systems to mirror their $HOMEs in several networked computers. This has clear advantages of doing incremental backups of your $HOME (TimeMachine, anyone? :-)) and keeping it in sync across several computers. In the past, I&#8217;ve used Mercurial to do this job, but some months ago I switched to Subversion [...]]]></description>
			<content:encoded><![CDATA[<p>Many people use a Version Control Systems to mirror their $HOMEs in several networked computers. This has clear advantages of doing incremental backups of your $HOME (TimeMachine, anyone? :-)) and keeping it in sync across several computers. In the past, I&#8217;ve used Mercurial to do this job, but some months ago I switched to Subversion because I wanted to use try the one-VCS-for-all meme (Subversion is now being used by FreeBSD in case you don&#8217;t know). Unfortunately, it didn&#8217;t work out well. The computer where I kept the svn repo had a horrible hard disk failure and this made me wonder if I was using the right tool. Today, I switched back to Mercurial and I guess this is the right tool for the job.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/rpaulo/2008/09/09/dvcs-for-home-mirroring/feed/</wfw:commentRss>
		</item>
		<item>
		<title>So, you want to test the FreeBSD/i386 EFI boot loader?</title>
		<link>http://blogs.freebsdish.org/rpaulo/2008/09/03/so-you-want-to-test-the-freebsdi386-efi-boot-loader/</link>
		<comments>http://blogs.freebsdish.org/rpaulo/2008/09/03/so-you-want-to-test-the-freebsdi386-efi-boot-loader/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 17:21:24 +0000</pubDate>
		<dc:creator>Rui Paulo</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/rpaulo/?p=15</guid>
		<description><![CDATA[Well, EFI is nothing new, but, currently, we only support EFI booting on FreeBSD/ia64. Before Apple started shipping MacBooks with EFI, there would be a small interest in adding EFI boot loader to anything but ia64. But now that there are thousands of Intel Macs, interest has risen.
I&#8217;ve been asked by several people to make [...]]]></description>
			<content:encoded><![CDATA[<p>Well, EFI is nothing new, but, currently, we only support EFI booting on FreeBSD/ia64. Before Apple started shipping MacBooks with EFI, there would be a small interest in adding EFI boot loader to anything but ia64. But now that there are thousands of Intel Macs, interest has risen.</p>
<p>I&#8217;ve been asked by several people to make available a patch for my recent take on the FreeBSD/i386 EFI boot loader. I&#8217;m also making available binaries for i386.</p>
<p>So, if you have a Core Duo/Solo MacBook (Core 2 won&#8217;t work yet, sorry) and want to try it out, do the following:</p>
<ul>
<li>Install <a href="http://refit.sf.net/">rEFIt</a>.</li>
<li>Download <a href="http://people.freebsd.org/~rpaulo/boot.tgz">http://people.freebsd.org/~rpaulo/boot.tgz</a>.</li>
<li>Extract boot.tgz to your / HFS+ partition (don&#8217;t worry, rEFIt will find it).</li>
<li>Reboot.</li>
<li>Select /boot/loader.efi from the rEFIt boot prompt.</li>
</ul>
<p>One thing worth playing with is the &#8216;col&#8217; command I just added. It basically changes the screen resolution. So here&#8217;s your chance to have something super leet: a FreeBSD boot loader at 1280&#215;800 or more! <img src='http://blogs.freebsdish.org/rpaulo/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> Also, EFI will make your HFS+ partition avaiable to the boot loader, so doing an &#8216;ls&#8217; will really show your files.</p>
<p>Oh, the source code? Here: <a href="http://people.freebsd.org/~rpaulo/efi.tgz">http://people.freebsd.org/~rpaulo/efi.tgz</a>.</p>
<p>One final thing: I&#8217;m still working on kernel booting, so don&#8217;t expect it to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/rpaulo/2008/09/03/so-you-want-to-test-the-freebsdi386-efi-boot-loader/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FreeBSD IA32 EFI boot loader</title>
		<link>http://blogs.freebsdish.org/rpaulo/2008/08/31/freebsd-ia32-efi-boot-loader/</link>
		<comments>http://blogs.freebsdish.org/rpaulo/2008/08/31/freebsd-ia32-efi-boot-loader/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 17:09:49 +0000</pubDate>
		<dc:creator>Rui Paulo</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/rpaulo/2008/08/31/freebsd-ia32-efi-boot-loader/</guid>
		<description><![CDATA[Something I&#8217;ve wanted to do for sometime was to boot FreeBSD on my MacBook via EFI. EFI is a firmware standard for BIOS and OS writers to deal with. Basically, it replaces the good old MBR booting scheme and is capable of much more, namely, all the real mode restrictions are gone, TCP support in [...]]]></description>
			<content:encoded><![CDATA[<p>Something I&#8217;ve wanted to do for sometime was to boot FreeBSD on my MacBook via EFI. EFI is a firmware standard for BIOS and OS writers to deal with. Basically, it replaces the good old MBR booting scheme and is capable of much more, namely, all the real mode restrictions are gone, TCP support in the firmware and, if you write a driver, you can have UFS, ZFS, whateverFS support on the firmware itself</p>
<p>Apparently, I couldn&#8217;t make it work for last years&#8217;s Summer of Code, but now something works. <img src='http://blogs.freebsdish.org/rpaulo/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> I was able to boot loader.efi on my MacBook and see a &#8220;FreeBSD/i386&#8243; boot message. Yay! Unfortunately, there seems to be a bug in (probably) the FORTH library and it sometimes hangs or, if it doesn&#8217;t hang, it displays a lot of garbage.</p>
<p>So, you have a MacBook and want to try this out? Great! Here&#8217;s the procedure:</p>
<ul>
<li>Grab loader.efi from <a href="http://people.freebsd.org/~rpaulo/loader.efi">http://people.freebsd.org/~rpaulo/</a>.</li>
<li>Install <a href="http://refit.sf.net">rEFIt</a>.</li>
<li>Copy loader.efi to, for example, /efi/freebsd/loader.efi.</li>
<li>Reboot and select loader.efi from the rEFIt boot menu.</li>
</ul>
<p>Don&#8217;t expect nothing fancy though.</p>
<p><strong>UPDATE: </strong>the bug is not in the FORTH library as I originally though.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/rpaulo/2008/08/31/freebsd-ia32-efi-boot-loader/feed/</wfw:commentRss>
		</item>
		<item>
		<title>tcpad status report #3</title>
		<link>http://blogs.freebsdish.org/rpaulo/2008/07/28/tcpad-status-report-3/</link>
		<comments>http://blogs.freebsdish.org/rpaulo/2008/07/28/tcpad-status-report-3/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 12:56:15 +0000</pubDate>
		<dc:creator>Rui Paulo</dc:creator>
		
		<category><![CDATA[Summer of Code]]></category>

		<category><![CDATA[TCP]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/rpaulo/2008/07/28/tcpad-status-report-3/</guid>
		<description><![CDATA[So, I&#8217;ve been offline for some days now and I&#8217;ll continue to be until the end of the month. Development of tcpad is going fine and I just committed a few days of work into Perforce. This new work includes parsing of the TCP options and further SEQ/ACK analysis.
SEQ/ACK analysis is probably the most challenging [...]]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve been offline for some days now and I&#8217;ll continue to be until the end of the month. Development of tcpad is going fine and I just committed a few days of work into Perforce. This new work includes parsing of the TCP options and further SEQ/ACK analysis.<br />
SEQ/ACK analysis is probably the most challenging task of this project, so it hasn&#8217;t been finished yet.<br />
The good news is that I&#8217;m learning a lot about TCP and its extensions and it&#8217;s being thrilling!<br />
<br />
In other news, my TCP ECN work will most likely be committed to FreeBSD-CURRENT RSN. <img src='http://blogs.freebsdish.org/rpaulo/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/rpaulo/2008/07/28/tcpad-status-report-3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>lii(4) driver for Attansic L2 ethernet (found on Asus Eee PC 700/701)</title>
		<link>http://blogs.freebsdish.org/rpaulo/2008/06/20/lii4-driver-for-attansic-l2-ethernet-found-on-asus-eee-pc-700701/</link>
		<comments>http://blogs.freebsdish.org/rpaulo/2008/06/20/lii4-driver-for-attansic-l2-ethernet-found-on-asus-eee-pc-700701/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 01:19:44 +0000</pubDate>
		<dc:creator>Rui Paulo</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/rpaulo/2008/06/20/lii4-driver-for-attansic-l2-ethernet-found-on-asus-eee-pc-700701/</guid>
		<description><![CDATA[I&#8217;ve been hacking the NetBSD lii(4) driver so that it works under FreeBSD. This driver is most notably found on the Asus line of sub-notebooks, Eee PC. So far, so good. I did not finish the porting yet, but the mechanical changes are mostly done.
The reason for this is that I bought an Eee PC [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been hacking the NetBSD lii(4) driver so that it works under FreeBSD. This driver is most notably found on the Asus line of sub-notebooks, Eee PC. So far, so good. I did not finish the porting yet, but the mechanical changes are mostly done.<br />
The reason for this is that I bought an Eee PC 701, hence I need this driver, :-), although I haven&#8217;t touched my Eee PC yet (it&#8217;s at my parents house). But I will do the first testing this weekend.</p>
<p>If you have this hardware and would like to help with the effort, please email me.</p>
<p>The effort is being revision controlled at <a href="http://p4web.freebsd.org/@md=d&amp;cd=//depot/user/rpaulo/lii/&amp;c=xll@//depot/user/rpaulo/lii/?ac=83">//depot/user/rpaulo/lii/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/rpaulo/2008/06/20/lii4-driver-for-attansic-l2-ethernet-found-on-asus-eee-pc-700701/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
