<?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>zyrax &#187; freeradius</title>
	<atom:link href="http://blog.zyrax.net/archives/tag/freeradius/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.zyrax.net</link>
	<description></description>
	<lastBuildDate>Thu, 08 Jul 2010 09:05:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Building Ubuntu FreeRadius 1.1.7 with EAP/TLS/TTLS support</title>
		<link>http://blog.zyrax.net/archives/146</link>
		<comments>http://blog.zyrax.net/archives/146#comments</comments>
		<pubDate>Thu, 19 Feb 2009 04:21:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[freeradius]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://blog.zyrax.net/?p=146</guid>
		<description><![CDATA[Ubuntu do not have freeradius1 is their repo.It&#8217;s annoying considering most of the online guide/config for freeradius TTLS is on freeradius1.Moreover,due to licensing issue,Ubuntu do not support EAP/TLS/TTLS by default. This is the steps to get a freeradius1 with EAP/TLS/TTLS deb 1. Download from freeradius.org. during time of writing it&#8217;s 1.1.7 wget -c ftp://ftp.freeradius.org/pub/radius/freeradius-1.1.7.tar.gz 2. [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu do not have freeradius1 is their repo.It&#8217;s annoying considering most of the online guide/config for freeradius TTLS is on freeradius1.Moreover,due to licensing issue,Ubuntu do not support EAP/TLS/TTLS by default.</p>
<p>This is the steps to get a freeradius1 with EAP/TLS/TTLS deb</p>
<p>1. Download from freeradius.org. during time of writing it&#8217;s 1.1.7 <code>wget -c ftp://ftp.freeradius.org/pub/radius/freeradius-1.1.7.tar.gz</code></p>
<p>2. extract it into a directory. <code>tar xvf freeradius-1.1.7.tar.gz</code></p>
<p>3. change directory <code>cd freeradius-1.1.7</code></p>
<p>4. check debian/rules <code>nano debian/rules</code>.Ensure this line is uncomment and &#8220;buildssl&#8221; contain <strong>&#8211;with-rlm_eap_peap &#8211;with-rlm_eap_tls &#8211;with-rlm_eap_ttls</strong><br />
<code>modulepackages = krb5 ldap mysql iodbc postgresql<br />
buildssl = --with-rlm_eap_peap --with-rlm_eap_tls --with-rlm_eap_ttls --with-rlm_sql_postgresql_lib_dir=`pg_config --libdir` --with-rlm_sql_postgresql_include_dir=`pg_config --includedir`<br />
</code></p>
<p>5. check debian/control <code>nano debian/control</code> and ensure <strong>libssl-dev</strong> is in the build depends <code>Build-Depends: debhelper (>= 4.2.32), dpatch (>= 2), autotools-dev, libtool (>= 1.5), libltdl3-dev, libpam0g-dev, libmysqlclient15-dev | libmysqlclient14-dev | libmysqlclient-dev, libgdbm-dev, libldap2-dev, libsasl2-dev, libiodbc2-dev, libkrb5-dev, libperl-dev, snmp, libsnmp9-dev | libsnmp5-dev | libsnmp4.2-dev, libpq-dev | postgresql-dev, <strong>libssl-dev</strong></code></p>
<p>6. install packages that are required for compiling <code>apt-get install build-essential fakeroot</code></p>
<p>7. install freeradius dependency <code>apt-get build-dep freeradius </code></p>
<p>8. in freeradius-1.1.7 run <code>dpkg-buildpackage -rfakeroot</code></p>
<p>9. <code>cd ..;ls *.deb</code> these are the deb file you had compiled <code>freeradius_1.1.7-0_i386.deb<br />
freeradius-dialupadmin_1.1.7-0_all.deb<br />
freeradius-iodbc_1.1.7-0_i386.deb<br />
freeradius-krb5_1.1.7-0_i386.deb<br />
freeradius-ldap_1.1.7-0_i386.deb<br />
freeradius-mysql_1.1.7-0_i386.deb<br />
freeradius-postgresql_1.1.7-0_i386.deb</code></p>
<p>10. to install either packages <code>dpkg -i freeradius_1.1.7-0_i386.deb</code> or <code>dpkg -i [package_name.deb]</code></p>
<p>just in case if need a dh for certs <code>openssl dhparam -check -text -5 512 -out dh</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zyrax.net/archives/146/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FreeRadius</title>
		<link>http://blog.zyrax.net/archives/6</link>
		<comments>http://blog.zyrax.net/archives/6#comments</comments>
		<pubDate>Mon, 19 Jan 2009 02:23:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[freeradius]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.zyrax.net/?p=6</guid>
		<description><![CDATA[There are a few dependency that freeradius did not mention. If your planning to use EAP,you know u need SSL but not openssl.You’ll need libssl-dev.This piece of information took me few days looking on the net and even compiled openssl by source (which doesn’t help). If your planning to use ippool,you’ll need libltdl3-dev &#38; libgdbm-dev. [...]]]></description>
			<content:encoded><![CDATA[<p>There are a few dependency that freeradius did not mention.</p>
<div class="post">
<p>If your planning to use EAP,you know u need SSL but not openssl.You’ll need <strong>libssl-dev</strong>.This piece of information took me few days looking on the net and even compiled openssl by source (which doesn’t help).</p>
<p>If your planning to use ippool,you’ll need <strong>libltdl3-dev</strong> &amp; <strong>libgdbm-dev</strong>.</p>
<p>configure freeradius for wpa-enterprise http://tldp.org/HOWTO/html_single/8021X-HOWTO/#confradius</p>
<p>http://ubuntuforums.org/archive/index.php/t-478804.html</p>
<p>So far,that all I need to record down.Just in case I need to reformat the whole OS for the <span style="text-decoration: line-through;">5th 6th</span> 7th time.One more bad news for ya,freeradius can’t uninstall and I can’t replace it too.So…last resort,reinstall OS.</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.zyrax.net/archives/6/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
