<?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>Tinyhack.com &#187; debian</title>
	<atom:link href="http://tinyhack.com/category/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://tinyhack.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sat, 05 Nov 2011 10:09:39 +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>STAR9104: Linux Kernel 2.6.29 and Starting FreeBSD port</title>
		<link>http://tinyhack.com/2009/03/29/star9104-linux-kernel-2629-and-starting-freebsd-port/</link>
		<comments>http://tinyhack.com/2009/03/29/star9104-linux-kernel-2629-and-starting-freebsd-port/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 05:37:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=117</guid>
		<description><![CDATA[I&#8217;ve finally updated my patch to 2.6.29, the patch can be downloaded from: http://tinyhack.com/agestar/patch-2.6.29-star.gz and the config file: http://tinyhack.com/agestar/config-2.6.29-star or if you want the image that i already compiled and test (image is compiled with 32 MB memory). This is &#8230; <a href="http://tinyhack.com/2009/03/29/star9104-linux-kernel-2629-and-starting-freebsd-port/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally updated my patch to 2.6.29, the patch can be downloaded from:<br />
<a href="http://tinyhack.com/agestar/patch-2.6.29-star.gz" target="_blank">http://tinyhack.com/agestar/patch-2.6.29-star.gz</a></p>
<p>and the config file:</p>
<p><a href="http://tinyhack.com/agestar/config-2.6.29-star" target="_blank">http://tinyhack.com/agestar/config-2.6.29-star</a></p>
<p>or if you want the image that i already compiled and test (image is compiled with 32 MB memory). This is NOT a FIRMWARE</p>
<p><a href="http://tinyhack.com/agestar/zImage-2.6.29" target="_blank">http://tinyhack.com/agestar/zImage-2.6.29</a></p>
<p>when i have the time, i will work on creating a new firmware image.</p>
<p>Some changes:</p>
<ul>
<li>The machine ID is now registered in <a href="http://www.arm.linux.org.uk/developer/machines/">http://www.arm.linux.org.uk/developer/machines/</a></li>
<li>The network problem instability has now been fixed</li>
<li>Added new configuration option to select memory size based on your board memory (16, 32, or 64 mb). Note: selecting values larger than the supported size will cause crash.</li>
</ul>
<p>The other news is that Bruce M Simpson has donated me an Emprex NSD 100 for porting FreeBSD to it. I have started my work, but the progress will be slower from the Linux at the beginning, because:</p>
<ol>
<li>I am more familiar with Linux kernel compared to FreeBSD kernel</li>
<li>Currently FreeBSD kernel itself doesn&#8217;t support many ARM devices yet, so to find an exmple of something I need to look at NetBSD, (and it helps, for example the Faraday 526 processor support is already in NetBSD).</li>
<li>I am rather busy this and coming month (planning to go to Indonesia for about 10 days)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/03/29/star9104-linux-kernel-2629-and-starting-freebsd-port/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Update &#8211; Debian on Agestar Firmware</title>
		<link>http://tinyhack.com/2008/09/20/update-debian-on-agestar-firmware/</link>
		<comments>http://tinyhack.com/2008/09/20/update-debian-on-agestar-firmware/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 16:49:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=63</guid>
		<description><![CDATA[Warning/Note: This is not an update to the existing firmware. This is for installing Debian. If you don&#8217;t know anything about Linux, this is not for you. This firmware DOES NOT contain web interface. I haven&#8217;t looked again on Debian &#8230; <a href="http://tinyhack.com/2008/09/20/update-debian-on-agestar-firmware/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><b>Warning/Note</b>: This is not an update to the existing firmware. This is for installing Debian. If you don&#8217;t know anything about Linux, this is not for you. This firmware DOES NOT contain web interface.</p>
<p>I haven&#8217;t looked again on Debian installer for Agestar, but I have built a new firmware for Debian on Agestar using the latest kernel patch (faster network). If you have installed Debian using the instruction in <a href="http://www.tinyhack.com/agestar/debian-noserialneeded.html">here</a>, you can download <a href="http://tinyhack.com/agestar/zImage-20092008">zImage-20092008</a> to Agestar, and then do:</p>
<p><code>dd if=zImage-20092008 of=/dev/mtdblock1</code></p>
<p>If you haven&#8217;t installed Debian, then when following <a href="http://www.tinyhack.com/agestar/debian-noserialneeded.html">the instruction</a>, but instead of using star.bin use <a href="http://tinyhack.com/agestar/star-20092008.bin">star-20092008.bin</a>. To make it clear, use <b>zImage-20092008</b> to update <b>existing</b> installation, and <b>star-20092008.bin</b> for <b>new installation (starting from the original Agestar firmware)</b>. If you made a mistake, then you need a serial port to unbrick your Agestar. <b>NOTE:</b> the web update method only works on agestar, other models can work by using serial port and latest patch for kernel source (2.6.29 or later).</p>
<p>If you are interested to make your own firmware, this is what you should do:</p>
<ol>
<li>Download <a href="http://tinyhack.com/agestar/armboot.bin">armboot.bin</a> and put it to a directory</li>
<li>Download <a href="http://tinyhack.com/agestar/mergefile.c">mergefile.c</a> to the same directory as armboot.bin</li>
<li>Compile mergefile.c (just do <code>cc mergefile.c -o mergefile</code>) </li>
<li>Compile your kernel according  to the instruction at <a href="http://tinyhack.com/2008/09/08/how-to-compile-kernel-for-agestar/">http://tinyhack.com/2008/09/08/how-to-compile-kernel-for-agestar/</a> to create zImage, copy/move it to the same directory as armboot.bin</li>
<li>Type <code>./mergefile</code> to merge <b>armboot.bin</b> and <b>zImage</b> to <b>star.bin</b>.
</ol>
<p>You can use star.bin to flash (replace) original firmware. If you already installed Debian, and you want to update your kernel, you only need to build zImage and do <code>dd if=newzImage of=/dev/mtdblock1</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/09/20/update-debian-on-agestar-firmware/feed/</wfw:commentRss>
		<slash:comments>117</slash:comments>
		</item>
		<item>
		<title>Installing Debian on Agestar without serial port</title>
		<link>http://tinyhack.com/2008/07/30/installing-debian-on-agestar-without-serial-port/</link>
		<comments>http://tinyhack.com/2008/07/30/installing-debian-on-agestar-without-serial-port/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 00:30:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/2008/07/30/installing-debian-on-agestar-without-serial-port/</guid>
		<description><![CDATA[I have prepared a firmware and tutorial to Install Debian here, this time without the need for serial port. I have tested this, and it seems that everything works. But of course I will not be responsible if anything happens. &#8230; <a href="http://tinyhack.com/2008/07/30/installing-debian-on-agestar-without-serial-port/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have prepared a firmware and tutorial to Install Debian <a href="http://www.tinyhack.com/agestar/debian-noserialneeded.html">here</a>, this time without the need for serial port. I have tested this, and it seems that everything works. But of course I will not be responsible if anything happens. If you think there are some missing, unclear or inaccurate steps, or if you doubt about something, then don&#8217;t install it. If you have anything to ask just email to yohanes [at] gmail.com, or just post your questions as comments.</p>
<p><b>NOTE:</b> the web update method only works on agestar ncb3ast, other models can work by using serial port and latest patch for kernel source (2.6.29 or later).</p>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/07/30/installing-debian-on-agestar-without-serial-port/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>New Firmware Progress</title>
		<link>http://tinyhack.com/2008/07/21/new-firmware-progress/</link>
		<comments>http://tinyhack.com/2008/07/21/new-firmware-progress/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 01:05:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/2008/07/21/new-firmware-progress/</guid>
		<description><![CDATA[My wife agrees that I can buy another Agestar to hack and use the other one for our network storage. With this new Agestar I can continue my hacks. Currently I am working on building a firmware that can be &#8230; <a href="http://tinyhack.com/2008/07/21/new-firmware-progress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My wife agrees that I can buy another Agestar to hack and use the other one for our network storage. With this new Agestar I can continue my hacks. Currently I am working on building a firmware that can be used to install Debian without serial port. On the first stage, I will build a generic firmware without automatic installer, so the user still needs to do some manual steps to install Debian. So it is something like the manual Debian install on NSLU2 (<a title="http://www.cyrius.com/debian/nslu2/unpack.html" href="http://www.cyrius.com/debian/nslu2/unpack.html">http://www.cyrius.com/debian/nslu2/unpack.html</a>).&#160; Actually because this is generic command line, you would be able to install Gentoo or something else. The next step would be to make an automatic installer like in NSLU2(<a title="http://www.cyrius.com/debian/nslu2/install.html" href="http://www.cyrius.com/debian/nslu2/install.html">http://www.cyrius.com/debian/nslu2/install.html</a>). </p>
<p>The main reason why I started with manual installer is because I am not yet familiar with the Debian installer. Currently the manual installer is almost complete, I just need to test it thoroughly to make sure that this will really works without serial port. I hope I can release this in the next few days (or this weekend at the latest).</p>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/07/21/new-firmware-progress/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Network Driver Problem Solved</title>
		<link>http://tinyhack.com/2008/06/22/network-driver-problem-solved/</link>
		<comments>http://tinyhack.com/2008/06/22/network-driver-problem-solved/#comments</comments>
		<pubDate>Sun, 22 Jun 2008 04:03:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=42</guid>
		<description><![CDATA[I ported STAR 9100 network driver without a documentation, I just blindly use the old driver and modify it to fit with all of the changes in the networking stuff since kernel 2.4.27. The driver claims to support scatter/gather I/O, &#8230; <a href="http://tinyhack.com/2008/06/22/network-driver-problem-solved/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I ported STAR 9100 network driver without a documentation, I just blindly use the old driver and modify it to fit with all of the changes in the networking stuff since kernel 2.4.27. The driver claims to support scatter/gather I/O, but there is no implementation of scatter gather I/O in the hard_start_xmit function. I don&#8217;t know whether this device supports it or not, so I just change this line:</p>
<p><code>dev->features |= NETIF_F_SG|NETIF_F_IP_CSUM</code></p>
<p>to this:</p>
<p><code>dev->features |= NETIF_F_IP_CSUM</code></p>
<p><a href="http://tinyhack.com/agestar/patch-2.6.25.4-for-agestar-20080622.bz2">http://tinyhack.com/agestar/patch-2.6.25.4-for-agestar-20080622.bz2</a></p>
<p>And now the sendfile function works (although it would be faster if the driver supports scatter/gather IO).</p>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/06/22/network-driver-problem-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Installation</title>
		<link>http://tinyhack.com/2008/06/21/debian-installation/</link>
		<comments>http://tinyhack.com/2008/06/21/debian-installation/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 17:40:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[hacks]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=40</guid>
		<description><![CDATA[This is the latest patch (add NAPI to the network driver): http://tinyhack.com/agestar/patch-2.6.25.4-for-agestar-20080621.bz2 I have uploaded the instruction on how to install Debian on Agestar NCB3AST at: http://tinyhack.com/agestar/ I am also testing exposing my Agestar NCB3AST to the world, I have &#8230; <a href="http://tinyhack.com/2008/06/21/debian-installation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is the latest patch (add NAPI to the network driver):<br />
<a href="http://tinyhack.com/agestar/patch-2.6.25.4-for-agestar-20080621.bz2">http://tinyhack.com/agestar/patch-2.6.25.4-for-agestar-20080621.bz2</a></p>
<p>I have uploaded the instruction on how to install Debian on Agestar NCB3AST at:</p>
<p><a href="http://tinyhack.com/agestar/">http://tinyhack.com/agestar/</a></p>
<p>I am also testing exposing my Agestar NCB3AST to the world, I have installed a web server on my device. The same information above can be accessed at:</p>
<p><a href="http://irina.homelinux.com/">http://irina.homelinux.com/</a></p>
<p>Please note that the later URL may not always available. First, my bandwidth is limited, and second, sometimes I still develop and/or test something on it that needs restarting the device.</p>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/06/21/debian-installation/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Debian Etch on Agestar NCB3AST</title>
		<link>http://tinyhack.com/2008/06/19/debian-etch-on-agestar-ncb3ast/</link>
		<comments>http://tinyhack.com/2008/06/19/debian-etch-on-agestar-ncb3ast/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 16:22:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=39</guid>
		<description><![CDATA[First the bad news: the network driver in the new kernel is not performing very well, if i remember correctly, this is about twice slower than the original kernel. The maximum speed is around 2.75 mb/s for FTP , 1.4-1.50 &#8230; <a href="http://tinyhack.com/2008/06/19/debian-etch-on-agestar-ncb3ast/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.debian.org'><img src="http://tinyhack.com/wp-content/uploads/2008/06/bouton.jpg" alt="Powered By Debian" title="Powered By Debian" width="204" height="82" align="left"  style="margin: 5px" /></a>First the bad news: the network driver in the new kernel is not performing very well, if i remember correctly, this is about twice slower than the original kernel. The maximum speed is around 2.75 mb/s for FTP , 1.4-1.50 mb/s for SAMBA, and 618 kb/s for SSHFS. I have tried implementing NAPI (I will upload the patch soon), but it doesn&#8217;t help very much. I have tried to optimize the kernel settings, but no luck so far.</p>
<p>Now, the good news: I have been able to install Debian Etch for ARM in my Agestar using the instruction in here: http://wiki.dns323.info/howto:install_debian. Of course there are differences in booting, and configuring stuff, but the steps to produce the root file system are the same. I have also managed to write new kernel to the flash (by using dd if=bootpImage of=/dev/mtdblock1), so now my agestar will go directly to Debian when i turned it on.</p>
<p>I will clean up the code, and write the instruction on how to install Debian this weekend.</p>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/06/19/debian-etch-on-agestar-ncb3ast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wake On LAN</title>
		<link>http://tinyhack.com/2008/03/24/wake-on-lan/</link>
		<comments>http://tinyhack.com/2008/03/24/wake-on-lan/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 04:07:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/2008/03/24/wake-on-lan/</guid>
		<description><![CDATA[I have two computers at home connected to my WRT54GL (a variant of WRT54G) through cables. Using SSH i can easily shut down my computer, and using Wake On Lan, I can wake them up again when I need them. &#8230; <a href="http://tinyhack.com/2008/03/24/wake-on-lan/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have two computers at home connected to my WRT54GL (a variant of WRT54G) through cables. Using SSH i can easily shut down my computer, and using Wake On Lan, I can wake them up again when I need them. Here are some of my notes after setting up the wake on LAN:</p>
<ol>
<li>You need to activate wake on LAN feature in the BIOS.</li>
<li>You need to set your network card to wake on LAN using ethtool. This command needs to be inserted to your startup/network script, because in each restart you will need to set it again.</li>
<li>Some network card will wake using the program wol, but some must use etherwake.</li>
<li>Wake on LAN only works in cable/wired connection (wireless connection will not work).</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/03/24/wake-on-lan/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Switching from Fedora to Debian</title>
		<link>http://tinyhack.com/2008/02/29/switching-from-fedora-to-debian/</link>
		<comments>http://tinyhack.com/2008/02/29/switching-from-fedora-to-debian/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 04:00:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/2008/02/29/switching-from-fedora-to-debian/</guid>
		<description><![CDATA[Fedora is good, and gets updated every 6 months, but sometimes I think it is too fast for me. In every new version, they will change some daemon that breaks a lot of things that I have painfully set up &#8230; <a href="http://tinyhack.com/2008/02/29/switching-from-fedora-to-debian/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Fedora is good, and gets updated every 6 months, but sometimes I think it is too fast for me. In every new version, they will change some daemon that breaks a lot of things that I have painfully set up in the previous version. After thinking about it, I try to use Debian. After few weeks using it, I already felt comfortable with it. I am also happy because I found a nearby Debian mirror in Thailand (http://www.debianclub.org) which is very fast to access from my home. Here are some things that you may need to know about debian:</p>
<p>Network configuration is at /etc/network/interfaces<br />
Some useful apt-get commands are:<br />
- <code>apt-get install packagename</code><br />
- <code>apt-get remove packagename</code><br />
- <code>apt-get clean</code> (otherwise you will use a large disk space for package cache)</p>
<p>some useful dpkg commands:<br />
- <code>dpkg -l</code> to list all installed packages<br />
- <code>dpkg -L packagename</code> to list files in that package<br />
- <code>dpkg -S /path/to/file</code> to check to which package that file belongs</p>
<p>Another useful command is <code>update-alternatives</code> to update alternatives for a program (use this after installing java, etc)</p>
<p>I found a link about someone asking for Debian tips (he is a FreeBSD guy), and the answers he gets is quite good, I think the answers are applicable to anyone switching from another Unix or another Linux distro to debian): <a href="http://www.debian-administration.org/articles/234">http://www.debian-administration.org/articles/234</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/02/29/switching-from-fedora-to-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

