<?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>Fred's Blog &#187; gentoo</title>
	<atom:link href="http://www.valton.com.au/archives/category/gentoo/feed" rel="self" type="application/rss+xml" />
	<link>http://www.valton.com.au</link>
	<description>techno-ramblings &#38; miscellanea</description>
	<lastBuildDate>Sat, 05 Dec 2009 00:22:05 +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>Madwifi configuration with PKA under Gentoo Linux 2007.0</title>
		<link>http://www.valton.com.au/archives/10</link>
		<comments>http://www.valton.com.au/archives/10#comments</comments>
		<pubDate>Sun, 25 Nov 2007 10:43:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://localhost/?p=10</guid>
		<description><![CDATA[Simple madwifi configuration with PKA under Gentoo 2007.0: # emerge madwifi network drivers and wpa supplicant emerge net-wireless/madwifi-ng emerge net-wireless/madwifi-ng-tools emerge net-wireless/wpa_supplicant # update configuration, soft links and run level scripts as follows cat /etc/conf.d/net dns_search_lo=&#8221;your.domain.name.com&#8221; dns_domain_lo=&#8221;your.domain.name.com&#8221; dns_servers_lo=&#8221;your.dns.server.ip.1 your.dns.server.ip.2&#8243; essid_ath0=&#8221;your.wireless.network.essid&#8221; modules=( &#8220;wpa_supplicant&#8221; ) wpa_timeout_ath0=60 cat /etc/conf.d/net.ath0 config_ath0=( &#8220;your.machine.ip netmask your.netmask brd your.broadcast.ip&#8221; ) routes_ath0=( &#8220;default [...]]]></description>
			<content:encoded><![CDATA[<p>Simple madwifi configuration with PKA under Gentoo 2007.0:<br />
<span id="more-10"></span><br />
# emerge madwifi network drivers and wpa supplicant<br />
emerge net-wireless/madwifi-ng<br />
emerge net-wireless/madwifi-ng-tools<br />
emerge net-wireless/wpa_supplicant</p>
<p><!--more--></p>
<p># update configuration, soft links and run level scripts as follows<br />
cat /etc/conf.d/net<br />
dns_search_lo=&#8221;your.domain.name.com&#8221;<br />
dns_domain_lo=&#8221;your.domain.name.com&#8221;<br />
dns_servers_lo=&#8221;your.dns.server.ip.1 your.dns.server.ip.2&#8243;<br />
essid_ath0=&#8221;your.wireless.network.essid&#8221;<br />
modules=( &#8220;wpa_supplicant&#8221; )<br />
wpa_timeout_ath0=60</p>
<p>cat /etc/conf.d/net.ath0<br />
config_ath0=( &#8220;your.machine.ip netmask your.netmask brd your.broadcast.ip&#8221; )<br />
routes_ath0=( &#8220;default via your.wireless.router.ip&#8221; )</p>
<p>ls -l /etc/init.d/net*<br />
lrwxrwxrwx 1 root root 6 Nov 21 18:24 /etc/init.d/net.ath0 -&gt; net.lo*<br />
-rwxr-xr-x 1 root root 30522 Nov 24 14:50 /etc/init.d/net.lo*</p>
<p>rc-update show<br />
net.ath0 | default<br />
net.lo | boot</p>
<p>cat /etc/wpa_supplicant/wpa_supplicant.conf<br />
ctrl_interface=/var/run/wpa_supplicant<br />
## user must belong to &#8216;wheel&#8217; group<br />
ctrl_interface_group=wheel<br />
network={<br />
ssid=&#8221;your.wireless.network.essid&#8221;<br />
## change scan_ssid to your network channel<br />
scan_ssid=1<br />
proto=WPA<br />
key_mgmt=WPA-PSK<br />
priority=5<br />
psk=&#8221;your.wireless.network.passphrase&#8221;<br />
}</p>
<p>cat /etc/modules.autoload.d/kernel-2.6<br />
ath_hal<br />
ath_pci<br />
wlan</p>
]]></content:encoded>
			<wfw:commentRss>http://www.valton.com.au/archives/10/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Portage overlay example under Gentoo 2007.0</title>
		<link>http://www.valton.com.au/archives/9</link>
		<comments>http://www.valton.com.au/archives/9#comments</comments>
		<pubDate>Sun, 25 Nov 2007 10:39:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://localhost/?p=9</guid>
		<description><![CDATA[In this example I am applying the PGP-verbose-MIME patch to Mutt 1.5.16: # first search portage for the package name emerge -s mutt this returns the following block: * mail-client/mutt Latest version available: 1.5.16 Latest version installed: 1.5.16 Size of files: 3,558 kB Homepage: http://www.mutt.org Description: a small but very powerful text-based mail client License: [...]]]></description>
			<content:encoded><![CDATA[<p>In this example I am applying the PGP-verbose-MIME patch to Mutt 1.5.16:<br />
<span id="more-9"></span><br />
# first search portage for the package name<br />
emerge -s mutt<br />
<!--more--><br />
this returns the following block:<br />
* mail-client/mutt<br />
Latest version available: 1.5.16<br />
Latest version installed: 1.5.16<br />
Size of files: 3,558 kB<br />
Homepage: http://www.mutt.org<br />
Description: a small but very powerful text-based mail client<br />
License: GPL-2<br />
where &#8216;mail-client/mutt&#8217; is the package name.</p>
<p># create overlay directory using the above package name<br />
mkdir -p /usr/local/portage/mail-client/mutt</p>
<p># from this point onwards the commands are relative to<br />
/usr/local/portage/mail-client/mutt so change to this directory<br />
cd /usr/local/portage/mail-client/mutt</p>
<p># copy ebuild script &amp; portage files to overlay directory<br />
cp /usr/portage/mail-client/mutt/mutt-1.5.16.ebuild ./<br />
cp -R /usr/portage/mail-client/mutt/files ./</p>
<p># copy patch to newly copied &#8216;files&#8217; directory -<br />
patch in this example: /src_dir/patch-1.5.4.vk.pgp_verbose_mime<br />
cp /src_dir/patch-1.5.4.vk.pgp_verbose_mime ./files</p>
<p># create an ebuild digest &#8211; checksums the content of &#8216;files&#8217;<br />
ebuild mutt-1.5.16.ebuild digest</p>
<p># edit mutt-1.5.16.ebuild &amp; add epatch intruction<br />
nano -w mutt-1.5.16.ebuild</p>
<p># first ensure that the following is included at top of the file<br />
inherit eutils</p>
<p># in the src_unpack() {} function add a new epatch instruction<br />
and save changes &#8211; in this case<br />
epatch &#8220;${FILESDIR}&#8221;/patch-1.5.4.vk.pgp_verbose_mime</p>
<p># delete any previous builds from the cache with<br />
/var/tmp/portage/mail-client/mutt-1.5.16</p>
<p># finally, run the following commands in sequence<br />
ebuild mutt-1.5.16.ebuild fetch<br />
ebuild mutt-1.5.16.ebuild unpack<br />
ebuild mutt-1.5.16.ebuild compile<br />
ebuild mutt-1.5.16.ebuild install<br />
ebuild mutt-1.5.16.ebuild qmerge</p>
<p>That&#8217;s it: the patch should now be applied.</p>
<p>With mutt you can check this with the mutt -v command.</p>
<p>The mutt patch was downloaded from:</p>
<p>http://www.doorstop.net/mutt/patch-1.5.4.vk.pgp_verbose_mime</p>
]]></content:encoded>
			<wfw:commentRss>http://www.valton.com.au/archives/9/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
