<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
        <?xml-stylesheet type="text/css" href="http://devrandom.blogsite.org/styles/feed.css"?>
<title type="html">cat /dev/random > thoughts</title>
<link rel="alternate" type="text/html" href="http://devrandom.blogsite.org"/>
<link rel="self" type="application/atom+xml" href="http://devrandom.blogsite.org/atom.xml"/>
<updated>2009-10-21T12:36:09+08:00</updated>
<author>
<name>LrdShaper</name>
<uri>http://devrandom.blogsite.org</uri>
</author>
<id>http://devrandom.blogsite.org/</id>
<generator uri="http://nanoblogger.sourceforge.net" version="3.3">
NanoBlogger
</generator>

<entry>
<title type="html">Privoxy Add-on v1.01 (ReadyNAS NV+/NV/Duo/1100/600/X6)</title>
<author>
<name>LrdShaper</name>
</author>
<link rel="alternate" type="text/html" href="http://devrandom.blogsite.org/archives/2009/07/20/privoxy_add-on_v1_01_readynas_nvnvduo1100600x6/"/>
<id>http://devrandom.blogsite.org/archives/2009/07/20/privoxy_add-on_v1_01_readynas_nvnvduo1100600x6/</id>
<published>2009-07-20T06:14:35+08:00</published>
<updated>2009-07-20T06:14:35+08:00</updated>
<category term="linux/unix" />
<category term="software" />
<category term="readynas" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[Added support to change enable-edit-actions value from the Add-ons page. This enables you to edit the Privoxy 
configuration via Privoxy's Web UI.
Download link: <a href="/projects/PrivoxyAdd-on_1.0.tar">PrivoxyAdd-on_1.01.tar</a><br />]]>
</div>
</content>

</entry>
<entry>
<title type="html">Setup CUPS-PDF as a network printer</title>
<author>
<name>LrdShaper</name>
</author>
<link rel="alternate" type="text/html" href="http://devrandom.blogsite.org/archives/2009/06/27/setup_cups-pdf_as_a_network_printer/"/>
<id>http://devrandom.blogsite.org/archives/2009/06/27/setup_cups-pdf_as_a_network_printer/</id>
<published>2009-06-27T13:08:39+08:00</published>
<updated>2009-06-27T13:08:39+08:00</updated>
<category term="plugcomputer" />
<category term="linux/unix" />
<category term="windows" />
<category term="software" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[Put up another guide to setup CUPS-PDF as a network printer to be shared to all computers on the network.
Link to article <a href="/articles/cups-pdf/">here</a>. Cheers!]]>
</div>
</content>

</entry>
<entry>
<title type="html">More toys!</title>
<author>
<name>LrdShaper</name>
</author>
<link rel="alternate" type="text/html" href="http://devrandom.blogsite.org/archives/2009/06/03/more_toys/"/>
<id>http://devrandom.blogsite.org/archives/2009/06/03/more_toys/</id>
<published>2009-06-03T01:14:04+08:00</published>
<updated>2009-06-03T01:14:04+08:00</updated>
<category term="plugcomputer" />
<category term="linux/unix" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[I received my <a target="_blank" href="http://plugcomputer.org/">SheevaPlug</a> this week. It's a teeny-bit
smaller than I thought it would be from the pics that I see on the net. Probably because of my somewhat larger hands  <img src="http://devrandom.blogsite.org/moods/smilies/smiley.gif" alt=":)" />
<br/><br/>
Anyway, the <a target="_blank" href="http://plugcomputer.org/">SheevaPlug</a> is a small device, probably the size
of a laptop's power brick, that's very big in functionality. I've been looking for an upgrade to my NSLU2 for years and
decided to go with Marvell's plug computer. Martin Michlmayr stated that he 
"believes the SheevaPlug is a killer replacement for the NSLU2" and I very much agree.
The SheevaPlug is all over the web now so I'm not going to bother putting the specs here. If you want to see benchmark
figures you can check out the wiki provided by pushbx
<a target="_blank" href="http://computingplugs.com/index.php/SheevaPlug_Performance">here</a>
or you can go to <a target="_blank" href="http://www.cyrius.com/journal/debian/kirkwood/sheevaplug/nslu2-killer">
Martin's journal</a> and see what the guy of NSLU2 fame has to say about the SheevaPlug. If you enjoyed hacking
your NSLU2 then you're going to love the SheevaPlug. 
Time for me to tinker with it. Top two on the list: 1) Upgrade uboot and 2) Replace Ubuntu, the distro that came with
the plug, with Debian.
<br/><br/>
Good times ahead  <img src="http://devrandom.blogsite.org/moods/smilies/grin.gif" alt=":D" />]]>
</div>
</content>

