<?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>Gnuton's Blog</title>
	<atom:link href="http://www.gnuton.org/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gnuton.org/blog</link>
	<description>A little blog of a little dreamer</description>
	<lastBuildDate>Sun, 21 Feb 2010 15:00:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Compiling a custom Ubuntu Kernel step by step</title>
		<link>http://www.gnuton.org/blog/2009/12/compiling-a-custom-ubuntu-kernel-step-by-step/</link>
		<comments>http://www.gnuton.org/blog/2009/12/compiling-a-custom-ubuntu-kernel-step-by-step/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 11:30:59 +0000</pubDate>
		<dc:creator>gnuton</dc:creator>
				<category><![CDATA[myLinux]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/?p=424</guid>
		<description><![CDATA[I want to list here brefly all steps to compile a custom Ubuntu kernel

sudo -s
apt-get install kernel-source kernel-package libncurses5-dev fakeroot
cd /usr/src
tar xvjf tar xjvf linux-source-`uname -r`.tar.bz2
ln -s /usr/src/linux-source-2.6.31 linux
cd /usr/src/linux
cp /boot/config-`uname -r` /usr/src/linux/.config
make menuconfig
Now you can modify the kernel configuration&#8230;
make-kpkg clean
fakeroot make-kpkg –initrd –append-to-version=-custom kernel_image kernel_headers

After some time you will have debian packages like: linux-image-xxx.deb [...]]]></description>
			<content:encoded><![CDATA[<p>I want to list here brefly all steps to compile a custom Ubuntu kernel</p>
<ul>
<li>sudo -s</li>
<li>apt-get install kernel-source kernel-package libncurses5-dev fakeroot</li>
<li>cd /usr/src</li>
<li>tar xvjf tar xjvf linux-source-`uname -r`.tar.bz2</li>
<li>ln -s /usr/src/linux-source-2.6.31 linux</li>
<li>cd /usr/src/linux</li>
<li>cp /boot/config-`uname -r` /usr/src/linux/.config</li>
<li>make menuconfig</li>
<li>Now you can modify the kernel configuration&#8230;</li>
<li>make-kpkg clean</li>
<li>fakeroot make-kpkg –initrd –append-to-version=-custom kernel_image kernel_headers</li>
</ul>
<p>After some time you will have debian packages like: linux-image-xxx.deb linux-headers-xxx.deb in /usr/src</p>
<p>Use dpkg -i *.deb to install it, reboot your machine and select them in grub/lilo.</p>
<div><a href="http://www.wordreference.com/enit/files#Otbl" target="_blank">Translate</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2009/12/compiling-a-custom-ubuntu-kernel-step-by-step/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Text Adventures or Interactive Fiction</title>
		<link>http://www.gnuton.org/blog/2009/12/text-adventures-or-interactive-fiction/</link>
		<comments>http://www.gnuton.org/blog/2009/12/text-adventures-or-interactive-fiction/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 13:22:06 +0000</pubDate>
		<dc:creator>gnuton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/2009/12/text-adventures-or-interactive-fiction/</guid>
		<description><![CDATA[Today I found an Interactive fiction interpreter running in several platforms&#8230; and of course Linux is one of them&#8230;After trying it in my linux box I tried to compile it for my N900. Still there are some issues compiling JAM (a replacement for make) for X86 target&#8230;
The interpreter is called Gargoyle and it claims to [...]]]></description>
			<content:encoded><![CDATA[<p>Today I found an Interactive fiction interpreter running in several platforms&#8230; and of course Linux is one of them&#8230;<br />After trying it in my linux box I tried to compile it for my N900. Still there are some issues compiling JAM (a replacement for make) for X86 target&#8230;</p>
<p>The interpreter is called Gargoyle and it claims to be able read all kind of IF file types.</p>
<p> Ubuntu packages are available here: https://launchpad.net/~radix/+archive/ppa<br />A lot of Quests are available&#8230; use google to find them&#8230;</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=f596d65f-1526-83bb-b24d-11edc9736787" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2009/12/text-adventures-or-interactive-fiction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Acquistare un account megavideo premium a 30% in meno dall Europa</title>
		<link>http://www.gnuton.org/blog/2009/11/acquistare-un-account-megavideo-premium-a-30-in-meno-dall-europa/</link>
		<comments>http://www.gnuton.org/blog/2009/11/acquistare-un-account-megavideo-premium-a-30-in-meno-dall-europa/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 09:53:08 +0000</pubDate>
		<dc:creator>gnuton</dc:creator>
				<category><![CDATA[myDocs]]></category>
		<category><![CDATA[myFunStuff]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/2009/11/acquistare-un-account-megavideo-premium-a-30-in-meno-dall-europa/</guid>
		<description><![CDATA[Grazie a questo video apparso su youtube, son venuto a conoscenza di un trucchetto carino per salvare qualche euro durante l&#8217;acquisto di un account megavideo premium.
In pratica tale &#8220;procedura&#8221; ti consente di acquistare un account megavideo/megaupload premium pagando in dollari l&#8217;importo che avresti pagato in euro.
Per esempio invece di pagare 79,99 Euro un account di [...]]]></description>
			<content:encoded><![CDATA[<p>Grazie a <a href="http://www.youtube.com/watch?v=2ZiMnksBBKc">questo</a> video apparso su youtube, son venuto a conoscenza di un trucchetto carino per salvare qualche euro durante l&#8217;acquisto di un account megavideo premium.<br />
In pratica tale &#8220;procedura&#8221; ti consente di acquistare un account megavideo/megaupload premium pagando in dollari l&#8217;importo che avresti pagato in euro.<br />
Per esempio invece di pagare 79,99 Euro un account di 2 anni, lo paghi 79,99 dollari (=53 euro circa).</p>
<p>Sfortunatamente i proxy americani sono difficili da reperire. Ce ne sono di gratuiti, ma non permettono la connessione a Paypal o son lentissimi.</p>
<p>Io ho usato questo:  <strong>planetlab03.cs.washington.edu:3128</strong> e questa e&#8217; la procedura da seguire.<br />
1. mi registro a megavideo.com<br />
2. attivo il proxy americano<br />
3. essendo ancora loggato nel sito, vado sul tab &#8220;premium&#8221; e clicco sull icona di paypal per acuistare l opzione premium desiderata<br />
4. la connessione si interrompe e&#8217; viene mostrata un pagina di errore, questo accade  perche il proxy non mi permette l acquisto. (NO PROBLEM!)<br />
5. disattivo il proxy<br />
6. aggiorno la pagina che mostra l errore di connessione, cliccando su SI quando la finestra di dialogo chiede se si vuole<br />
inviare i dati nuovamente.<br />
7. Posso ora accedere a paypal. L importo da pagare viene mostrato nella schermata subito o dopo il login.</p>
<p>8. Pochi minuti dopo il pagamento una mail di notifica ci conferma l&#8217;attivazione del nostro account premium.</p>
<p>Sharing di un Account Megavideo tra utenti:</p>
<p>L account megavideo dovrebbe permettere la connessione contemporanea di max 5 utenti. L&#8217;account viene disattivato per 6 ore nel caso in cui + di 5 IP diversi sono connessi con lo stesso account premium.<br />
Dopo le 6 ore, la password dell account viene resettata ed inviata alla mail usata al momento della registrazione dell account.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=16171923-736c-87b4-8b7b-5f87054950ee" alt="" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2009/11/acquistare-un-account-megavideo-premium-a-30-in-meno-dall-europa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first post written with ScribeFire</title>
		<link>http://www.gnuton.org/blog/2009/11/my-first-post-written-with-scribefire/</link>
		<comments>http://www.gnuton.org/blog/2009/11/my-first-post-written-with-scribefire/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 08:53:34 +0000</pubDate>
		<dc:creator>gnuton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/2009/11/my-first-post-written-with-scribefire/</guid>
		<description><![CDATA[This is a test post written with a Firefox add-on.. 

]]></description>
			<content:encoded><![CDATA[<p>This is a test post written with a Firefox add-on.. </p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=d324fb8a-d884-8746-97de-f138a7e5421f" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2009/11/my-first-post-written-with-scribefire/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DD-WRT: Remove SSH login banner</title>
		<link>http://www.gnuton.org/blog/2009/11/dd-wrt-remove-ssh-login-banner/</link>
		<comments>http://www.gnuton.org/blog/2009/11/dd-wrt-remove-ssh-login-banner/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 22:15:49 +0000</pubDate>
		<dc:creator>gnuton</dc:creator>
				<category><![CDATA[myDocs]]></category>
		<category><![CDATA[myLinux]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/?p=413</guid>
		<description><![CDATA[Despite DD-WRT is a cool firmware there are some default things that looks very crap from a security point of view. One of these is the ssh login banner used by sshd.
To remove it use Web interface &#62; Administration &#62; Commands &#62; paste

echo "Unauthorized access is prohibited." &#62; /tmp/loginprompt
killall dropbear
dropbear -b /tmp/loginprompt -r /tmp/root/.ssh/ssh_host_rsa_key -d [...]]]></description>
			<content:encoded><![CDATA[<p>Despite DD-WRT is a cool firmware there are some default things that looks very crap from a security point of view. One of these is the ssh login banner used by sshd.</p>
<p>To remove it use Web interface &gt; Administration &gt; Commands &gt; paste</p>
<pre><em>
<pre id="startup">echo "Unauthorized access is prohibited." &gt; /tmp/loginprompt
killall dropbear
dropbear -b /tmp/loginprompt -r /tmp/root/.ssh/ssh_host_rsa_key -d /tmp</pre>
<pre id="startup"></pre>
<p></em></pre>
<pre>and press "<em>Save Startup"</em> button<em>.
Power light will blink for 30 seconds. After that sshd will show new banner.

</em>gnuton@iron:~$ ssh root@192.168.1.1
Unauthorized access is prohibited.
root@192.168.1.1's password:</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2009/11/dd-wrt-remove-ssh-login-banner/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Edit webpages with in your web browser</title>
		<link>http://www.gnuton.org/blog/2009/06/edit-webpage-with-a-browser/</link>
		<comments>http://www.gnuton.org/blog/2009/06/edit-webpage-with-a-browser/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 19:08:57 +0000</pubDate>
		<dc:creator>gnuton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/?p=410</guid>
		<description><![CDATA[There are some javascript tricks able to enable the hidden design mode.
To do that you just need to put this: &#8220;javascript:document.body.contentEditable%20=%20&#8242;true&#8217;;%20document.designMode=&#8217;on&#8217;;%20void%200&#8243; in your address bar and you can switch it off with &#8220;javascript:document.body.contentEditable%20=%20&#8242;false&#8217;;%20document.designMode=&#8217;off&#8217;;%20void%200&#8243;
The latest command doesn&#8217;t work in Firefox3.
These commands should instead should work in Firefox3 too:
&#8220;javascript:document.body.contentEditable=&#8221;true&#8221;;void0&#8243; and &#8220;javascript:document.body.contentEditable=&#8221;false&#8221;;void0&#8243;
]]></description>
			<content:encoded><![CDATA[<p>There are some javascript tricks able to enable the hidden design mode.<br />
To do that you just need to put this: &#8220;javascript:document.body.contentEditable%20=%20&#8242;true&#8217;;%20document.designMode=&#8217;on&#8217;;%20void%200&#8243; in your address bar and you can switch it off with &#8220;javascript:document.body.contentEditable%20=%20&#8242;false&#8217;;%20document.designMode=&#8217;off&#8217;;%20void%200&#8243;</p>
<p>The latest command doesn&#8217;t work in Firefox3.<br />
These commands should instead should work in Firefox3 too:<br />
&#8220;javascript:document.body.contentEditable=&#8221;true&#8221;;void0&#8243; and &#8220;javascript:document.body.contentEditable=&#8221;false&#8221;;void0&#8243;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2009/06/edit-webpage-with-a-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resume scp transfers</title>
		<link>http://www.gnuton.org/blog/2009/06/resume-scp-transfers/</link>
		<comments>http://www.gnuton.org/blog/2009/06/resume-scp-transfers/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 20:31:15 +0000</pubDate>
		<dc:creator>gnuton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/2009/06/resume-scp-transfers/</guid>
		<description><![CDATA[If you are coping a file (uploading/downloading) with ssh and the connection is interrupted. Then if you need to continue to downloading/uploading the latest processed file, then you can define scpresume:
alias scpresume=&#8221;rsync &#8211;partial &#8211;progress &#8211;rsh=ssh&#8221;
and then you can use it with the same syntax used by scp.
]]></description>
			<content:encoded><![CDATA[<p>If you are coping a file (uploading/downloading) with ssh and the connection is interrupted. Then if you need to continue to downloading/uploading the latest processed file, then you can define scpresume:<br />
alias scpresume=&#8221;rsync &#8211;partial &#8211;progress &#8211;rsh=ssh&#8221;<br />
and then you can use it with the same syntax used by scp.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2009/06/resume-scp-transfers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>resolv.conf must be a symlink</title>
		<link>http://www.gnuton.org/blog/2009/06/resolvconf-must-be-a-symlink/</link>
		<comments>http://www.gnuton.org/blog/2009/06/resolvconf-must-be-a-symlink/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 20:26:03 +0000</pubDate>
		<dc:creator>gnuton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/2009/06/resolvconf-must-be-a-symlink/</guid>
		<description><![CDATA[resolvconf: Error: /etc/resolv.conf must be a symlink
fix:
/etc$ sudo ln -s /etc/resolvconf/run/resolv.conf 
]]></description>
			<content:encoded><![CDATA[<p>resolvconf: Error: /etc/resolv.conf must be a symlink<br />
fix:<br />
/etc$ sudo ln -s /etc/resolvconf/run/resolv.conf </p>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2009/06/resolvconf-must-be-a-symlink/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mirrorin a website + cookies</title>
		<link>http://www.gnuton.org/blog/2009/05/mirrorin-a-website-cookies/</link>
		<comments>http://www.gnuton.org/blog/2009/05/mirrorin-a-website-cookies/#comments</comments>
		<pubDate>Sat, 30 May 2009 14:50:14 +0000</pubDate>
		<dc:creator>gnuton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/2009/05/mirrorin-a-website-cookies/</guid>
		<description><![CDATA[If you want to mirror a phpbb or other CMS that ask for an authentication, you can get the coockis from the firefox dir.
In my case is:
cp /home/gnuton/.mozilla/firefox/xxxxxx.default/cookies.sqlite .
Then convert the coockies file from sqlite to plain paper with this script
gnuton@iron:/tmp/SS$ cat SS
#!/bin/bash
#
sqlite3 $1 &#60;&#60;EOF
.mode tabs
.header off
select host as domain,
case substr(host,1,1)=&#8217;.&#8217; when 0 then &#8216;FALSE&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to mirror a phpbb or other CMS that ask for an authentication, you can get the coockis from the firefox dir.<br />
In my case is:<br />
cp /home/gnuton/.mozilla/firefox/xxxxxx.default/cookies.sqlite .<br />
Then convert the coockies file from sqlite to plain paper with this script</p>
<p>gnuton@iron:/tmp/SS$ cat SS<br />
#!/bin/bash<br />
#</p>
<p>sqlite3 $1 &lt;&lt;EOF<br />
.mode tabs<br />
.header off<br />
select host as domain,<br />
case substr(host,1,1)=&#8217;.&#8217; when 0 then &#8216;FALSE&#8217; else &#8216;TRUE&#8217; end as flag,<br />
path,<br />
case isSecure when 0 then &#8216;FALSE&#8217; else &#8216;TRUE&#8217; end as secure,<br />
expiry as expiration, name, value from moz_cookies;</p>
<p>EOF</p>
<p>The you have your plaintext cookies file and you can run now wget to do the job.<br />
$ wget &#8211;load-cookies cookies.txt -m -np http://mywebsite.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2009/05/mirrorin-a-website-cookies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mirroring a website n Linux</title>
		<link>http://www.gnuton.org/blog/2009/05/mirroring-a-website-n-linux/</link>
		<comments>http://www.gnuton.org/blog/2009/05/mirroring-a-website-n-linux/#comments</comments>
		<pubDate>Fri, 01 May 2009 11:17:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gnuton.org/blog/2009/05/mirroring-a-website-n-linux/</guid>
		<description><![CDATA[Well, in linux the best tool to take a copy of a entire website is WGet.
Scenario: To get all the pages, images and the other contents that are in a hypothetic book/ directory of a hypothetic website (eg: example.com), we can run:
wget -m -np -p http://www.example.com/book/
where &#8220;m&#8221; stands for &#8220;mirror&#8221;, &#8220;np&#8221; is &#8220;no parent&#8221; (we [...]]]></description>
			<content:encoded><![CDATA[<p>Well, in linux the best tool to take a copy of a entire website is WGet.<br />
Scenario: To get all the pages, images and the other contents that are in a hypothetic book/ directory of a hypothetic website (eg: example.com), we can run:<br />
wget -m -np -p http://www.example.com/book/</p>
<p>where &#8220;m&#8221; stands for &#8220;mirror&#8221;, &#8220;np&#8221; is &#8220;no parent&#8221; (we want only the pages in the book/ directory) and the &#8220;p&#8221; flags tells to wget  taking all the resources (like images) needed to display correctly the web pages mirrored in offline mode.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gnuton.org/blog/2009/05/mirroring-a-website-n-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