</entry>
<entry>
<title type="html">Google Wave demo is epic WIN!</title>
<author>
<name>LrdShaper</name>
</author>
<link rel="alternate" type="text/html" href="http://devrandom.blogsite.org/archives/2009/05/31/google_wave_demo_is_epic_win/"/>
<id>http://devrandom.blogsite.org/archives/2009/05/31/google_wave_demo_is_epic_win/</id>
<published>2009-05-31T00:14:04+08:00</published>
<updated>2009-05-31T00:14:04+08:00</updated>
<category term="software" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[Posting technology news was never the plan I had for my blog but the
<a target="_blank" href="http://wave.google.com/">Google Wave demo</a>
was just so amazing that I wanted to share it here. This is going to 
change the way online collaboration and conversation is done. According 
to the developers, it's what email would look like if it were invented 
today, and it's going to be totally open source. Curious yet? Watch the 
<a target="_blank" href="http://wave.google.com/">demo</a> and you'll soon
be a believer as well  <img src="http://devrandom.blogsite.org/moods/smilies/smiley.gif" alt=":)" /> . <br/><br/>
<a target="_blank" href="http://technorati.com/">Technorati</a> 
is going to have a field day when this product gets released.]]>
</div>
</content>

</entry>
<entry>
<title type="html">2.6.18 Kernel for Xbox</title>
<author>
<name>LrdShaper</name>
</author>
<link rel="alternate" type="text/html" href="http://devrandom.blogsite.org/archives/2009/05/08/2_6_18_kernel_for_xbox/"/>
<id>http://devrandom.blogsite.org/archives/2009/05/08/2_6_18_kernel_for_xbox/</id>
<published>2009-05-08T08:38:36+08:00</published>
<updated>2009-05-08T08:38:36+08:00</updated>
<category term="linux/unix" />
<category term="software" />
<category term="xbox" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[I wanted to move my <a target="_blank" href="http://www.asterisk.org">Asterisk</a> setup from my <a target="_blank" href="http://www.nslu2-linux.org">NSLU2</a> to the <a target="_blank" href="http://www.xbox-linux.org">Xbox</a>. After successfully compiling both <a target="_blank" href="http://downloads.asterisk.org/pub/telephony/asterisk/">Asterisk</a> and <a target="_blank" href="http://downloads.asterisk.org/pub/telephony/zaptel/">Zaptel</a> I get an error while trying to load the Zaptel modules:
<pre>
FATAL: Error inserting ztdummy (/lib/modules/2.6.16.20/misc/ztdummy.ko): Unknown symbol in module, or unknown parameter (see dmesg)
</pre>
and a quick check in dmesg shows:
<pre>
modprobe zaptel: Unknown symbol crc_ccitt_table
</pre>
Which tells me that my kernel wasn't compiled with CONFIG_CRC_CCITT support, great! Nevermind, check the repository for linux sources so we can recompile with CONFIG_CRC_CCITT support and maybe upgrade the kernel in the process:
<pre>
lrdshaper@Corinthian~# apt-cache search ^linux-source
linux-source-2.6.18 - Linux kernel source for version 2.6.18
linux-source-2.6.24 - Linux kernel source for version 2.6.24
lrdshaper@Corinthian~#
</pre>
Ok, so I need an Xbox kernel patch for either 2.6.18 or 2.6.24. Let's check sourceforge for the latest <a target="_blank" href="http://sourceforge.net/project/showfiles.php?group_id=54192&package_id=147485">Xbox kernel patch</a>: latest is 2.6.16. *sigh*<br /><br />
But wait! That doesn't mean someone else hasn't made an Xbox kernel patch yet based on a later kernel version. So let's check with Google...... and 45mins of searching later the closest that I can find is...wait for it... <a target="_blank" href="http://legacy.not404.com/content/kernel-2622-patch">2.6.22!</a>. Aarrgh!<br /><br />
Still have a chance, use the 2.6.16 or 2.6.22 Xbox kernel patch as a template and make it work with 2.6.18 or 2.6.22. Decided to start with 2.6.16 first and after many hours of compile, installed the new kernel, reboot and...... it's alive!!!
<br /><br />
<a target="_blank" href="http://www.asterisk.org">Asterisk</a> runs better now with no noticeable lags and dropped calls. For those interested, here're the <a href="/projects/linux-image-2.6.18-xbox_shaper.1_i386.deb">2.6.18 Kernel</a> and <a href="/projects/linux-headers-2.6.18-xbox_shaper.1_i386.deb">2.6.18 Kernel headers</a> for Xbox running Xebian 1.1.4<br />
Cheers!]]>
</div>
</content>

</entry>
<entry>
<title type="html">Privoxy Add-on v1.0 (ReadyNAS NV+/NV/Duo/1100/600/X6)</title>
<author>
<name>LrdShaper</name>
</author>
<link rel="alternate" type="text/html" href="http://devrandom.blogsite.org/archives/2009/04/29/privoxy_add-on_v1_0_readynas_nvnvduo1100600x6/"/>
<id>http://devrandom.blogsite.org/archives/2009/04/29/privoxy_add-on_v1_0_readynas_nvnvduo1100600x6/</id>
<published>2009-04-29T19:15:14+08:00</published>
<updated>2009-04-29T19:15:14+08:00</updated>
<category term="linux/unix" />
<category term="software" />
<category term="readynas" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[Made my first add-on for the ReadyNAS sparc devices:
Privoxy Add-on for ReadyNAS sparc devices - a non-caching web proxy with advanced filtering capabilities for enhancing privacy, modifying web page data and HTTP headers, controlling access, and removing ads and other obnoxious Internet junk. This add-on is based on Privoxy v3.0.3
<br /><br />
Requirements: RAIDiator 4.1.4+<br />
Platform: Sparc (NV/NV+/1100/Duo)<br />
Addon Version: v1.0<br />
Download link: <a href="/projects/PrivoxyAdd-on_1.0.tar">PrivoxyAdd-on_1.0.tar</a><br />
Privoxy Version: v3.0.3<br />
Privoxy Homepage: http://www.privoxy.org<br />
<br /><br />
Usage:
After installation Privoxy will start listening to default port 8118. Then in your browser, change the proxy to your ReadyNAS' IP Address and put 8118 in the port number.
<br /><br />
If you have the Squid Add-on installed you can chain Squid to Privoxy. The main benefit of chaining Squid and Privoxy is you decrease the resource usage of Privoxy because of the local web cache provided by Squid. What this gives you is increased web performance because of Squid's local web cache plus the ad and banner filtering feature of Privoxy. To chain Squid to Privoxy you just need to add the following line in Squid's configuration file (squid.conf)
<pre>
cache_peer localhost parent 8118 0 no-query no-digest
never_direct allow all
</pre>
The first line assumes Privoxy is running on the same machine and listens to port 8118. If Privoxy is running on a different machine then change localhost to the IP Address of the machine running Privoxy. The second line forces squid to forward all requests to Privoxy.
<br /><br />
Next will be creating an add-on for Tor. Cheers!]]>
</div>
</content>

</entry>
<entry>
<title type="html">The kaleidoscope has stopped</title>
<author>
<name>LrdShaper</name>
</author>
<link rel="alternate" type="text/html" href="http://devrandom.blogsite.org/archives/2009/03/07/the_kaleidoscope_has_stopped/"/>
<id>http://devrandom.blogsite.org/archives/2009/03/07/the_kaleidoscope_has_stopped/</id>
<published>2009-03-07T01:35:46+08:00</published>
<updated>2009-03-07T01:35:46+08:00</updated>
<category term="others" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[The King of Pinoy Rap, Francis M, passed away today at 12noon after a long battle with leukemia. We will all miss you
Kiko. It is a very sad day indeed...]]>
</div>
</content>

</entry>
<entry>
<title type="html">apt-get gzip error</title>
<author>
<name>LrdShaper</name>
</author>
<link rel="alternate" type="text/html" href="http://devrandom.blogsite.org/archives/2009/02/15/apt-get_gzip_error/"/>
<id>http://devrandom.blogsite.org/archives/2009/02/15/apt-get_gzip_error/</id>
<published>2009-02-15T23:37:18+08:00</published>
<updated>2009-02-15T23:37:18+08:00</updated>
<category term="linux/unix" />
<category term="xbox" />
<category term="nslu2" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[<a target="_blank" href="http://www.debian.org/News/2009/20090214">Lenny</a> became stable today and so I
decided to upgrade my <a target="_blank" href="http://www.xbox-linux.org/wiki/Main_Page">XBOX</a> running
<a target="_blank" href="http://www.xbox-linux.org/wiki/Xebian">Xebian</a> Etch to the latest and greatest
version of my favorite distro. After adding the keys using apt-key, I ran apt-get update and halfway through
encountered the following error:
<pre>
Errhttp://ftp.tw.debian.org stable/main Packages
Sub-process gzip returned an error code (1)
Fetched 867KB in 5s (173KB/s)
Failed to fetch http://ftp.tw.debian.org/debian/dists/stable/contrib/binary-i386/Packages.gz Sub-process gzip returned an error code (1)
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.
</pre>
Although I very rarely ran into this problem (this is only the 3rd time), I remember when I first got this
error and how much time I spent trying to solve it so I thought I'd post it here. The solution is very simple
actually but proved quite difficult to figure out and even my good friend Google failed me
(at least it was 5yrs ago). So to fix the issue just go into /var/lib/apt/lists/partial directory and delete
everything inside then run
<pre>
sudo apt-get clean
sudo apt-get update
</pre>
again and you should be good to go. Cheers!]]>
</div>
</content>

</entry>
<entry>
<title type="html">NSLU2 is now Debian powered</title>
<author>
<name>LrdShaper</name>
</author>
<link rel="alternate" type="text/html" href="http://devrandom.blogsite.org/archives/2008/11/16/nslu2_is_now_debian_powered/"/>
<id>http://devrandom.blogsite.org/archives/2008/11/16/nslu2_is_now_debian_powered/</id>
<published>2008-11-16T14:15:33+08:00</published>
<updated>2008-11-16T14:15:33+08:00</updated>
<category term="linux/unix" />
<category term="nslu2" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[Managed to finish most of the migration as scheduled. Installation and configuration took roughly 8-10hrs including a
few power naps here and there and native compilation of some of the packages mostly because the newer version is not in
the repositories. NTP server is up, so is the WINS server and obviously the webserver. Currently compiling
<a target="_blank" href="http://libtorrent.rakshasa.no/downloads/libtorrent-0.11.9.tar.gz">libtorrent</a>,
<a target="_blank" href="http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.9.tar.gz">rtorrent</a> and
<a target="_blank" href="http://www.teamxlink.co.uk/binary/kaiEngine-7.4.15-linux-x86.tgz">XLink Kai</a>.
<br /><br />
Pondering whether or not I should setup a cross-compilation environment for the NSLU2 on the XBOX for faster compiles but
that'll be for another time.]]>
</div>
</content>

</entry>
<entry>
<title type="html">Web server will be down the whole weekend</title>
<author>
<name>LrdShaper</name>
</author>
<link rel="alternate" type="text/html" href="http://devrandom.blogsite.org/archives/2008/11/14/web_server_will_be_down_the_whole_weekend/"/>
<id>http://devrandom.blogsite.org/archives/2008/11/14/web_server_will_be_down_the_whole_weekend/</id>
<published>2008-11-14T19:14:23+08:00</published>
<updated>2008-11-14T19:14:23+08:00</updated>
<category term="linux/unix" />
<category term="nslu2" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[I'll be replacing my <a target="_blank" href="http://www.nslu2-linux.org">NSLU2's</a> HDD this weekend and moving
from <a target="_blank" href="http://www.nslu2-linux.org/wiki/Unslung/HomePage">uNSLUng</a> to
<a target="_blank" href="http://www.nslu2-linux.org/wiki/Debian/HomePage">Debian Lenny RC1</a>. Since I also have
quite a list of services that I have to migrate to Debian, the site may well be down the whole weekend.
<br /><br />
The <a target="_blank" href="http://www.nslu2-linux.org">NSLU2</a> currently runs on a 160gb 3.5 Seagate drive
which I'll be replacing with a 40gb 2.5 Seagate drive I have lying around. Mainly because I plan on using the bigger
drive on another PC and secondly so that I don't need to plug in the drive to my UPS and thus freeing a power socket
in the process. Here's hoping everything goes as planned  <img src="http://devrandom.blogsite.org/moods/smilies/smiley.gif" alt=":)" />]]>
</div>
</content>

</entry>

</feed>
