<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<feed xmlns="http://www.w3.org/2005/Atom">

	<title>Hckrs</title>
	<link rel="self" href="http://planetahckrs.happies.org/atom.xml"/>
	<link href="http://planetahckrs.happies.org/"/>
	<id>http://planetahckrs.happies.org/atom.xml</id>
	<updated>2010-09-09T18:00:21+00:00</updated>
	<generator uri="http://www.planetplanet.org/">Planet/2.0 +http://www.planetplanet.org</generator>

	<entry xml:lang="en">
		<title type="html">frases</title>
		<link href="http://blackhold.nusepas.com/2010/09/frases-8/"/>
		<id>http://blackhold.nusepas.com/?p=1837</id>
		<updated>2010-09-06T08:00:06+00:00</updated>
		<content type="html">&lt;p&gt;Dicen que hay trenes que sólo pasan una vez en la vida, pero se les olvida decir que hay autobuses cada quince minutos. &lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Oak hackfest was nice!</title>
		<link href="http://blog.tenak.net/2010/09/2010-09-oak_hackfest.html"/>
		<id>tag:blog.tenak.net,2010-09-05:/2010/09/2010-09-oak_hackfest.html</id>
		<updated>2010-09-05T20:00:14+00:00</updated>
		<content type="html">&lt;div&gt;&lt;p&gt;Yesterday night &lt;a href=&quot;http://twitter.com/angeldiaz&quot;&gt;Ángel&lt;/a&gt; and &lt;a href=&quot;http://twitter.com/babalavident&quot;&gt;Roberto&lt;/a&gt; came home
to have dinner and hack a bit on &lt;a href=&quot;http://github.com/marc0s/oak&quot;&gt;Oak&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The night was quite productive and &lt;a href=&quot;http://github.com/marc0s/oak/commits/develop&quot;&gt;new code&lt;/a&gt; got merged into
the develop branch, waiting for more changes and testing before going into master and prepare a new release.&lt;/p&gt;
&lt;p&gt;Thanks a lot guys for such a nice night!&lt;/p&gt;&lt;/div&gt;</content>
		<author>
			<name>marc0s</name>
			<email>marc0s@fsfe.org</email>
			<uri>http://blog.tenak.net</uri>
		</author>
		<source>
			<title type="html">marc0s.blog</title>
			<link rel="self" href="http://blog.tenak.net/atom.xml"/>
			<id>http://blog.tenak.net/atom.xml</id>
			<updated>2010-09-05T20:00:14+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">tico tico: 2 personas y una sola guitarra</title>
		<link href="http://blackhold.nusepas.com/2010/09/tico-tico-2-personas-y-una-sola-guitarra/"/>
		<id>http://blackhold.nusepas.com/?p=1827</id>
		<updated>2010-09-04T10:51:05+00:00</updated>
		<content type="html">&lt;p&gt;¿Qué hacer cuando dos tienen ganas de tocar y sólo hay una guitarra? pues guitarra a cuatro manos!&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;a target=&quot;_blank&quot; href=&quot;http://www.youtube.com/watch?v=CcsSPzr7ays&quot;&gt;http://www.youtube.com/watch?v=CcsSPzr7ays&lt;/a&gt; (sigue el enlace para una mejor versión del vídeo)&lt;/p&gt;
&lt;p&gt;Que lo disfrutéis ;)&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1827&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;a target=&quot;_blank&quot; href=&quot;http://www.youtube.com/watch?v=pN2pMdD_V2A&quot;&gt;http://www.youtube.com/watch?v=pN2pMdD_V2A&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;a target=&quot;_blank&quot; href=&quot;http://www.youtube.com/watch?v=i4BYMvVvMg0&quot;&gt;http://www.youtube.com/watch?v=i4BYMvVvMg0&lt;/a&gt;&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">HTC Magic + Cyanogenmod 5</title>
		<link href="http://blackhold.nusepas.com/2010/09/htc-magic-cyanogenmod-5/"/>
		<id>http://blackhold.nusepas.com/?p=1823</id>
		<updated>2010-09-01T22:51:54+00:00</updated>
		<content type="html">&lt;p&gt;Me hubiese gustado ofreceros un post con el título &amp;#8220;HTC Magic + Cyanogen mod 6&amp;#8243; pero no ha podido ser por falta de espacio.&lt;/p&gt;
&lt;p&gt;Al cacharro este le tengo un poco de respeto porque es una parte de mi que si se estropea me quedo a 2 velas, así que tras efectivamente estropearse (no podía contestar las llamadas porque no había suficiente espacio en el disco para atender a la llamada, wtf!) he tenido que actualizar.&lt;/p&gt;
&lt;p&gt;Esta vez la actualización ha sido realmente simple. Recuerdo que anteriormente hice un post de como meter un android 1.6 en el HTC Magic, pero de esto hace ya unos días y ha llovido mucho desde entonces.&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1823&quot;&gt;&lt;/span&gt;&lt;br /&gt;
Lo primero de todo es descargar el &lt;a target=&quot;_blank&quot; href=&quot;http://developer.htc.com/adp.html#s2&quot;&gt;fastboot&lt;/a&gt;, el &lt;a target=&quot;_blank&quot; href=&quot;http://forum.xda-developers.com/showthread.php?t=530492&quot;&gt;sapphire&lt;/a&gt; (un boot modificado) y los &lt;a target=&quot;_blank&quot; href=&quot;http://wiki.cyanogenmod.com/index.php?title=Latest_version#Current_Stable_Version_3&quot;&gt;ficheros de imagen&lt;/a&gt; de cyanogenmod, cabe destacar que en el tercer vinculo tenemos el fichero de imagen y las aplicaciones de google, para el tema de tener un sistema totalmente libre o envenenado por google.&lt;/p&gt;
&lt;p&gt;Como el teléfono tiene una memoria interna demasiado pequeña, no es posible instalar todas las aplicaciones de google y debemos descargarnos la versión reducida. Por la misma regla de 3 tampoco podemos usar cyanogenmod 6 en HTC Magic 32B. Así que he tirado tras varias pruebas y peleas por una versión anterior (para probar si entraba).&lt;/p&gt;
&lt;p&gt;Cargamos los dos últimos ficheros a la raiz de la /sdcard del teléfono (la imagen del cyanogenmod y las app de google -ambos tal cual nos los descargamos-) y reiniciamos el teléfono, pero justo al momento en qué se está apagando pulsamos simultáneamente los botones de atrás y apagar hasta que nos aparezca un menú con unos androides en skate.&lt;/p&gt;
&lt;p&gt;A partir de ahí y con el teléfono enchufado por usb en el ordenador, ejecutamos el fastboot (es necesario descomprimirlo y ejecutarlo como root)&lt;/p&gt;
&lt;pre&gt;
# ./fastboot boot recovery-RA-sapphire-v1.7.0G.img
downloading 'boot.img'... OKAY
booting... OKAY
&lt;/pre&gt;
&lt;p&gt;y automáticamente se reiniciará el teléfono y arrancará con el boot sapphire.&lt;/p&gt;
&lt;p&gt;Lo próximo es ir al menu wipe y ejecutar el wipe de las dos cachés y el factory defaults. Volvemos atrás y a Instalar desde la SD.&lt;/p&gt;
&lt;p&gt;Escogemos primero la imagen del cyanogenmod 5 &gt; home &gt; esperar&amp;#8230; después la de las app de google &gt; home &gt; esperar&amp;#8230; reiniciamos el teléfono y si todo ha ido bien nos aparecerá el wizard para configurar nuestra cuenta de google, además de la aplicación market (la curiosidad del día es que con el cyanogenmod6 no se instalaban todas las app porque no quedaba espacio al dispositivo).&lt;/p&gt;
&lt;p&gt;Pues con esto ya tengo el HTC Magic a la 2.1, lastima de no haber podido subir a la 2.2 que tenía una pinta estupenda!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; &lt;a target=&quot;_blank&quot; href=&quot;http://wiki.cyanogenmod.com/index.php?title=Barebones&quot;&gt;apps necesarias para hacer funcionar el sistema&lt;/a&gt;&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Topsy: Buscador de twitts</title>
		<link href="http://blackhold.nusepas.com/2010/09/topsy-buscador-de-twitts/"/>
		<id>http://blackhold.nusepas.com/?p=1821</id>
		<updated>2010-09-01T10:14:32+00:00</updated>
		<content type="html">&lt;p&gt;Topsy es una página web que te permite buscar entre los twitts de varios sistemas de twitter.&lt;/p&gt;
&lt;p&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://topsy.com&quot;&gt;topsy.com&lt;/a&gt;&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">¿Cómo se duplica un vinilo?</title>
		<link href="http://blackhold.nusepas.com/2010/08/%c2%bfcomo-se-duplica-un-vinilo/"/>
		<id>http://blackhold.nusepas.com/?p=1808</id>
		<updated>2010-08-31T20:47:43+00:00</updated>
		<content type="html">&lt;p&gt;Unas maderas, un poco de silicona y plástico líquidos y ya tienes tu vinilo duplicado :D&lt;/p&gt;

&lt;a href=&quot;http://blackhold.nusepas.com/2010/08/%c2%bfcomo-se-duplica-un-vinilo/pirate-vinyl-01/&quot; title=&quot;Pirate-Vinyl-01&quot;&gt;&lt;img width=&quot;150&quot; height=&quot;150&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/Pirate-Vinyl-01-150x150.jpg&quot; class=&quot;attachment-thumbnail&quot; alt=&quot;Pirate-Vinyl-01&quot; title=&quot;Pirate-Vinyl-01&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://blackhold.nusepas.com/2010/08/%c2%bfcomo-se-duplica-un-vinilo/pirate-vinyl-02/&quot; title=&quot;Pirate-Vinyl-02&quot;&gt;&lt;img width=&quot;150&quot; height=&quot;150&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/Pirate-Vinyl-02-150x150.jpg&quot; class=&quot;attachment-thumbnail&quot; alt=&quot;Pirate-Vinyl-02&quot; title=&quot;Pirate-Vinyl-02&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://blackhold.nusepas.com/2010/08/%c2%bfcomo-se-duplica-un-vinilo/pirate-vinyl-03/&quot; title=&quot;Pirate-Vinyl-03&quot;&gt;&lt;img width=&quot;150&quot; height=&quot;150&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/Pirate-Vinyl-03-150x150.jpg&quot; class=&quot;attachment-thumbnail&quot; alt=&quot;Pirate-Vinyl-03&quot; title=&quot;Pirate-Vinyl-03&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://blackhold.nusepas.com/2010/08/%c2%bfcomo-se-duplica-un-vinilo/pirate-vinyl-04/&quot; title=&quot;Pirate-Vinyl-04&quot;&gt;&lt;img width=&quot;150&quot; height=&quot;150&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/Pirate-Vinyl-04-150x150.jpg&quot; class=&quot;attachment-thumbnail&quot; alt=&quot;Pirate-Vinyl-04&quot; title=&quot;Pirate-Vinyl-04&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://blackhold.nusepas.com/2010/08/%c2%bfcomo-se-duplica-un-vinilo/pirate-vinyl-05/&quot; title=&quot;Pirate-Vinyl-05&quot;&gt;&lt;img width=&quot;150&quot; height=&quot;150&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/Pirate-Vinyl-05-150x150.jpg&quot; class=&quot;attachment-thumbnail&quot; alt=&quot;Pirate-Vinyl-05&quot; title=&quot;Pirate-Vinyl-05&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://blackhold.nusepas.com/2010/08/%c2%bfcomo-se-duplica-un-vinilo/pirate-vinyl-06/&quot; title=&quot;Pirate-Vinyl-06&quot;&gt;&lt;img width=&quot;150&quot; height=&quot;150&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/Pirate-Vinyl-06-150x150.jpg&quot; class=&quot;attachment-thumbnail&quot; alt=&quot;Pirate-Vinyl-06&quot; title=&quot;Pirate-Vinyl-06&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://blackhold.nusepas.com/2010/08/%c2%bfcomo-se-duplica-un-vinilo/pirate-vinyl-07/&quot; title=&quot;Pirate-Vinyl-07&quot;&gt;&lt;img width=&quot;150&quot; height=&quot;150&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/Pirate-Vinyl-07-150x150.jpg&quot; class=&quot;attachment-thumbnail&quot; alt=&quot;Pirate-Vinyl-07&quot; title=&quot;Pirate-Vinyl-07&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://blackhold.nusepas.com/2010/08/%c2%bfcomo-se-duplica-un-vinilo/pirate-vinyl-08/&quot; title=&quot;Pirate-Vinyl-08&quot;&gt;&lt;img width=&quot;150&quot; height=&quot;150&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/Pirate-Vinyl-08-150x150.jpg&quot; class=&quot;attachment-thumbnail&quot; alt=&quot;Pirate-Vinyl-08&quot; title=&quot;Pirate-Vinyl-08&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://blackhold.nusepas.com/2010/08/%c2%bfcomo-se-duplica-un-vinilo/pirate-vinyl-09/&quot; title=&quot;Pirate-Vinyl-09&quot;&gt;&lt;img width=&quot;150&quot; height=&quot;150&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/Pirate-Vinyl-09-150x150.jpg&quot; class=&quot;attachment-thumbnail&quot; alt=&quot;Pirate-Vinyl-09&quot; title=&quot;Pirate-Vinyl-09&quot; /&gt;&lt;/a&gt;

&lt;p&gt;vía: &lt;a target=&quot;_blank&quot; href=&quot;http://mytechnologyworld9.blogspot.com/2010/08/how-to-duplicate-records-through.html&quot;&gt;mytechnologyworld9&lt;/a&gt;&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">historias de túneles ssh: acceder a webs prohibidas por tu ip</title>
		<link href="http://blackhold.nusepas.com/2010/08/historias-de-tuneles-ssh-acceder-a-webs-prohibidas-por-tu-ip/"/>
		<id>http://blackhold.nusepas.com/?p=1795</id>
		<updated>2010-08-27T08:35:57+00:00</updated>
		<content type="html">&lt;p&gt;Pues esto, nos encontramos en un sitio con unas ips un poco raras, y la web de loquo nos dice que no se aceptan visitas des de el país en qué estoy (WTF!). Pero en casa si me dejaba acceder. Solución? túnel ssh a saco :D&lt;/p&gt;
&lt;p&gt;Pero aquí la cosa se complica, la web, la muy cabronceta tiene un redirect a la url, así que hemos tenido que hacer un par de cositas mas además del túnel que inicialmente lo había hecho pasar por el 8080 (puerto al azar), así que la actuación ha sido distinta:&lt;/p&gt;
&lt;p&gt;paramos el apache porque vamos a hacer el túnel en el puerto 80&lt;br /&gt;
# /etc/init.d/apache2 stop&lt;/p&gt;
&lt;p&gt;para crear un puerto 80 se requieren derechos de root&lt;br /&gt;
# ssh -L 80:www.loquo.com:80 laura@213.98.143.33&lt;/p&gt;
&lt;p&gt;luego engañamos a nuestro hosts&lt;br /&gt;
# vi /etc/hosts&lt;br /&gt;
127.0.0.1  localhost www.loquo.com loquo.com&lt;/p&gt;
&lt;p&gt;en el navegador:&lt;/p&gt;
&lt;p&gt;http://www.loquo.com&lt;/p&gt;
&lt;p&gt;recordad en vaciar el buffer&amp;#8230;.&lt;/p&gt;
&lt;p&gt;Y ale, ya he podido publicar el anuncio&amp;#8230; por cierto&amp;#8230; alquilo dos habitaciones, si hay algún interesado&amp;#8230;&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Using OpenVPN client in android phones</title>
		<link href="http://blog.tenak.net/2010/08/2010-08-openvpn_with_android.html"/>
		<id>tag:blog.tenak.net,2010-08-25:/2010/08/2010-08-openvpn_with_android.html</id>
		<updated>2010-08-25T23:30:00+00:00</updated>
		<content type="html">&lt;div&gt;&lt;p&gt;At the office we have set up a VPN server to allow secure connections 
from the outside. As I have rooted my HTC Hero with Cyanogen's custom
ROM I have the ability to use OpenVPN with it, so I've decided to try 
it to connect to the office's VPN.&lt;/p&gt;
&lt;p&gt;The process was quite straightforward after installing the OpenVPN Settings
app from the Market. The only issue was that the DNS were not updated
with the info from the VPN connection.&lt;/p&gt;
&lt;p&gt;For setting up the DNS servers to use you have to run these two simple
commands:&lt;/p&gt;
&lt;div class=&quot;code&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;span&gt;# setprop net.dns1 your.vpn.dns.ip&lt;/span&gt;
&lt;span&gt;# setprop net.dns2 your.second.dns.ip&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;And that's all, hope it helps.&lt;/p&gt;&lt;/div&gt;</content>
		<author>
			<name>marc0s</name>
			<email>marc0s@fsfe.org</email>
			<uri>http://blog.tenak.net</uri>
		</author>
		<source>
			<title type="html">marc0s.blog</title>
			<link rel="self" href="http://blog.tenak.net/atom.xml"/>
			<id>http://blog.tenak.net/atom.xml</id>
			<updated>2010-09-05T20:00:14+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Configuración de Nagios</title>
		<link href="http://blackhold.nusepas.com/2010/08/configuracion-de-nagios/"/>
		<id>http://blackhold.nusepas.com/?p=1787</id>
		<updated>2010-08-24T13:13:31+00:00</updated>
		<content type="html">&lt;p&gt;Venga, pues este post se ha hecho esperar, pero espero que la espera valga la pena.&lt;/p&gt;
&lt;p&gt;Hace unos días contaba como &lt;a href=&quot;http://blackhold.nusepas.com/2010/03/instalacion-de-nagios/&quot; target=&quot;_blank&quot;&gt;instalar Nagios&lt;/a&gt;, un sistema de auditoria de servidores realmente útil para aquellos que tienen entre sus manos la ardua tarea de la administración de servidores. En este post hacía referencia a SNMP, pero Nagios nativamente no es un graficador de trazas SNMP, pero mediante unos plugins va a ser posible.&lt;/p&gt;
&lt;p&gt;De momento en este post vamos a comentar como añadir maquinas, capturar las alertas que nos mandan el resto de maquinas que tengamos configuradas y armar un mapa con los hosts que tenemos en la red.&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1787&quot;&gt;&lt;/span&gt;&lt;br /&gt;
Todos los ficheros de configuración se hallan en /etc/nagios3/conf.d y estos terminan con la extensión .cfg, este último apunte nos va a servir para poder tener ficheros de prueba dentro del mismo directorio.&lt;/p&gt;
&lt;p&gt;Cada uno de los ficheros de configuración tiene una estructura muy simple y que se va a repetir en cada uno de los objetos:&lt;/p&gt;
&lt;pre&gt;define objeto {
        propiedad valor
        }&lt;/pre&gt;
&lt;p&gt;Para facilitar la tarea de administración de nagios, vamos a tener un fichero para cada tipo de objeto, vamos a empezar así con algunos de los objetos que podemos encontrar. Destacar que nagios trae con la instalación unos ficheros de configuración con algunos parámetros ya configurados, pero por facilidad le he cambiado los nombres de los ficheros por defecto.&lt;br /&gt;
Por otra parte no voy a pegar todo el fichero de configuración sino sólo un trozo que es el que vamos a usar como ejemplo:&lt;/p&gt;
&lt;pre&gt;# vi periodos_tiempo.cfg
define timeperiod{
        timeperiod_name 24x7
        alias           24 Hours A Day, 7 Days A Week
        sunday          00:00-24:00
        monday          00:00-24:00
        tuesday         00:00-24:00
        wednesday       00:00-24:00
        thursday        00:00-24:00
        friday          00:00-24:00
        saturday        00:00-24:00
        }&lt;/pre&gt;
&lt;p&gt;el objeto timeperiod nos servirá para indicar cada cuando nos tiene que avisar nagios a la que ocurre un problema. El método mas común es por correo electrónico, pero si nos lo curramos podríamos hacer que el sistema nos mandase un sms.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;timeperiod_name:&lt;/strong&gt; es el nombre del objeto timeperiod&lt;br /&gt;
&lt;strong&gt;alias:&lt;/strong&gt; es otro nombre, normalmente un nombre corto al que también podemos hacer referencia, si los separamos por coma, podemos definir varios nombres alternativos.&lt;/p&gt;
&lt;pre&gt;# vi contactos.cfg
define contact{
        contact_name                    root
        alias                           Root
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    w,u,c,r
        host_notification_options       d,r
        service_notification_commands   notify-service-by-email
        host_notification_commands      notify-host-by-email
        email                           root@localhost
        }&lt;/pre&gt;
&lt;p&gt;El objeto contact es la definición de la persona que va a recibir las alertas, cuándo y dónde.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;contact_name:&lt;/strong&gt; nombre de referencia&lt;br /&gt;
alas: otro nombre de referencia&lt;br /&gt;
&lt;strong&gt; service_notification_period: &lt;/strong&gt;nombre del objeto timeperiod en el caso que se requiera notificar un cambio de estado de un servicio&lt;br /&gt;
&lt;strong&gt; host_notificacion_period: &lt;/strong&gt;nombre del objeto timeperiod en el caso que se requiera notificar un cambio de estado de una maquina&lt;br /&gt;
&lt;strong&gt; service_notificacion_options &amp;amp; host_notificacion_options:&lt;/strong&gt;&lt;/p&gt;
&lt;table border=&quot;1&quot; summary=&quot;Service notification options&quot;&gt;
&lt;colgroup&gt;
&lt;col /&gt;
&lt;col /&gt;
&lt;/colgroup&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th align=&quot;center&quot;&gt;Notify on transition&lt;/th&gt;
&lt;th align=&quot;center&quot;&gt;Option&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;WARNING service states&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;w&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;UNKNOWN service states&lt;/td&gt;
&lt;td&gt;u&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CRITICAL service states&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;c&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Service RECOVERY states&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;r&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Send NO service notifications&lt;/td&gt;
&lt;td&gt;n&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;service_notification_commands &amp;amp; host_notification_commands:&lt;/strong&gt; forma como se nos va a notificar&lt;/p&gt;
&lt;p&gt;Este último objeto se define en /etc/nagios3/commands.cfg y al igual que los otros ficheros de configuración ya vienen definidos, a partir de aquí si somos mañosos podremos usar el sistema de envio de mensajes que nos plazca:&lt;/p&gt;
&lt;pre&gt;# vi /etc/nagios3/commands.cfg
define command{
        command_name    notify-host-by-email
        command_line    /usr/bin/printf &quot;%b&quot; &quot;***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n&quot; | /usr/bin/mail -s &quot;** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **&quot; $CONTACTEMAIL$
        }&lt;/pre&gt;
&lt;p&gt;Si continuamos con el fichero de contactos.cfg, veremos que hay otro tipo de objeto, contactgroups, donde agruparemos los distintos contactos que tengamos definidos en grupos, así podremos hacer referencia a los encargados de web, de bbdd, de dns, etc.&lt;/p&gt;
&lt;pre&gt;# vi contactos.cfg
define contactgroup{
        contactgroup_name       admins
        alias                   Nagios Administrators
        members                root,blackhold
        }&lt;/pre&gt;
&lt;p&gt;En este caso el nombre del grupo de contactos es admins, y el miembro es root y blackhold, así que a la que ocurra algo, tanto root, como blackhold van a recibir el mensaje.&lt;/p&gt;
&lt;p&gt;Una vez configurado como se comunica nagios con los administradores, vamos a indicarle qué maquinas tenemos que auditar:&lt;/p&gt;
&lt;pre&gt;# vi maquinas.cfg
define host {
        host_name   tesla
        alias       tesla
        address     195.160.225.38
        use         generic-host
        parents     gateway_guifi
        }&lt;/pre&gt;
&lt;p&gt;Campos a destacar:&lt;br /&gt;
&lt;strong&gt;parents: &lt;/strong&gt;esto permite a la hora de generar el &amp;#8220;status map&amp;#8221; que unas maquinas hagan referencia a otras, es así una forma para poder tener nuestros hosts un poco mas organizados y agrupados, por ejemplo en mi caso por distintas ubicaciones de las maquinas (gateway_guifi es un router que está definido como otro host mas). &lt;em&gt;&lt;a title=&quot;blog de danichi&quot; href=&quot;http://blog.tydnet.org&quot; target=&quot;_blank&quot;&gt;Gracias Dani&lt;/a&gt;.&lt;/em&gt;&lt;br /&gt;
&lt;strong&gt;use:&lt;/strong&gt; al crear un nuevo host podemos decirle que use la configuración de otro host, en este caso se genera un fichero a parte con este tipo de definiciones:&lt;/p&gt;
&lt;pre&gt;# vi auditoria_maquinas.cfg
define host{
        name                            generic-host    ; The name of this host template
        notifications_enabled           1       ; Host notifications are enabled
        event_handler_enabled           1       ; Host event handler is enabled
        flap_detection_enabled          1       ; Flap detection is enabled
        failure_prediction_enabled      1       ; Failure prediction is enabled
        process_perf_data               1       ; Process performance data
        retain_status_information       1       ; Retain status information across program restarts
        retain_nonstatus_information    1       ; Retain non-status information across program restarts
                check_command                   check-host-alive
                max_check_attempts              10
                notification_interval           0
                notification_period             24x7
                notification_options            d,u,r
                contact_groups                  admins
        register                        0       ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
        }&lt;/pre&gt;
&lt;p&gt;La estructura sigue siendo la misma&amp;#8230;. y mas o menos las opciones no necesitan mucha explicación excepto check_command.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;check_command:&lt;/strong&gt; es el comando que ejecuta nagios para comprobar que el host está vivo.&lt;/p&gt;
&lt;p&gt;En nagios es posible configurar infinidad de alertas y checks que comprueben el funcionamiento correcto de nuestras maquinas, pero por defecto y para facilitar un poco el uso de nagios vienen por defecto algunos templates:&lt;/p&gt;
&lt;pre&gt;tesla:/etc# ls -lh /usr/share/nagios-plugins/templates-basic/
total 68K
-rw-r--r-- 1 root root  277  1 feb  2009 apt.cfg
-rw-r--r-- 1 root root  458  1 feb  2009 dhcp.cfg
-rw-r--r-- 1 root root  935  1 feb  2009 disk.cfg
-rw-r--r-- 1 root root  673  1 feb  2009 dummy.cfg
-rw-r--r-- 1 root root  414  1 feb  2009 ftp.cfg
-rw-r--r-- 1 root root 3,5K  1 feb  2009 http.cfg
-rw-r--r-- 1 root root  195  1 feb  2009 load.cfg
-rw-r--r-- 1 root root 2,8K  1 feb  2009 mail.cfg
-rw-r--r-- 1 root root  420  1 feb  2009 news.cfg
-rw-r--r-- 1 root root  466  1 feb  2009 ntp.cfg
-rw-r--r-- 1 root root 2,0K  1 feb  2009 ping.cfg
-rw-r--r-- 1 root root  511  1 feb  2009 procs.cfg
-rw-r--r-- 1 root root  397  1 feb  2009 real.cfg
-rw-r--r-- 1 root root  753  1 feb  2009 ssh.cfg
-rw-r--r-- 1 root root  784  1 feb  2009 tcp_udp.cfg
-rw-r--r-- 1 root root  438  1 feb  2009 telnet.cfg
-rw-r--r-- 1 root root  155  1 feb  2009 users.cfg
&lt;/pre&gt;
&lt;p&gt;A partir de aquí ya tenemos los hosts, y sabemos como hacer los checks, otra cosa interesante relacionada con los hosts es que podemos añadirle extensiones, como el tipo de sistema operativo que estamos usando para los hosts (e incluso que nos ponga un dibujito del sistema operativo):&lt;/p&gt;
&lt;pre&gt;# vi hosts-ext.cfg
define hostextinfo{
        hostgroup_name   debian-servers
        notes            Debian GNU/Linux servers
#       notes_url        http://webserver.localhost.localdomain/hostinfo.pl?host=netware1
        icon_image       base/debian.png
        icon_image_alt   Debian GNU/Linux
        vrml_image       debian.png
        statusmap_image  base/debian.gd2
        }&lt;/pre&gt;
&lt;p&gt;Es a partir de los hostextinfo donde podemos conectar nuestro nagios con programas externos, por ejemplo con un sistema externo de gráficas (como cacti) o incluso un mediawiki. Esta parte la dejaremos para otro día ;)&lt;/p&gt;
&lt;p&gt;Luego para relacionar los hosts y los hostextinfo vamos a usar los hostgroups:&lt;/p&gt;
&lt;pre&gt;# vi hostgroups.cfg
# A list of your Debian GNU/Linux servers
define hostgroup {
        hostgroup_name  debian-servers
                alias           Debian GNU/Linux Servers
                members         tesla,tesla_guifi,cobalt,cobalt_guifi,...
        }&lt;/pre&gt;
&lt;p&gt;De la misma forma que podemos agrupar las maquinas por su sistema operativo podemos agrupar las maquinas por tipo de servicio y aplicar a cada grupo un check específico:&lt;/p&gt;
&lt;pre&gt;# vi tipo_services.cfg
# check that ping-only hosts are up
define service {
        hostgroup_name                  ping-servers
        service_description             PING
        check_command                   check_ping!300.0,20%!900.0,60%
        use                             generic-service
        notification_interval           0 ; set &amp;gt; 0 if you want to be renotified
}&lt;/pre&gt;
&lt;p&gt;En este caso vamos a definir un servicio de ping, vamos a hacer ping a las maquinas y depende de lo que tarden van a mostrar un WARNING o un CRITICAL con los parámetros que le pasamos en el check_command.&lt;/p&gt;
&lt;p&gt;Luego en el hostgroups, las máquinas agrupadas por ping quedarían así:&lt;/p&gt;
&lt;pre&gt;# vi hostgroups.cfg
define hostgroup {
        hostgroup_name  ping-servers
                alias           Pingable servers
                #members         gateway
                members         gateway_guifi,gateway_guifi2,gateway_guifi_blackhold,tesla,tesla_guifi,cobalt,cobalt_guifi,...
        }&lt;/pre&gt;
&lt;p&gt;Y finalmente, para cerrar este post de hoy, servicegroups, una forma para agrupar físicamente las maquinas, en este caso por ubicación:&lt;/p&gt;
&lt;pre&gt;# vi servicegroup_datacenter1.cfg
define servicegroup{
   servicegroup_name DATA1
   alias ServiceGroup Datacenter 1

   members tesla,PING
   [...]
   members cobalt,PING
}&lt;/pre&gt;
&lt;p&gt;En cada una de las maquinas que auditamos, será necesario instalar el paquete nrpe (# apt-get install nagios-nrpe-server), esto instalará un agente para que el servidor de nagios se pueda comunicar con el host y usar los checks por defecto.&lt;br /&gt;
Otra cosa importante además es que la máquina cliente tendrá que ser accesible por la maquina servidora por el puerto 5666 y tendremos que andar con mucho cuidado que si creamos checks nuevos no revelen información crítica de nuestra maquina:&lt;/p&gt;
&lt;pre&gt;tesla:/etc/nagios3/conf.d# netstat -lanp |grep 'LISTEN ' |grep nrpe
tcp        0      [oculto]:5666            0.0.0.0:*               LISTEN      2683/nrpe&lt;/pre&gt;
&lt;p&gt;Si deseamos mejorar la seguridad de nuestro nagios, podemos configurar el puerto y las redes de las cuales se permiten peticiones del nrpe en el fichero nrpe.cfg dentro de /etc/nagios/&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">túneles ssh inversos</title>
		<link href="http://blackhold.nusepas.com/2010/08/tuneles-ssh-inversos/"/>
		<id>http://blackhold.nusepas.com/?p=1782</id>
		<updated>2010-08-23T12:28:20+00:00</updated>
		<content type="html">&lt;p&gt;Ya hace unos días que ando hablando de túneles ssh (con la opción -L), pues ahora vamos a hacer lo mas difícil todavía.&lt;/p&gt;
&lt;p&gt;Nos encontramos que tenemos una maquina detrás de una conexión de la cual no es posible redirigir los puertos a la maquina que nos interesa, pero esta máquina si tiene acceso ssh a otra máquina.&lt;/p&gt;
&lt;p&gt;Desde la maquina la cual no tenemos acceso y queremos acceder a ella vamos a ejecutar esto:&lt;/p&gt;
&lt;pre&gt;$ ssh -nNT -R 2222:localhost:22 blackhold@fermat.marsupi.org&lt;/pre&gt;
&lt;p&gt;luego en la maquina servidor.dominio.org vemos que se ha creado una nueva conexión en el puerto 2222:&lt;/p&gt;
&lt;pre&gt;fermat:/home/blackhold# netstat -lanp |grep 2222
tcp        0      0 127.0.0.1:2222          0.0.0.0:*               LISTEN      16618/sshd: blackho
tcp6       0      0 ::1:2222                :::*                    LISTEN      16618/sshd: blackho&lt;/pre&gt;
&lt;p&gt;Como no hemos indicado nada antes de 2222: sólo va a hacer bind en local, pero como comentaba en &lt;a href=&quot;http://blackhold.nusepas.com/2010/08/mas-batallitas-y-los-tuneles-ssh-como-protagonistas/&quot; target=&quot;_blank&quot;&gt;otro post&lt;/a&gt;, si quieres que sea accesible por todas las ip bastaría poner un 0.0.0.0: delante del 2222:&lt;/p&gt;
&lt;p&gt;Si hacemos un ssh (en este caso porque estamos mapeando el puerto 22) en local a la maquina que si es accesible desde internet en el puerto 2222, vamos a conectarnos a la maquina inaccesible desde internet.&lt;/p&gt;
&lt;p&gt;Mis agradecimientos a &lt;a href=&quot;http://blog.tenak.net/2008/08/2008-08-accedint_al_nostre_pc_per_ssh_quan_no_podem_tocar_els_ports_del_router.html&quot; target=&quot;_blank&quot;&gt;marc0s&lt;/a&gt;.&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry>
		<title type="html">No es lo mismo, ni siquiera parecido</title>
		<link href="http://sisgu.blogspot.com/2010/08/no-es-igual-ni-siquiera-parecido.html"/>
		<id>tag:blogger.com,1999:blog-8893921278632876339.post-1833006356536015652</id>
		<updated>2010-08-23T02:30:28+00:00</updated>
		<content type="html">&lt;span class=&quot;entrada&quot;&gt;De como cierta &quot;gente&quot; intenta que comulguemos con ruedas de molino como si de hostias se tratase.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;fullpost&quot;&gt;Soy feisbukero, lo sé, es cotilleo puro y para un par de infos útiles, que se podrían obtener por otros medios, hay mogollón de porterismo del de toda la vida. Pero &quot;es lo que se lleva ahora&quot; que cantarían los efímeros &quot;zapato veloz&quot; sí, los del tractor amarillo, si aún tuvieran acceso a los medios.&lt;br /&gt;El otro día una persona posteaba algo así como: &quot;ESTAÍS A TIEMPO...... A LAS 17,00 HORAS CONCENTRACIÓN ANTITAURINA EN BILBAO FRENTE A LA PLAZA DE SACRIFICIOS DE VISTALEGRE. TENEMOS QUE CONSEGUIR ACABAR CON ESA SALVAJADA DE UNA VEZ PARA SIEMPRE.&quot; por cierto Íñigo, es ya algo olvidado pero conviene recordar que &quot;&lt;span&gt;mayúsculas en internet es gritar&lt;/span&gt;&quot; a lo que una, obviaré dar el nombre pues se dice el pecado pero no el pecador, en este caso pecadora, contestaba: &quot;Y también estais a tiempo de adquirir vuestra entrada, y pasar a ver la que esperamos que sea una interesante corrida.&quot;&lt;br /&gt;Iba a poner algo más heavy del tipo de &quot;se pierden muchos niños y niñas en las barrakas que 'van provocando' &quot; pero para que no se me acusase de apología de la pederastia, aunque seguro que para los pederastas eso sería también una &quot;interesante corrida&quot;, qué duda cabe, puse: &quot;ni regalada las corridas de los toros en el coño de las vacas&quot;. Con lo que mezclo el chiste con la reivindicación, por si acaso se lo mando como mensaje y va la [póngase aquí el calificativo o insulto que se crea oportuno] y me suelta: &quot;Te felicito. es tu decisión. Lo mismo que la mía es optar por ir mañana a los toros. Ondo segi.&quot;&lt;br /&gt;Pues NO. No es lo mismo, ni siquiera parecido, optar por colaborar con la tortura y muerte de un inocente que optar por protestar contra ella. Ellos y ellas que tan &quot;pro vida&quot; son que revisen su especista visión de lo que es vivo y sufre&lt;br /&gt;&lt;br /&gt;)S(&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed RSS&lt;img width=&quot;1&quot; height=&quot;1&quot; src=&quot;https://blogger.googleusercontent.com/tracker/8893921278632876339-1833006356536015652?l=sisgu.blogspot.com&quot; alt=&quot;&quot; /&gt;&lt;/div&gt;</content>
		<author>
			<name>cikgu</name>
			<email>noreply@blogger.com</email>
			<uri>http://sisgu.blogspot.com/</uri>
		</author>
		<source>
			<title type="html">Según sisgu</title>
			<subtitle type="html">La realidad suele ser única e intransferible. La comunicación nos da una falsa sensación de compartirla y estar percibiendo lo mismo. Intentemos ver la realidad tal como la ve nuestro prota: sisgu.</subtitle>
			<link rel="self" href="http://sisgu.blogspot.com/feeds/posts/default"/>
			<id>tag:blogger.com,1999:blog-8893921278632876339</id>
			<updated>2010-08-23T10:00:10+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">la luna de cerca</title>
		<link href="http://blackhold.nusepas.com/2010/08/la-luna-de-cerca/"/>
		<id>http://blackhold.nusepas.com/?p=1780</id>
		<updated>2010-08-22T20:58:00+00:00</updated>
		<content type="html">&lt;p&gt;Este fin de semana he visto por primera vez a la vida la luna de cerca.&lt;br /&gt;
El artilugio que lo ha permitido ha sido un telescopio robotizado, cosa que no sabíamos al momento que estábamos tratando de enfocar a la luna.&lt;/p&gt;
&lt;p&gt;La sensación de poder ver tan lejos ha hecho que en unos instantes te transformases en un ser minúsculo, el detalle de los cráteres era tal que podías divisar su sombra sobre el terreno amarillento de la luna.&lt;/p&gt;
&lt;p&gt;A menudo vemos fotografías de cosas que quizás podremos ver en nuestra vida, alguna de ellas maravillosos paisajes, frondosos bosques, gigantescos icebergs, pero nada es mejor que verlo en vivo y en directo, aunque sea con la ayuda de la tecnología, el notar que estás ahí y que lo que estás viendo existe de verdad.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/nusepas/4917650524/#/&quot;&gt;&lt;img class=&quot;aligncenter&quot; src=&quot;http://farm5.static.flickr.com/4140/4917650524_076550e054.jpg&quot; alt=&quot;vine a la nautarquia&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Soy Gnome</title>
		<link href="http://blackhold.nusepas.com/2010/08/soy-gnome/"/>
		<id>http://blackhold.nusepas.com/?p=1775</id>
		<updated>2010-08-20T22:52:12+00:00</updated>
		<content type="html">&lt;p&gt;¡Esta canción no puede quedar en el olvido! otra de las canciones ego-aptitudianas-freaks. ¡gracias joseba! :)&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Nota: anti gnomerianos, ¡sufrid!&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.youtube.com/watch?v=wnv_RZzCuzY&quot;&gt;http://www.youtube.com/watch?v=wnv_RZzCuzY&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Soy gnome,&lt;br /&gt;
y con debian soy feliz,&lt;br /&gt;
los datos en la home&lt;br /&gt;
y el sistema en la raíz.&lt;/p&gt;
&lt;p&gt;Soy gnome,&lt;br /&gt;
y no me gusta compilar&lt;br /&gt;
todo lo que quieras tú&lt;br /&gt;
lo puedes instalar.&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1775&quot;&gt;&lt;/span&gt;&lt;br /&gt;
Soy 7 veces más fuerte que tu,&lt;br /&gt;
muy veloz&lt;br /&gt;
y siempre actualizada estoy.&lt;/p&gt;
&lt;p&gt;Soy el hurd,&lt;br /&gt;
un kernel que todavía no se puede usar,&lt;br /&gt;
uso linux mientras no lo pueda instalar.&lt;/p&gt;
&lt;p&gt;Soy gnome,&lt;br /&gt;
un escritorio simple y funcional,&lt;br /&gt;
si me quieres utilizar,&lt;br /&gt;
solo me has de instalar.&lt;/p&gt;
&lt;p&gt;Evitando a los troyanos,&lt;br /&gt;
a los trolls y a los profetas,&lt;br /&gt;
con mi mula y con mi zorro,&lt;br /&gt;
voy navegando de aquí para allá,&lt;br /&gt;
ten cuidado no me ataques&lt;br /&gt;
si es que estás haciendo spam,&lt;br /&gt;
no sea que cometas una barbaridad.&lt;/p&gt;
&lt;p&gt;Soy 7 veces más fuerte que tu,&lt;br /&gt;
muy veloz&lt;br /&gt;
y siempre actualizado estoy.&lt;/p&gt;
&lt;p&gt;Soy gnome,&lt;br /&gt;
y con debian soy feliz,&lt;br /&gt;
los datos en la home&lt;br /&gt;
y el sistema en la raíz.&lt;/p&gt;
&lt;p&gt;Soy stallman,&lt;br /&gt;
el más anciano del lugar,&lt;br /&gt;
y solo uso linxs para navegar.&lt;/p&gt;
&lt;p&gt;Por esas rutas, bajo la terminal,&lt;br /&gt;
me encuentro fallos en winbugs que nunca diré.&lt;br /&gt;
Trabajo holgado, en mil y una cosas,&lt;br /&gt;
con ñus y pingüinos de momento estaré.&lt;br /&gt;
Soy 7 veces más fuerte que tu,&lt;br /&gt;
muy veloz&lt;br /&gt;
y siempre actualizada estoy.&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Música con un globo</title>
		<link href="http://blackhold.nusepas.com/2010/08/musica-con-un-globo/"/>
		<id>http://blackhold.nusepas.com/?p=1765</id>
		<updated>2010-08-19T17:15:55+00:00</updated>
		<content type="html">&lt;p&gt;Pues os dejo este impresionante vídeo de un tipo que hace música con nada mas que un globo y cuatro cuerdas.&lt;/p&gt;
&lt;p&gt;Manualidad geek realmente interesante para una de aquellas aburridas tardes!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=cJHUwlsY9g4&quot; target=&quot;_blank&quot;&gt;http://www.youtube.com/watch?v=cJHUwlsY9g4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;si ha gustado el vídeo de arriba, mirad éste:&lt;br /&gt;
&lt;span id=&quot;more-1765&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://blackhold.nusepas.com/feed/ http://www.youtube.com/watch?v=jTPA4woIGkA&quot;&gt;http://www.youtube.com/watch?v=jTPA4woIGkA&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Por ahí hay algun vídeo que cuenta como construir uno! ¿a qué esperas?&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Subir ficheros desde el panel de wordpress sin cuenta FTP</title>
		<link href="http://blackhold.nusepas.com/2010/08/subir-ficheros-desde-el-panel-de-wordpress-sin-cuenta-ftp/"/>
		<id>http://blackhold.nusepas.com/?p=1762</id>
		<updated>2010-08-19T12:31:26+00:00</updated>
		<content type="html">&lt;p&gt;Cabe decir que la versión 3 de wordpress está realmente fina y es realmente agradable trabajar con ella, pero cuando tienes que subir los ficheros te obligan de alguna forma a tener un arcaico servidor de FTP para subir las actualizaciones, temas y plugins y es un engorro. Pero hay un pequeño truquillo para poder subir los ficheros por HTTP directamente:&lt;/p&gt;
&lt;p&gt;añadimos esta línea en nuestro wp-config.php&lt;/p&gt;
&lt;pre&gt;define('FS_METHOD','direct');&lt;/pre&gt;
&lt;p&gt;este sistema por contra va a permitir a cualquiera que tenga permisos de administrador o simplemente que se entre en una cuenta por fuerza bruta, exploiting o XSS sea mas sencillo subir ficheros al directorio wp-config.&lt;br /&gt;
Ante todo mi recomendación es la de siempre, passwords seguros, no seguir los links desde los mails sin estar seguro de su procedencia y mantener los sistemas al día y si es posible con sistemas de detección de exploits y auditoría del cms (esto irá en otro post :P).&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">The three brothers and the pot of gold</title>
		<link href="http://blackhold.nusepas.com/2010/08/the-three-brothers-and-the-pot-of-gold/"/>
		<id>http://blackhold.nusepas.com/?p=1756</id>
		<updated>2010-08-18T18:14:53+00:00</updated>
		<content type="html">&lt;p&gt;&lt;strong&gt;The three brothers and the pot of gold -Moldavia-&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Years ago there lived a farmer who had three sons. Now among farmers, having three sons should have been a blessing, but these three had little time for farm work. In fact, they had little use for work at all. All were strong, healthy and good young men. The only vice they had, and such a vice it was on a farm, was that they hated work. They were born lazy. When they were young they would sit under a tree and watch the leaves turn colors. They invited other children to visit and then watched them as they played with their toys.&lt;br /&gt;
When they grew older they would watch the young women walk past their farm but were too lazy to ever go out and meet them. When they became young men, they talked endlessly about nothing and sometimes, when the mood hit them just right, they might go fishing. But, if they caught too many fish they might leave most behind, for it was too much work to carry them all home.&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1756&quot;&gt;&lt;/span&gt;&lt;br /&gt;
The neighbors would watch them as they stretched out beneath the trees in the yard and shake their heads.&lt;br /&gt;
&amp;#8220;Why do you not help your father around the farm?&amp;#8221; they called.&lt;br /&gt;
&amp;#8220;Father enjoys his work and in his work he provides for us. Why should we work and deny him that pleasure.&amp;#8221; The brothers would reply, laughing and eventually falling asleep.&lt;/p&gt;
&lt;p&gt;The father tried his best to get them to work, but it was all in vain. The years went on and finally the old man wore himself out and was on his deathbed.&lt;br /&gt;
&amp;#8220;My sons, the end to my work is near. Soon I will leave you and I fear so much for your future.&amp;#8221;&lt;/p&gt;
&lt;p&gt;For the first time the three young men were roused out of their apathy. They exchanged worried looks. The oldest knelt by his father&amp;#8217;s side and spoke.&lt;br /&gt;
&amp;#8220;Father we need your counsel and your blessing. What are we to do?&amp;#8221;&lt;br /&gt;
The father looked at his sons and slowly said. &amp;#8220;My boys, when your mother and I were young we saved our money very guardedly. We knew that hard times might come again and send the wolf to the door. We tried to put one gold coin every month into a small pot that we buried in the yard. As the years went by and you boys came into our lives, we couldn&amp;#8217;t put any money away and quickly forgot about the pot of gold. I can&amp;#8217;t remember where, but somewhere in the yard or perhaps in the field next to the house there is a pot of gold. I hope you find it and that it saves you all.&amp;#8221; With these words the old man closed his eyes and died.&lt;/p&gt;
&lt;p&gt;The three sons wept for their father and in their grief kept his memory alive in their hearts for a long time. But soon they were hungry and the little food and money that their father had in the house was soon gone.&lt;br /&gt;
&amp;#8220;Our father spoke of a pot of gold,&amp;#8221; said the middle brother. &amp;#8220;I say we start to dig around the house and try to find this gold and keep ourselves alive.&amp;#8221; The other two agreed.&lt;/p&gt;
&lt;p&gt;For the first time in their lives the three brothers began to work. They shoveled and dug and dug some more. At the end of the first day their hands were blistered and their backs ached and the places where their muscles should have been were sore but they found no gold. They started a new next day. All week they dug till the whole yard was dug up and the earth was rich and brown and still they found no gold. They dug even deeper and found nothing. Next they began to dig in the field next to the house. When they found large rocks and stones they dug them out and rolled them to the side to build fences with. Soon the field was dug, like the yard, rich and brown and still no pot of gold. The brothers looked around and the eldest spoke.&lt;br /&gt;
&amp;#8220;It seem a shame to waste all this work. Let us plant a vineyard and a garden here and try our hands at a trade.&amp;#8221;&lt;br /&gt;
And so the three brothers planted a vineyard and they began to raise a small vegatable garden as well. The grapes grew well and they prospered.&lt;/p&gt;
&lt;p&gt;One day as they sat on their porch after a hard day&amp;#8217;s work in the vineyard they sipped their coffee and looked out over their labors. Their grapevines were heavy with grapes and their vegetable garden kept their tables full and left them produce to sell.&lt;/p&gt;
&lt;p&gt;&amp;#8220;You know,&amp;#8221; said the eldest. &amp;#8220;Our wise father did leave us a treasure after all.&amp;#8221;&lt;br /&gt;
They all agreed that he was a very wise man.&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">500 posts</title>
		<link href="http://blackhold.nusepas.com/2010/08/500-posts/"/>
		<id>http://blackhold.nusepas.com/?p=1745</id>
		<updated>2010-08-16T22:01:32+00:00</updated>
		<content type="html">&lt;p&gt;Pues nada, como nota informativa que el post anterior era post numero 500 de este blog.&lt;/p&gt;
&lt;p&gt;Inicié este pequeño proyecto hace ya un tiempo, según dice la base de datos, el primer post fué el 1 de Julio del 2005, en aquel entonces en blogger, pero por fin cada vez somos un poco más autónomos y ahora este blog se sostenta por un sistema libre como wordpress :)&lt;/p&gt;
&lt;p&gt;Durante estos 5 años de posts he ido aprendiendo un poquito mas de informática, ha habido días muy duros en el que querías darte con la cabeza contra una pared al tratar de conseguir retos casi imposibles, pero tras mucha insistencia casi todas las veces he conseguido hallar una solución o he encontrado alguna otra herramienta que suplia la anterior, otras veces algunos problemas han resuelto o ayudado a adquirir los conocimientos para resolver antiguos enigmas.&lt;/p&gt;
&lt;p&gt;Sé que ha habido temporadas que el blog estaba casi muerto, pero día tras día trato de encontrar una historia que haga que aquel lector espontáneo se vuelva en un lector habitual e incluso activo.&lt;/p&gt;
&lt;p&gt;Vuestros comentarios me han animado a seguir trabajando en la confección y en la traducción de manuales, sé que mi castellano no es muy bueno, pero como muchos sabréis el castellano no es mi primera lengua, sino el catalán, así que todas las correcciones serán bienvenidas (sin llegar por favor al límite del talibán ortográfico).&lt;/p&gt;
&lt;p&gt;Gracias también a aquellos que hacéis referencia a los posts de este blog y más aún a los que lo tenéis vinculado en vuestras webs, blogs y planetas.&lt;/p&gt;
&lt;p&gt;Nos seguimos viendo las ips por aquí :)&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">NSLU2 RIP</title>
		<link href="http://blackhold.nusepas.com/2010/08/nslu2-rip/"/>
		<id>http://blackhold.nusepas.com/?p=1742</id>
		<updated>2010-08-16T21:21:16+00:00</updated>
		<content type="html">&lt;p&gt;Pues hace unos minutos acabo de decidir dar por muerto mi pequeño &lt;a href=&quot;http://blackhold.nusepas.com/2007/07/poniendo-la-red-de-gala/&quot; target=&quot;_blank&quot;&gt;NSLU2&lt;/a&gt;, el motivo de la defunción después de mas de 3 años en funcionamiento, es el mismo que otro NSLU2 que tuve a mi servicio en un anterior trabajo, el cacharro sigue funcionando pero a la que le enchufas los discos duros se reinicia, da error y es inaccesible.&lt;/p&gt;
&lt;p&gt;Las pruebas que hice en su momento fue primero actualizar el firmware a la última versión e instalar la slug, la distribución gnu/linux dedicada a estos dispositivos.&lt;/p&gt;
&lt;p&gt;Ahora toca buscarle un sucesor, así que si alguien tiene alguna idea de lo que puede ser el próximo NAS? los requisitos mínimos es que sea gigabit y permita enchufarle unos 4 discos, gestión de usuarios por samba y algún interfaz web para navegar entre los directorios.&lt;br /&gt;
Pijaditas que me gustaría sería enchufar discos IDE y SATA en caliente, NFS, a ser posible webdav y si permite hacer streaming ya sería la repera.&lt;/p&gt;
&lt;p&gt;¿Qué tenéis vosotros en casa?&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">WordPress 3.0.1 multidominio</title>
		<link href="http://blackhold.nusepas.com/2010/08/wordpress-3-0-1-multidominio/"/>
		<id>http://blackhold.nusepas.com/?p=1736</id>
		<updated>2010-08-16T09:42:42+00:00</updated>
		<content type="html">&lt;p&gt;El wordpress como sabréis es un cms que permite montar un sistema de blogs realmente interesante, además a partir de la versión 3.0 el wordpress lleva algunas propiedades de wordpress mu, la versión para tener varios blogs bajo la misma instalación, pero esta versión peca de una mala gestión de los dominios, sólo es capaz de gestionar subdominios y directorios, pero a nosotros nos interesa otra cosa, así que vamos por la labor.&lt;/p&gt;
&lt;p&gt;Lo primero de todo es instalar un wordpress 3.0.1: descargar de la web, descomprimir en el servidor, configurar la base de datos y hacer la instalación. A partir de ahí ya tenemos un wordpress funcional.&lt;br /&gt;
&lt;span id=&quot;more-1736&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Antes de empezar, comentar que es recomendable hacer la instalación de este wordpress en / del dominio o subdominio, ya que sino dará problemas, en mi caso voy a usar test.marsupi.org.&lt;/p&gt;
&lt;p&gt;Ahora la siguiente parte es convertir este wordpress en un super wordpress, para ello modificaremos el fichero de configuración wp-config.php y añadiremos esta línea:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;define(&amp;#8216;WP_ALLOW_MULTISITE&amp;#8217;,true);&lt;br /&gt;
/* That&amp;#8217;s all, stop editing! Happy blogging. */&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Importantísimo editar por encima de la línea &amp;#8220;That&amp;#8217;s all, stop editing!&amp;#8230;&amp;#8221;.&lt;/p&gt;
&lt;p&gt;A continuación vamos al blog, en Herramientas &amp;gt; Red y le damos al botón de instalar. A partir de ahí nos da algunas instrucciones que deberemos seguir si queremos completar la instalación con éxito:&lt;/p&gt;
&lt;p&gt;Crea el directorio blogs.dir en /var/www/marsupi.org/wp3/wp-content.  Este directorio se usa para almacenar los archivos subidos por los  sitios adicionales y el servidor web, debe poder escribir en él.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;# cd /var/www/marsupi.org/wp3/wp-content &amp;amp;&amp;amp; mkdir blogs.dir &amp;amp;&amp;amp; chown -R www-data:www-data blogs.dir&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Añade lo siguiente a tu archivo wp-config.php en /var/www/marsupi.org/wp3/ &lt;strong&gt;sobre&lt;/strong&gt; la línea que dice /* ¡Eso es todo, no hay que editar nada más! Feliz blogging. */:&lt;/p&gt;
&lt;pre&gt;define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', false );
$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'test.marsupi.org' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );
&lt;/pre&gt;
&lt;p&gt;Añade lo siguiente a tu archivo &lt;code&gt;.htaccess&lt;/code&gt; en &lt;code&gt;/var/www/marsupi.org/wp3/&lt;/code&gt;, remplazando las reglas existentes de WordPress:&lt;/p&gt;
&lt;pre&gt;RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]&lt;/pre&gt;
&lt;p&gt;A continuación comprobamos que no ha dado ningún problema y la instalación ha funcionado correctamente. Destacar que he hecho la instalación en modo de directorios, no de subdominios.&lt;/p&gt;
&lt;p&gt;A partir de aquí nos salen un montón de opciones mas en nuestro wordpress, pero este aún no está preparado para soportar varios dominios y &lt;a href=&quot;http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/&quot; target=&quot;_blank&quot;&gt;a esto vamos&lt;/a&gt; :)&lt;/p&gt;
&lt;p&gt;Creamos de nuevo otro directorio dentro de wp-config que se llame &amp;#8220;mu-plugins&amp;#8221;, nos descargamos el plugin &lt;a href=&quot;http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/&quot; target=&quot;_blank&quot;&gt;WordPress MU Domain Mapping Plugin&lt;/a&gt; y guardamos el fichero domain_mapping.php dentro del directorio mu-plugins y el sunrise.php tal cual en wp-content:&lt;/p&gt;
&lt;p&gt;- wp-content/mu-plugins/domain_mapping.php&lt;br /&gt;
- wp-content/sunrise.php&lt;/p&gt;
&lt;p&gt;añadimos también esta línea en el fichero wp-config.php&lt;/p&gt;
&lt;p&gt;define( &amp;#8216;SUNRISE&amp;#8217;, &amp;#8216;on&amp;#8217; );&lt;br /&gt;
/* ¡Eso es todo, deja de editar! Feliz blogging */&lt;/p&gt;
&lt;p&gt;Ahora tenemos que configurar el plugin, así que nos vamos al Panel de configuración del wordpress, Superadmin y Domain Mapping. Aquí veremos que nos pide la ip o el cname, para evitar problemas futuros (en caso de migraciones) vamos a rellenar la parte del cname, en mi caso con test.marsupi.org, y debajo indicamos como queremos que se comporte el plugin ante los distintos accesos:&lt;/p&gt;
&lt;p&gt;* Remote Login – This will make your login pages for all sites redirect to your main site to do the actual login. The benefit of this is that when you log in to one, you log into all of them. The downside is that the URL changes to another domain in order to log in.&lt;br /&gt;
* Permanent redirect (better for your blogger’s pagerank) – This makes your subdomain or subdirectory sites redirect to their domains. You should leave this on.&lt;br /&gt;
* User domain mapping page – Turn this on if you want users to be able to put in their own domains for mapping.&lt;br /&gt;
* Redirect administration pages to blog’s original domain (remote login disabled if redirect disabled) – This makes all admin pages show up on the original domain instead of on the new domains. You need this enabled for remote login to work.&lt;/p&gt;
&lt;p&gt;El tipo que hizo el manual comenta que el siempre deja las dos opciones del medio marcadas, así que como él sabe mas que yo fijo, le vamos a hacer caso :)&lt;/p&gt;
&lt;p&gt;Para añadir un nuevo blog primero vamos a Superadmin &amp;gt; sitios y añadimos un nuevo blog, y en Superadmin &amp;gt; Domains relacionamos el id del blog con el dominio.&lt;/p&gt;
&lt;p&gt;Ahora ya sólo faltará apuntar el nuevo dominio al directorio de nuestro wordpress y a correr :)&lt;/p&gt;
&lt;p&gt;Importante destacar que para hacer que el dominio funcione correctamente y el mod_rewrite no nos mande a cualquier sitio, tendremos que indicar la url a la cual se va a acceder al blog en Sitios &amp;gt; editar el sitio &amp;gt; Opciones del sitio (wp_2_options) &amp;gt; Siteurl y en Información del sitio (wp_blogs) &amp;gt; Dominio y ruta dejarlo en blanco. En mi caso la prueba la he hecho las pruebas con http://test2.marsupi.org y marsupi2.org satisfactoriamente :)&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry>
		<title type="html">Falsa libertad</title>
		<link href="http://sisgu.blogspot.com/2010/08/falsa-libertad.html"/>
		<id>tag:blogger.com,1999:blog-8893921278632876339.post-695616543235357090</id>
		<updated>2010-08-16T00:34:12+00:00</updated>
		<content type="html">&lt;span class=&quot;entrada&quot;&gt;De como las corridas y quienes las apoyan van de liberales pero son cualquier cosa menos eso&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6tcdK9fSTtU/TGjomnWCNcI/AAAAAAAAAMA/EC-brOSOL6E/s1600/pobre_toro.jpg&quot;&gt;&lt;img src=&quot;http://3.bp.blogspot.com/_6tcdK9fSTtU/TGjomnWCNcI/AAAAAAAAAMA/EC-brOSOL6E/s320/pobre_toro.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5505906294554506690&quot; /&gt;&lt;/a&gt;En un comentario a una noticia de una manifestación antitaurina, un lector pone que &lt;span&gt;los taurinos son como los no fumadores o el perro del hortelano: [ni hacen ni dejan hacer].&lt;/span&gt; Ahora parece que los taurinos quieren presentarse a sí mismos como adalides de la libertad: &quot;&lt;span&gt;quien no quiera que no vaya pero que no impida a nadie ir&lt;/span&gt;&quot;. ¡0k!, muy bien, de acuerdo, pero que, según ese razonamiento, no impidan tampoco maltratar a su pareja a quien quiera, o violar a sus hijos e hijas menores a quien así lo considere oportuno.&lt;br /&gt;&lt;br /&gt;Enteremonos de una vez, libertad no es imposición, si dos toreros se deciden torearse libre y mutuamente hasta que uno mate al otro, bueno, o le atice al menos una buena paliza yo seré el primero en aplaudir, pero el toro NO va libremente, cualquier asomo de igualdad de condiciones entre un individuo bien entrenado y otro novato y manipulado hasta la saciedad es pura casualidad y encima son mentirosos porque el toro va a morir sí o sí, no tiene la más mínima oportunidad. Si tanto os llenais la boca con vuestro: &quot;El que no quiera que no vaya&quot; pues el toro es el primero que NO quiere ir &lt;br /&gt;¡Enteraos de una vez!&lt;br /&gt;&lt;br /&gt;)S(&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed RSS&lt;img width=&quot;1&quot; height=&quot;1&quot; src=&quot;https://blogger.googleusercontent.com/tracker/8893921278632876339-695616543235357090?l=sisgu.blogspot.com&quot; alt=&quot;&quot; /&gt;&lt;/div&gt;</content>
		<author>
			<name>cikgu</name>
			<email>noreply@blogger.com</email>
			<uri>http://sisgu.blogspot.com/</uri>
		</author>
		<source>
			<title type="html">Según sisgu</title>
			<subtitle type="html">La realidad suele ser única e intransferible. La comunicación nos da una falsa sensación de compartirla y estar percibiendo lo mismo. Intentemos ver la realidad tal como la ve nuestro prota: sisgu.</subtitle>
			<link rel="self" href="http://sisgu.blogspot.com/feeds/posts/default"/>
			<id>tag:blogger.com,1999:blog-8893921278632876339</id>
			<updated>2010-08-23T10:00:10+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Vacances!</title>
		<link href="http://blog.tenak.net/2010/08/2010-08-vacances.html"/>
		<id>tag:blog.tenak.net,2010-08-14:/2010/08/2010-08-vacances.html</id>
		<updated>2010-08-14T12:40:00+00:00</updated>
		<content type="html">&lt;div&gt;&lt;p&gt;Doncs ja porto una setmaneta de vacances. No ha cundit tant com 
m'esperava, ja que malauradament s'ha hagut de fer feina de GISCE
i no he pogut desconnectar. Ara sembla que ja està tot i al final
quedarà una setmaneta per oblidar-se de la feina, que per alguna
cosa tenim vacances!&lt;/p&gt;
&lt;p&gt;Estic escrivint-vos des de Sesa, Huesca, aprofitant la connexió
wireless que dóna l'ajuntament. No s'agafa des de tot arreu, així 
que tinc el meu racó on s'agafa senyal ben guardadet :)&lt;/p&gt;
&lt;p&gt;Demà ja comencen les festes amb les orquestres de pasodobles, a
veure què tal són les d'aquest any!&lt;/p&gt;&lt;/div&gt;</content>
		<author>
			<name>marc0s</name>
			<email>marc0s@fsfe.org</email>
			<uri>http://blog.tenak.net</uri>
		</author>
		<source>
			<title type="html">marc0s.blog</title>
			<link rel="self" href="http://blog.tenak.net/atom.xml"/>
			<id>http://blog.tenak.net/atom.xml</id>
			<updated>2010-09-05T20:00:14+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Barcelona, viaje al trabajo en agosto</title>
		<link href="http://blackhold.nusepas.com/2010/08/barcelona-viaje-al-trabajo-en-agosto/"/>
		<id>http://blackhold.nusepas.com/?p=1730</id>
		<updated>2010-08-13T06:29:26+00:00</updated>
		<content type="html">&lt;p&gt;Hoy me he levantado tras una noche de tormenta, tras varios días de intenso calor por fin nos acaricia cada una de las partes de nuestro cuerpo una agradable brisa con olor a laurel y pino. Normalmente en medio de la ciudad los olores quedan suprimidos por el olor de azufre y dióxido de carbono que normalmente inunda el aire con un olor pesado y gris.&lt;/p&gt;
&lt;p&gt;Por fin hoy las sábanas no se me han pegado a mi cuerpo y he podido deshacerme de ellas rápidamente y activarme para el día que me espera, aunque la ciudad parezca que esté en un estado comatoso, aún seguimos microorganismos reactivando su flujo vital, microorganismos que deseamos desvanecernos entre la gran multitud cuando toda esta vuelva a la normalidad.&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1730&quot;&gt;&lt;/span&gt;&lt;br /&gt;
Pues son vacaciones y desplazarse por Barcelona estos días es genial y más con la moto. Por la mañana es una auténtica partida de tron, las calles rectas hacen que puedas divisar el horizonte y calcular al microsegundo el estado de los semáforos sin tener en cuenta los pesados obstáculos de metal que entorpecen el tráfico y convierten esta ciudad en una ciudad un poco mas odiosa.&lt;/p&gt;
&lt;p&gt;Te paras expectante frente la luz roja, respiras fuertemente dentro del casco ya que por la mañana el aire aún es un poco frío. La luz de los peatones empieza a parpadear y pongo la primera y clavo fijamente mi mirada en el semáforo esperando la luz verde que me indica la posibilidad de empezar mi microviaje hasta el próximo sistema de control de borregos.&lt;br /&gt;
Los pies de repente dejan de tocar el suelo, tiro adelante mi cuerpo para que el aire pase por encima de mi cabeza y mi pecho no cree resistencia, mi mano derecha le da con fuerza al acelerador y cuando la moto ruge como un león de forma sincronizada la parte izquierda de mi cuerpo realiza su labor de aumentar de marcha y así hasta que la moto llega a la velocidad que deseo.&lt;br /&gt;
De repente ves como los árboles, las casas, la gente, pasan por tu lado como si todos fuésemos invisibles, anonimato total. Poco a poco pero vas cruzando calles y en unos breves instantes te vienen a la cabeza viejos recuerdos que ahora inevitablemente se han desvanecido.&lt;/p&gt;
&lt;p&gt;De repente la luz se hace mas intensa y las calles se ensanchan, ya estoy en la mitad del camino y ya queda menos para llegar a la destinación, pero el viaje aún no ha terminado. Al ser una calle mas ancha también hay mas coches y tienes que ir sorteándolos para no encontrarte con un semáforo en rojo y demorar tu llegada al destino, así es cada día y así tiene que ser.&lt;/p&gt;
&lt;p&gt;Final de la calle, una curva de 90º acecha y varios coches quieren pasar por ahí y se convierte en una sangrante batalla para ver quien pasa primero, incluso en agosto, es como si todo el mundo se hubiese puesto de acuerdo de quedar ahí en aquella esquina &amp;#8220;oye! quedamos a las 7 y 25 a aquella esquina que hay después de la gasolinera!&amp;#8221; sorteo los coches y pongo mi maquina al tope para huir de aquel pequeño atasco y seguir con mi trayecto que se convierte en un continuo cambio de carril, ahora a la izquierda, ahora a la derecha, &amp;#8230; siempre controlando la trayectoria imprevisible de los conductores de coches. En realidad no te fijas en lo mal que conducimos en coche hasta que no pillas una moto.&lt;/p&gt;
&lt;p&gt;Mi viaje llega al final del trayecto y el olor a pino es cada vez mas intenso, cruzo la valla sin parar del todo la moto y la sorteo por el lado (el día que la abran y pase en aquel momento por ahí me meto una torta que me tienen que mandar directo al hospital! suerte que queda cerca!).&lt;br /&gt;
Aparco la moto y esta empieza a crujir por la dilatación de sus componentes mecánicos, le pongo el pie, pero como mis fuerzas por la mañana no están del todo desarrolladas me cuesta un montón levantar la moto, es como si su peso se hubiese multiplicado por diez.&lt;/p&gt;
&lt;p&gt;Mi respiración vuelve a ser de nuevo intensa mientras me saco los guantes y guardo la llave en un bolsillo, entro en medio del parque dirección al edificio donde trabajo al mismo tiempo que me desabrocho el casco, miro lado a lado y me lo saco. Antes de subir las escaleras meneo fuertemente mi cabeza para poner los pelos de mi cabeza a su debido sitio y al cruzar la negra puerta empieza otra realidad&amp;#8230;&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Barking like Robert Johnson</title>
		<link href="http://blackhold.nusepas.com/2010/08/barking-like-robert-johnson/"/>
		<id>http://blackhold.nusepas.com/?p=1720</id>
		<updated>2010-08-11T08:06:16+00:00</updated>
		<content type="html">&lt;p&gt;Estoy aquí escuchando unos viejos programas de &lt;a title=&quot;antigua web del programa de radio nerdfiles&quot; href=&quot;http://web.archive.org/web/20080503194945/http://nerdfiles.info/&quot; target=&quot;_blank&quot;&gt;nerdfiles&lt;/a&gt; recuperados, y en uno de ellos hay una historia bastante curiosa sobre el músico Robert Johnson, uno de los padres del Blues.&lt;/p&gt;
&lt;p&gt;En Estados Unidos existe una popular expresión que es &amp;#8220;ladrando como Robert Johnson&amp;#8221; (Barking like Robert Johnson), la expresión hace referencia en la parte de la leyenda sobre Robert Johnson cuando lo mataron en un bar. Alguien le clavó varias puñaladas y cayó al suelo a cuatro patas y el dolor que sufría era inmenso, así que de repente apareció el diablo y lo hizo sufrir mucho mas y el mal que le había hecho le hizo mas fuerte.&lt;/p&gt;
&lt;p&gt;La expresión hace referencia a que el malo que has hecho te va a hacer sufrir mucho mas. Haciendo referencia a la mala vida que había llevado el músico los últimos años.&lt;/p&gt;
&lt;p&gt;En la wikipedia dice que el hombre fue envenenado, así que queda en jaque cuando ocurrió esta historia, pero no deja de tener cierta moraleja.&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Conectarse a la red mesh de gsf</title>
		<link href="http://blackhold.nusepas.com/2010/08/conectarse-a-la-red-mesh-de-gsf/"/>
		<id>http://blackhold.nusepas.com/?p=1710</id>
		<updated>2010-08-10T21:25:43+00:00</updated>
		<content type="html">&lt;p&gt;Pues por fin encuentro una tarde para hacer esta tarea de la larguísima TODO list que acecha estos días, conectar la Alix que tengo en mis manos a la red mesh de gsf (gracia sense fils).&lt;/p&gt;
&lt;p&gt;Normalmente en guifi.net encontramos nodos P2P, point to point, pero existe otro tipo de red, quizás mas eficaz en una ciudad, o quizás no, hay opiniones de todos tipos, así que para hacer la prueba tendremos en el mástil de rigor los dos tipos de infraestructuras y a partir de ahí empieza un nuevo viaje :)&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1710&quot;&gt;&lt;/span&gt;&lt;br /&gt;
Lo primero de todo será ir a guifi.net y conseguir una ip para poder generar el firmware desde la web de gsf. Esto mas adelante. Suponemos que ya tenemos entre nuestras manos el hardware necesario, si no es así consultad en &lt;a href=&quot;http://graciasensefils.net/dokuwiki/doku.php?id=unir-se_a_la_xarxa&quot; target=&quot;_blank&quot;&gt;este vínculo&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;La primera cosa a destacar es que mi nodo se encuentra en Barcelona, y para que la web me genere una ip válida para la nuve mesh de gracia tengo que estar dentro de la zona de &amp;#8220;núvol de gràcia&amp;#8221;, por esto que tengo que crear otro nodo al lado del otro (o encima, lo que mas rabia te de hehe) e indicarle que el nodo se encuentra en gracia. Como nota irrelevante comentar que mi ubicación, antes de las reformas del pla cerdà, era considerado gracia :P&lt;/p&gt;
&lt;p&gt;Una vez creado el nuevo nodo, añadimos un nuevo cacharro y aquí empieza la juerga, la primera parte si parece igual, pero debajo es distinto, pero igualmente intuitivo. Para haceros una idea aquí os dejo un par de capturas:&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&lt;a href=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/gsf1.png&quot;&gt;&lt;img class=&quot;alignnone size-medium wp-image-1711&quot; title=&quot;gsf1&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/gsf1-300x187.png&quot; alt=&quot;&quot; width=&quot;300&quot; height=&quot;187&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/gsf2.png&quot;&gt;&lt;img class=&quot;alignnone size-medium wp-image-1712&quot; title=&quot;gsf2&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/gsf2-300x187.png&quot; alt=&quot;&quot; width=&quot;300&quot; height=&quot;187&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Una vez ya tenemos la ip, nos vamos a &lt;a title=&quot;generador de firmwares de gsf&quot; href=&quot;http://gsf.guifi.net/cgi-bin/gsf-fw-web&quot; target=&quot;_blank&quot;&gt;esta web&lt;/a&gt; y definimos nuestras coordenadas GPS y la ip que nos ha asignado la web de guifi.net, generamos el firmware y nos lo descargamos.&lt;/p&gt;
&lt;p&gt;A continuación pondremos la Compact Flash de la Àlix en una lectora de Compacts Flash y comprobamos que detecta la tarjeta:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;salnitre:/home/laura# fdisk -l&lt;br /&gt;
[...]&lt;br /&gt;
Disc /dev/sdb: 2017 MB, 2017419776 octets&lt;br /&gt;
16 heads, 63 sectors/track, 3909 cylinders&lt;br /&gt;
Units = cilindres of 1008 * 512 = 516096 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0&amp;#215;00000000&lt;/p&gt;
&lt;p&gt;Dispositiu Arrenc.   Inici         Final    Blocs    Id  Sistema&lt;br /&gt;
/dev/sdb1   *           1          25       12568+  83  Linux&lt;br /&gt;
/dev/sdb2              26         123       49360+  83  Linux&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Y cargamos el firmware descargado a la tarjeta con el comando dd:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;salnitre:/home/laura/Desktop# dd if=/home/laura/Desktop/gsf_rossello208.image.24320 of=/dev/sdb&lt;br /&gt;
34223+1 registres llegits&lt;br /&gt;
34223+1 registres escrits&lt;br /&gt;
17522180 octets (18 MB) copiats, 7,92669 s, 2,2 MB/s&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Nota, el firmware que nos descargamos tiene un nombre muuuucho mas largo, con la versión del firmware, la fecha y varias cosas mas.&lt;/p&gt;
&lt;p&gt;Una vez echo esto ponemos la Compact Flash de nuevo en la Alix.&lt;/p&gt;
&lt;p&gt;Finalmente para acceder a la Alix enchufaremos un cable al POE a la Alix y el LAN a nuestro ordenador a la interfaz eth0 y nos dará una ip del rango 172.28.0.0/30, en mi caso la 172.28.28.2 y como gateway 172.28.28.1:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;salnitre:/home/laura# ifconfig eth0&lt;br /&gt;
eth0      Link encap:Ethernet  HWaddr 00:1f:16:39:73:f8&lt;br /&gt;
inet addr:172.28.28.2  Bcast:172.28.28.15  Mask:255.255.255.240&lt;br /&gt;
inet6 addr: fe80::21f:16ff:fe39:73f8/64 Scope:Link&lt;br /&gt;
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
RX packets:61 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
collisions:0 txqueuelen:100&lt;br /&gt;
RX bytes:7345 (7.1 KiB)  TX bytes:7474 (7.2 KiB)&lt;br /&gt;
Memory:f2700000-f2720000&lt;/p&gt;
&lt;p&gt;salnitre:/home/laura# route -n&lt;br /&gt;
Kernel IP routing table&lt;br /&gt;
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface&lt;br /&gt;
172.28.28.0     0.0.0.0         255.255.255.240 U     1      0        0 eth0&lt;br /&gt;
192.168.1.0     0.0.0.0         255.255.255.0   U     2      0        0 wlan0&lt;br /&gt;
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0&lt;br /&gt;
0.0.0.0         172.28.28.1     0.0.0.0         UG    0      0        0 eth0&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;A continuación para verificar que el firmware se ha cargado directamente podremos acceder por http a la alix por la ip que nos ha salido en el gateway (contad que la antena tarda unos 2 minutos en arrancar):&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://172.28.28.1&quot; target=&quot;_blank&quot;&gt;http://172.28.28.1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/gsf3.png&quot;&gt;&lt;img class=&quot;alignnone size-medium wp-image-1724&quot; title=&quot;gsf3&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/gsf3-300x187.png&quot; alt=&quot;&quot; width=&quot;300&quot; height=&quot;187&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/gsf4.png&quot;&gt;&lt;img class=&quot;alignnone size-medium wp-image-1725&quot; title=&quot;gsf4&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/gsf4-300x187.png&quot; alt=&quot;&quot; width=&quot;300&quot; height=&quot;187&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/gsf5.png&quot;&gt;&lt;img class=&quot;alignnone size-medium wp-image-1726&quot; title=&quot;gsf5&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/gsf5-300x187.png&quot; alt=&quot;&quot; width=&quot;300&quot; height=&quot;187&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;Muchas gracias a la gente de gsf para la ayuda, especialmente a Joan Marc y Agustí :)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Curiosidad morbosa</title>
		<link href="http://blackhold.nusepas.com/2010/08/curiosidad-morbosa/"/>
		<id>http://blackhold.nusepas.com/?p=1699</id>
		<updated>2010-08-04T12:48:15+00:00</updated>
		<content type="html">&lt;p&gt;&lt;a href=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/oLMmP.gif&quot;&gt;&lt;img class=&quot;alignnone size-full wp-image-1700&quot; title=&quot;oLMmP&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/oLMmP.gif&quot; alt=&quot;&quot; width=&quot;310&quot; height=&quot;198&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;xD&lt;/p&gt;
&lt;p&gt;vía &lt;a href=&quot;http://apezz.org&quot; target=&quot;_blank&quot;&gt;apezz&lt;/a&gt;&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">mit owned</title>
		<link href="http://blackhold.nusepas.com/2010/08/mit-owned/"/>
		<id>http://blackhold.nusepas.com/?p=1696</id>
		<updated>2010-08-03T06:10:58+00:00</updated>
		<content type="html">&lt;p&gt;&lt;a href=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/Captura-8.png&quot;&gt;&lt;img class=&quot;alignnone size-medium wp-image-1697&quot; title=&quot;mit owned&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/08/Captura-8-300x214.png&quot; alt=&quot;mit owned website with peter griffin&quot; width=&quot;300&quot; height=&quot;214&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;ouch! :o&lt;br /&gt;
/!\ si ves este vídeo puedes morir&amp;#8230; xD&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">mas batallitas y los túneles ssh como protagonistas</title>
		<link href="http://blackhold.nusepas.com/2010/08/mas-batallitas-y-los-tuneles-ssh-como-protagonistas/"/>
		<id>http://blackhold.nusepas.com/?p=1692</id>
		<updated>2010-07-31T23:18:18+00:00</updated>
		<content type="html">&lt;p&gt;Pues por fin me he ido un par de días a la playa, olas, aire marino, arena, agua salada, guiris y&amp;#8230; ¡antenas de guifi.net!&lt;/p&gt;
&lt;p&gt;La cuestión es que siempre que estoy dentro de guifi.net acceder a servicios como irc o ssh es un verdadero martirio y pueden sacar de quicio a mas de uno. Así que hoy voy a contar la solución chapuzera que he hecho para poder usar un sistema de mensajería como podría ser irc por irssi.&lt;/p&gt;
&lt;p&gt;Podría usar clientes como xchat o estos que permiten la configuración del proxy, pero algunas veces no sé por qué historias no llegan a conectarse, además de que soy bastante tostorrona y me empeño en usar las cosas que realmente me gustan :D así que IRSSI!&lt;/p&gt;
&lt;p&gt;El manual de hoy tiene un poco de trampa, ya que para hacer esto es necesario tener en algún punto de la red de guifi.net una maquina con acceso ssh. Pongamos el caso de una friki que se va de fin de semana en casa de los padres y los ha enredado para tener una antena de guifi.net en casa (caso nada extraño en esta red).&lt;br /&gt;
La otra es que la otra máquina tiene que tener salida a internet (caso tampoco extraño ya que si eres un friki que estás haciendo esto es posible que en casa tengas un supernodo con un servidor proxy para ofrecer el ancho de banda que no usas a los usuarios de la red).&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1692&quot;&gt;&lt;/span&gt;&lt;br /&gt;
Lo mas sencillo es simplemente connectarte por ssh a la maquina por la ip guifi y listos. Vamos a usar como ejemplo la ip del servidor de DNS de marsupi :)&lt;/p&gt;
&lt;p&gt;mimaquina&amp;gt; ssh blackhold@10.139.39.66&lt;br /&gt;
cobalt&amp;gt; ssh laura@fermat.marsupi.org&lt;br /&gt;
urbanita&amp;gt; irssi&lt;/p&gt;
&lt;p&gt;et voilà!&lt;/p&gt;
&lt;p&gt;La cosa es que en casa tengo a medio montar un servidor de bitlbee y tengo en mente de montar un servidor de freenode en otra máquina, pero por algun motivo mis máquinas no són accesibles por guifi.net. El motivo mas probable es que sea un problema de conexión, así que he querido ver qué le pasaba y para ello necesito acceder al router de guifi.net que está en mi casa (desde guifi.net acceder a internet y luego a la red local de mi casa y una vez ahí hacerlo accesible desde guifi.net).&lt;/p&gt;
&lt;p&gt;Todos los puertos de la ip de cobalt van a cobalt, así que si abro un puerto nuevo en cobalt no tengo que configurar ningún router para hacer nat del nuevo puerto. En estos casos es cuando las maquinas necesitan algún firewall como podría ser arno para protegerse un poquito.&lt;/p&gt;
&lt;p&gt;La idea pues ha consistido en hacer un túnel de estos que me gustan tanto, pero la problemática estaba que cuando haces el túnel sólo lo haces en local, y como tengo acceso total a la maquina desde guifi.net a todos los puertos pues tendré mi cometido.&lt;/p&gt;
&lt;p&gt;mimaquina&amp;gt; ssh blackhold@10.139.39.66&lt;br /&gt;
﻿﻿cobalt&amp;gt; ssh -L0.0.0.0:8080:192.168.1.20:443 blackhold@fermat.marsupi.org -p27&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;0.0.0.0&lt;/strong&gt; direcciones dónde hacer el bind, en este caso todas, si no se pone esto lo hace sólo en local&lt;br /&gt;
&lt;strong&gt;8080&lt;/strong&gt; puerto que se va a crear en la maquina donde estamos ejecutando el comando desde el cual podremos acceder al tunnel&lt;br /&gt;
&lt;strong&gt;192.168.1.20&lt;/strong&gt; ip local de la red a la que vamos acceder&lt;br /&gt;
&lt;strong&gt;443&lt;/strong&gt; el puerto al que vamos acceder de la maquina dentro la red local&lt;br /&gt;
&lt;strong&gt;blackhold&lt;/strong&gt; el usuario de la maquina por la que nos conectamos&lt;br /&gt;
&lt;strong&gt;fermat.marsupi.org&lt;/strong&gt; el host al que nos conectamos, en este caso una ip de internet&lt;br /&gt;
&lt;strong&gt;-p27&lt;/strong&gt; como hay varias maquinas en esta red tengo que repartir un poquito los puertos&lt;/p&gt;
&lt;p&gt;en mi navegador &lt;strong&gt;https://10.139.39.66:8080&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;y ya puedo acceder a mi antena de guifi.net anteriormente inaccesible :D&lt;/p&gt;
&lt;p&gt;Pues hasta aquí mi viajecito por los cibertúneles ssh :D﻿﻿&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Happy sysadminday 2010</title>
		<link href="http://blackhold.nusepas.com/2010/07/happy-sysadminday-2010/"/>
		<id>http://blackhold.nusepas.com/?p=1689</id>
		<updated>2010-07-30T09:49:12+00:00</updated>
		<content type="html">&lt;p&gt;pues esto, feliz día del administrador de sistemas.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://farm5.static.flickr.com/4072/4624376867_1682ba2398_b.jpg&quot;&gt;&lt;img class=&quot;alignnone&quot; src=&quot;http://farm5.static.flickr.com/4072/4624376867_1682ba2398.jpg&quot; alt=&quot;&quot; width=&quot;500&quot; height=&quot;333&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;No tengo ninguna foto de mis sistemas, así que os dejo uno de los elementos mas importantes de mi casa. Espero que este agosto pongamos bonito uno de los datacenters de marsupi :)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.sysadminday.com/&quot; target=&quot;_blank&quot;&gt;http://www.sysadminday.com/&lt;/a&gt;&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Adiós a los toros</title>
		<link href="http://blackhold.nusepas.com/2010/07/adios-a-los-toros/"/>
		<id>http://blackhold.nusepas.com/?p=1685</id>
		<updated>2010-07-29T11:39:08+00:00</updated>
		<content type="html">&lt;p&gt;Como todo el mundo ya sabe de que va la cosa, no comento nada mas al respeto.&lt;/p&gt;
&lt;p&gt;Nota personal: que se jodan, ya que ellos nos han jodido con los &amp;#8220;correfocs&amp;#8221;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/07/braus.gif&quot;&gt;&lt;img class=&quot;alignnone size-full wp-image-1686&quot; title=&quot;braus&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/07/braus.gif&quot; alt=&quot;&quot; width=&quot;497&quot; height=&quot;345&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Democracia</title>
		<link href="http://blackhold.nusepas.com/2010/07/democracia/"/>
		<id>http://blackhold.nusepas.com/?p=1682</id>
		<updated>2010-07-28T11:52:29+00:00</updated>
		<content type="html">&lt;p&gt;&lt;a href=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/07/democracia.jpg&quot;&gt;&lt;img class=&quot;size-full wp-image-1683 aligncenter&quot; title=&quot;democracia&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/07/democracia.jpg&quot; alt=&quot;&quot; width=&quot;489&quot; height=&quot;595&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">A package updates notifier for awesome</title>
		<link href="http://blog.tenak.net/2010/07/2010-07-awesome_pacman_notifier.html"/>
		<id>tag:blog.tenak.net,2010-07-27:/2010/07/2010-07-awesome_pacman_notifier.html</id>
		<updated>2010-07-27T17:15:00+00:00</updated>
		<content type="html">&lt;div&gt;&lt;p&gt;I wanted to get notified about when new packages were available for my 
&lt;a href=&quot;http://www.archlinux.org&quot;&gt;Archlinux&lt;/a&gt; system. As many of you know, I'm using
the &lt;a href=&quot;http://awesome.naquadah.org&quot;&gt;awesome&lt;/a&gt; window manager. With it comes
naughty, the code responsible of displaying notifications. So, how to get
new packages notification in awesome? Easy, just talk to your naughty 
and tell him about new packages. Here is what I've done:&lt;/p&gt;
&lt;p&gt;In my &lt;code&gt;~/.config/awesome/rc.lua&lt;/code&gt; I say I want naughty to be enabled:&lt;/p&gt;
&lt;div class=&quot;code&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;span&gt;require&lt;/span&gt;(&lt;span&gt;&amp;quot;naughty&amp;quot;&lt;/span&gt;)
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;And then I created a very simple script with the call to naughty in it:&lt;/p&gt;
&lt;div class=&quot;code&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;span&gt;#!/bin/bash&lt;/span&gt;
 
&lt;span&gt;packages&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;`&lt;/span&gt;pacman -Qu&lt;span&gt;`&lt;/span&gt;
 
&lt;span&gt;if&lt;/span&gt; &lt;span&gt;[&lt;/span&gt; ! -z &lt;span&gt;&amp;quot;$packages&amp;quot;&lt;/span&gt; &lt;span&gt;]&lt;/span&gt;
&lt;span&gt;then&lt;/span&gt;
&lt;span&gt;    &lt;/span&gt;&lt;span&gt;echo&lt;/span&gt; &lt;span&gt;&amp;quot;naughty.notify({title = \&amp;quot;Packages updates found!\&amp;quot;, text = \&amp;quot;$packages\&amp;quot;, timeout = 10, icon = \&amp;quot;/usr/share/icons/gnome/48x48/status/messagebox_warning.png\&amp;quot;, fg = \&amp;quot;#ffffff\&amp;quot;, bg = \&amp;quot;#000000\&amp;quot;})&amp;quot;&lt;/span&gt; | awesome-client -
&lt;span&gt;fi&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;Finally I added it to my crontab to run each hour.&lt;/p&gt;
&lt;p&gt;Easy, wasn't it :)&lt;/p&gt;&lt;/div&gt;</content>
		<author>
			<name>marc0s</name>
			<email>marc0s@fsfe.org</email>
			<uri>http://blog.tenak.net</uri>
		</author>
		<source>
			<title type="html">marc0s.blog</title>
			<link rel="self" href="http://blog.tenak.net/atom.xml"/>
			<id>http://blog.tenak.net/atom.xml</id>
			<updated>2010-09-05T20:00:14+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Rutas desde el router</title>
		<link href="http://blackhold.nusepas.com/2010/07/rutas-desde-el-router/"/>
		<id>http://blackhold.nusepas.com/?p=1676</id>
		<updated>2010-07-25T20:09:22+00:00</updated>
		<content type="html">&lt;p&gt;Estos días me estoy leyendo la documentación del CCNA, básicamente para repasar aquellos conocimientos que tengo a medias, últimamente con guifi.net hay muchos términos nuevos y poquito a poco los voy relacionando, así que un chute de conocimientos definiéndote un objetivo es una buena forma :)&lt;/p&gt;
&lt;p&gt;El de hoy va de rutas.&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1676&quot;&gt;&lt;/span&gt;&lt;br /&gt;
En casa tengo un router 192.168.1.1 con salida a internet y otro 192.168.1.20 con salida a guifi.net, la forma mas cutre que usaba cuando quería usar una red u otra era cambiarme la puerta de enlace, así salía todo por internet o por guifi.net.&lt;/p&gt;
&lt;p&gt;Pero pensando un poco, las ips de guifi.net son 10.x.x.x y las de internet el resto, así que lo más lógico sería simplemente añadir una ruta que cuando se hagan peticiones al rango de ips de la red 10.0.0.0/8 pasen por gateway 192.168.1.20 y para el resto en 192.168.1.1.&lt;/p&gt;
&lt;p&gt;Una forma de hacerlo sería definir una ip estática en tu máquina y crear una ruta, o si usas dhcp añadir la ruta cada vez que quieras salir por guifi.net:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;con ip estática&lt;/strong&gt;&lt;br /&gt;
fermat:~# cat /etc/network/interfaces&lt;br /&gt;
# The loopback network interface&lt;br /&gt;
auto lo&lt;br /&gt;
iface lo inet loopback&lt;/p&gt;
&lt;p&gt;# The primary network interface&lt;br /&gt;
allow-hotplug eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
	address 192.168.1.7&lt;br /&gt;
	netmask 255.255.255.0&lt;br /&gt;
	gateway 192.168.1.1&lt;br /&gt;
        up route add -net 10.0.0.0/8 192.168.1.20&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;con ip dinámica&lt;/strong&gt;&lt;br /&gt;
# route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.1.20&lt;/p&gt;
&lt;p&gt;Pero otra forma mas inteligente, es hacerlo directamente en el router, que esta es una de sus tareas, enrutar los paquetes a través de distintas redes, además de esta forma se benefician todas las máquinas de mi subred y si quiero salir a internet usando guifi.net simplemente tendré que configurar un proxy :)&lt;/p&gt;
&lt;p&gt;El router en cuestión es un Draytek Vigor 2700Vn, un pepinaco que día a día voy conociendo.&lt;/p&gt;
&lt;p&gt;Para hacer la ruta es tan simple como ir a LAN &amp;gt; Static Route y rellenar el formulario que nos sale:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/07/routes.png&quot;&gt;&lt;img class=&quot;size-medium wp-image-1677 aligncenter&quot; title=&quot;routes&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/07/routes-300x195.png&quot; alt=&quot;&quot; width=&quot;300&quot; height=&quot;195&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Mi duda de novata era si haciendo dhcp me definiría las rutas en mi máquina o ya se encargaría el propio router en hacerlo. Como es lógico, el enrutamiento de los paquetes lo hace de forma invisible a la maquina cliente el router.&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Oak has now Atom feed support</title>
		<link href="http://blog.tenak.net/2010/07/2010-07-oak_has_now_atom_feed_support.html"/>
		<id>tag:blog.tenak.net,2010-07-24:/2010/07/2010-07-oak_has_now_atom_feed_support.html</id>
		<updated>2010-07-24T19:34:00+00:00</updated>
		<content type="html">&lt;div&gt;&lt;p&gt;With the 0.1.3 release of oak you have now Atom feed support.&lt;/p&gt;
&lt;p&gt;It still doesn't validate on the w3c validator, but it's usable and
well parsed by feed readers.&lt;/p&gt;
&lt;p&gt;In next versions we'll try to fix the small bugs in &lt;code&gt;atom.xml&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The last version is already available at PyPi.&lt;/p&gt;
&lt;p&gt;Enjoy!&lt;/p&gt;&lt;/div&gt;</content>
		<author>
			<name>marc0s</name>
			<email>marc0s@fsfe.org</email>
			<uri>http://blog.tenak.net</uri>
		</author>
		<source>
			<title type="html">marc0s.blog</title>
			<link rel="self" href="http://blog.tenak.net/atom.xml"/>
			<id>http://blog.tenak.net/atom.xml</id>
			<updated>2010-09-05T20:00:14+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Launching SSH sessions with dmenu</title>
		<link href="http://blog.tenak.net/2010/07/2010-07-ssh_dmenu.html"/>
		<id>tag:blog.tenak.net,2010-07-23:/2010/07/2010-07-ssh_dmenu.html</id>
		<updated>2010-07-23T14:15:00+00:00</updated>
		<content type="html">&lt;div&gt;&lt;p&gt;After talking with &lt;a href=&quot;http://xsb.interrupciones.net&quot;&gt;xsb&lt;/a&gt; about his &lt;a href=&quot;http://blog.interrupciones.net/menu-de-sesiones-ssh-usando-dmenu/&quot;&gt;last
post&lt;/a&gt; on
using &lt;a href=&quot;http://tools.suckless.org/dmenu/&quot;&gt;dmenu&lt;/a&gt; to launch SSH sessions, 
I decided to give it a try.&lt;/p&gt;
&lt;p&gt;As I then suggested him, I prefer to show on dmenu the entries I have in my
&lt;code&gt;~/.ssh/config&lt;/code&gt; file, so I don't have to maintain two files and to reuse the
already done config for each host.&lt;/p&gt;
&lt;p&gt;What I've ended up with is the following script (which I've stored in
&lt;code&gt;~/bin&lt;/code&gt; as &lt;code&gt;sshmenu&lt;/code&gt;, which is in my &lt;code&gt;$PATH&lt;/code&gt;):&lt;/p&gt;
&lt;div class=&quot;code&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;span&gt;#!/bin/bash&lt;/span&gt;
 
urxvt -e ssh &lt;span&gt;`&lt;/span&gt;cat ~/.ssh/config | grep ^host | awk &lt;span&gt;'{ print $2 }'&lt;/span&gt; | dmenu&lt;span&gt;`&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;To make it still more usable I've assigned a shortcut to my &lt;code&gt;rc.lua&lt;/code&gt;
&lt;a href=&quot;http://awesome.naquadah.org/&quot;&gt;aweseome&lt;/a&gt;'s config file:&lt;/p&gt;
&lt;div class=&quot;code&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;...
awful.key({ modkey, &lt;span&gt;&amp;quot;Shift&amp;quot;&lt;/span&gt;   }, &lt;span&gt;&amp;quot;s&amp;quot;&lt;/span&gt;, &lt;span&gt;function&lt;/span&gt; () awful.util.spawn(&lt;span&gt;'sshmenu'&lt;/span&gt;) &lt;span&gt;end&lt;/span&gt;),
...
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;</content>
		<author>
			<name>marc0s</name>
			<email>marc0s@fsfe.org</email>
			<uri>http://blog.tenak.net</uri>
		</author>
		<source>
			<title type="html">marc0s.blog</title>
			<link rel="self" href="http://blog.tenak.net/atom.xml"/>
			<id>http://blog.tenak.net/atom.xml</id>
			<updated>2010-09-05T20:00:14+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Descargar libros de google books</title>
		<link href="http://blackhold.nusepas.com/2010/07/descargar-libros-de-google-books/"/>
		<id>http://blackhold.nusepas.com/?p=1665</id>
		<updated>2010-07-23T11:36:32+00:00</updated>
		<content type="html">&lt;p&gt;Pues ahora una cosa que no se tendría que poder hacer, pero quien dice que internet es seguro? si una cosa está en la red es suceptible de hacer que esta termine en tu ordenador ;)&lt;/p&gt;
&lt;p&gt;Ahora va de copiar los libros de google books. Hay un libro que me recomendaron este fin de semana pasado y por supuesto me ha picado la curiosidad por leer un trozito de esta recomendación tan especial.&lt;br /&gt;
Como cabía la posibilidad no existe una versión en pdf, o si existe está muy escondida, así que el único sitio donde he podido encontrar este libro ha sido en google books, pero la pega es que sólo lo puedes leer on-line, y encima le faltan páginas, por supuesto para que se lo compres a amazón o a quien sea. Como el capullo se resiste pues finalmente creo que iré a la tienda mas cutre de la ciudad a ver si lo tienen y así promociono un pequeño comercio, si algo es analógico que lo sea de principio a fin!&lt;/p&gt;
&lt;p&gt;Aprovecho este encuentro con este libro para contar como poder descargartelo, esto te servirá en el caso de que el libro esté completo, si faltan páginas como que es un poco rollo.&lt;br /&gt;
&lt;span id=&quot;more-1665&quot;&gt;&lt;/span&gt;&lt;br /&gt;
Lo primero de todo comunicar que vamos a usar extensiones de firefox, así que será necesario tener instalado el firefox.&lt;/p&gt;
&lt;p&gt;A continuación instalaremos el plugin &amp;#8220;grease monkey&amp;#8221; que permite ejecutar scripts sobre las páginas (mmm esto me suena a XSS :D) &lt;a target=&quot;_blank&quot; href=&quot;https://addons.mozilla.org/en-US/firefox/addon/748/&quot;&gt;de aquí&lt;/a&gt;. Reiniciamos el firefox, vamos a &lt;a target=&quot;_blank&quot; href=&quot;http://userscripts.org/scripts/show/37933&quot;&gt;esta página&lt;/a&gt; web e instalamos &lt;a target=&quot;_blank&quot; href=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/07/googlebooks.js&quot;&gt;este script&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;El script este hace que aparezca al lado de cada página un botón para descargar como imagen la página del libro, a partir de esto es tan simple como usar alguna herramienta que te permite descargar todos los links de la página (como el flashgot) y ya tienes el libro en tu máquina :D&lt;/p&gt;
&lt;p&gt;buena lectura :)&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">visionarios</title>
		<link href="http://blackhold.nusepas.com/2010/07/visionarios/"/>
		<id>http://blackhold.nusepas.com/?p=1663</id>
		<updated>2010-07-23T10:31:26+00:00</updated>
		<content type="html">&lt;p&gt;Un visionario tiene que aprender a estar en el presente, porqué sino corre el riesgo de ser ignorado.&lt;br /&gt;
&lt;em&gt;Elkhonon Goldberg&lt;/em&gt;&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">bitlbee</title>
		<link href="http://blackhold.nusepas.com/2010/07/bitlbee/"/>
		<id>http://blackhold.nusepas.com/?p=1661</id>
		<updated>2010-07-23T06:54:09+00:00</updated>
		<content type="html">&lt;p&gt;¿Cuantas veces te has encontrado dentro de guifi.net y te ha dado palo configurar el proxy para todos tus programas o simplemente te está dando problemas? pues la solución es muy sencilla y si eres un adicto al IRC aún mas!&lt;/p&gt;
&lt;p&gt;Hoy venimos con bitlbee, una especie de server de IRC el cual te permite conectarte a cuentas jabber, msn e incluso twitter (entre otras), su instalación y funcionamiento són realmente sencillos y cubren perfectamente las necesidades comunicativas, esto si, al estar en formato irc nada de iconitos ni mariconaditas de estas. &lt;/p&gt;
&lt;p&gt;Para aquellos que estáis a la última, avisar que está a punto de salir una nueva versión, en la &lt;a target=&quot;_blank&quot; href=&quot;http://www.bitlbee.org/main.php/news.r.html&quot;&gt;página web del proyecto&lt;/a&gt; podrás encontrar más información.&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1661&quot;&gt;&lt;/span&gt;&lt;br /&gt;
Vamos al lio pues. Instalación:&lt;/p&gt;
&lt;p&gt;# apt-get install bitlbee&lt;/p&gt;
&lt;p&gt;wooo! ;) pues con esto lo que estamos haciendo es instalar un servidor de irc en nuestra máquina:&lt;/p&gt;
&lt;p&gt;urbanita:/home/laura# netstat -lanp |grep 6667 |grep &amp;#8216;LISTEN &amp;#8216;&lt;br /&gt;
tcp6       0      0 :::6667                 :::*                    LISTEN      2425/bitlbee   &lt;/p&gt;
&lt;p&gt;A continuación para entrar a bitlbee, cojemos nuestro cliente de irc favorito, en el caso de una servidora el irssi y nos conectamos a esta máquina. &lt;/p&gt;
&lt;p&gt;$ irssi&lt;br /&gt;
[(status)] /server localhost&lt;/p&gt;
&lt;p&gt;como estoy ejecutando el irssi en la misma máquina me conectaré a localhost. Como bitlbee está escuchando a todas las ip, si redirigiésemos por NAT las peticiones al puerto 6667 de nuestro router a nuestra máquina, ya podríamos ofrecer un servidor de bitlbee a todos aquellos que les diésemos nuestra ip. &lt;/p&gt;
&lt;p&gt;Nota: bitlbee tiene algunos servidores públicos, pero la idea es que siempre te conectes a uno, ya que sino tienes que ir dando de alta tus cuentas en cada uno de los servidores (y es un rollo, además de un poco inseguro).&lt;/p&gt;
&lt;p&gt;Pues vale, seguimos ;)&lt;/p&gt;
&lt;p&gt;Una vez dentro veremos que en el status nos sale un chorro de texto:&lt;/p&gt;
&lt;p&gt;08:33 -!- Irssi: Looking up localhost&lt;br /&gt;
08:33 -!- Irssi: Connecting to localhost [127.0.0.1] port 6667&lt;br /&gt;
08:33 -!- Irssi: Connection to localhost established&lt;br /&gt;
08:33 !localhost BitlBee-IRCd initialized, please go on&lt;br /&gt;
08:33 -!- Welcome to the BitlBee gateway, Blackhold&lt;br /&gt;
08:33 -!- Host localhost is running BitlBee 1.2.8-1 Linux/i686.&lt;br /&gt;
08:33 -!- BitlBee &lt;br /&gt;
08:33 -!- localhost 1.2.8-1 abiswRo nt&lt;br /&gt;
08:33 -!- PREFIX=(ov)@+ CHANTYPES=&amp;amp;# CHANMODES=,,,nt NICKLEN=23 NETWORK=BitlBee CASEMAPPING=rfc1459 MAXTARGETS=1 WATCH=128 are supported by this server&lt;br /&gt;
08:33 -!- &amp;#8211; localhost Message Of The Day &amp;#8211;&lt;br /&gt;
08:33 -!- &amp;#8211; Welcome to the BitlBee server at localhost.&lt;br /&gt;
08:33 -!- &amp;#8211;&lt;br /&gt;
08:33 -!- &amp;#8211; This server is running BitlBee version 1.2.8-1.&lt;br /&gt;
08:33 -!- &amp;#8211; The newest version can be found on http://www.bitlbee.org/&lt;br /&gt;
08:33 -!- &amp;#8211;&lt;br /&gt;
08:33 -!- &amp;#8211; You are getting this message because the server administrator has not&lt;br /&gt;
08:33 -!- &amp;#8211; yet had the time (or need) to change it.&lt;br /&gt;
08:33 -!- &amp;#8211;&lt;br /&gt;
08:33 -!- &amp;#8211; For those who don&amp;#8217;t know it yet, this is not quite a regular Internet&lt;br /&gt;
08:33 -!- &amp;#8211; Relay Chat server. Please see the site mentioned above for more&lt;br /&gt;
08:33 -!- &amp;#8211; information.&lt;br /&gt;
08:33 -!- &amp;#8211;&lt;br /&gt;
08:33 -!- &amp;#8211;&lt;br /&gt;
08:33 -!- &amp;#8211; The developers of the Bee hope you have a buzzing time.&lt;br /&gt;
08:33 -!- &amp;#8211;&lt;br /&gt;
08:33 -!- &amp;#8211; * BitlBee development team: wilmer, jelmer, Maurits&lt;br /&gt;
08:33 -!- &amp;#8211;&lt;br /&gt;
08:33 -!- &amp;#8211; &amp;#8230; Buzzing, haha, get it?&lt;br /&gt;
08:33 -!- End of MOTD&lt;br /&gt;
08:33 -!- Mode change [+s] for user Blackhold&lt;br /&gt;
08:33 -!- Mode change [+i] for user Blackhold&lt;/p&gt;
&lt;p&gt;Este texto que aparece es el MOTD y se puede editar en /etc/bitlbee/motd.txt y en /etc/bitlbee.conf tenemos el fichero de configuración que de momento no tocaremos.&lt;/p&gt;
&lt;p&gt;Una vez loggeado en el server, vemos que aparece un canal que se llama &lt;strong&gt;&amp;#038;bitlbee&lt;/strong&gt;, este será el sitio donde veremos todos nuestros contactos e interactuaremos con el server.&lt;/p&gt;
&lt;p&gt;Si es la primera vez que entras en bitlbee, verás que en el canal hay sólo dos usuarios @tu y @root, ambos con la ensaimada.&lt;/p&gt;
&lt;p&gt;Así que si efectivamente es la primera vez, primero de todo tendremos que registrarnos en este servidor de bitlbee. Comentar antes de seguir escribiendo que bitlbee lleva un manual muy chulo que en apenas unos minutos podrás ser el rey de tu red personal :D basta con escribir el comando help y el resto ya te lo imaginas ;)&lt;/p&gt;
&lt;p&gt;Para aquellos que esto del inglés no lo lleváis muy bien, o simplemente que os da palo leer el manual aquí vamos a contar un poco por encima como usar bitlbee.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Registro:&lt;/strong&gt;&lt;br /&gt;
&lt;em&gt;Teniendo tu nick, en mi caso Blackhold&lt;/em&gt;&lt;br /&gt;
[&amp;#038;bitlbee] register &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Añadir cuentas:&lt;/strong&gt;&lt;br /&gt;
[&amp;#038;bitlbee] account add msn cuenta@mail password&lt;br /&gt;
[&amp;#038;bitlbee] account add jabber cuenta@jabber.org password&lt;br /&gt;
[&amp;#038;bitlbee] account add jabber cuenta@gmail.com password&lt;br /&gt;
[&amp;#038;bitlbee] accound add twitter cuenta_o_mail password&lt;/p&gt;
&lt;p&gt;otros protocolos que se soportan OSCAR, yahoo y AIM. Es posible que en futuras versiones se soporten mas protocolos&amp;#8230;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Conectar todas las cuentas añadidas&lt;/strong&gt;&lt;br /&gt;
[&amp;#038;bitlbee] identify &lt;/p&gt;
&lt;p&gt;Con esto verás que empezará a entrar toda de gente rara al canal &amp;#038;bitlbee, toda esta gente rara son los contactos de tus cuentas. En el caso que haya un nombre repetido (algun contacto que está en mas de una red), aparecerá elnombre_. Si no nos gusta como lo gestiona bitlbee siempre somos libres de cambiarle el nombre al usuario :)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Cambiar el nombre a los usuarios&lt;/strong&gt;&lt;br /&gt;
rename manganito_ manganito_jabber&lt;/p&gt;
&lt;p&gt;otros comandos interesantes:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Añadir un usuario&lt;/strong&gt;&lt;br /&gt;
Primero de todo si tienes varias cuentas es identificar en qué cuenta quieres añadir el contacto, para ello tienes el comando account list&lt;/p&gt;
&lt;p&gt;08:48 @Blackhold&gt; account list&lt;br /&gt;
08:48 @root&gt;  0. msn, blackhold@&amp;#8212;- (connected)&lt;br /&gt;
08:48 @root&gt;  1. jabber, blackhold@&amp;#8212;- (connected)&lt;br /&gt;
08:48 @root&gt;  2. jabber, &amp;#8212;&amp;#8211;@gmail.com (connected)&lt;br /&gt;
08:48 @root&gt; End of account list&lt;/p&gt;
&lt;p&gt;a continuación, si quiero añadir un usuario al jabber (el que no es gmail), voy a hacer lo siguiente:&lt;/p&gt;
&lt;p&gt;[&amp;#038;bitlbee] add 1 manganito@jabber.org nombre_a_mostrar&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;eliminar un usuario&lt;/strong&gt;&lt;br /&gt;
Para eliminarlo es tan simple como&lt;/p&gt;
&lt;p&gt;[&amp;#038;bitlbee] remove nombre_del_usuario&lt;/p&gt;
&lt;p&gt;y bueno, no cuento nada mas que ya está lo suficiente masticadito hasta aquí ;) si queréis mas help commands, help, help quickstart&amp;#8230;&lt;/p&gt;
&lt;p&gt;Que tengan un buen día :D&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">n!</title>
		<link href="http://blackhold.nusepas.com/2010/07/n/"/>
		<id>http://blackhold.nusepas.com/?p=1659</id>
		<updated>2010-07-22T13:15:48+00:00</updated>
		<content type="html">&lt;p&gt;Los factoriales fueron el intento de alguien de hacer que las matemáticas parecieran más emocionantes.&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">My first post in Oak</title>
		<link href="http://blog.tenak.net/2010/07/2010-07-first_oak_post.html"/>
		<id>tag:blog.tenak.net,2010-07-21:/2010/07/2010-07-first_oak_post.html</id>
		<updated>2010-07-21T23:57:00+00:00</updated>
		<content type="html">&lt;div&gt;&lt;p&gt;Hi there!&lt;/p&gt;
&lt;p&gt;This is my first post in Oak. If you're seeing this is because I already moved my
blog from worpress to Oak. In the next days I'll try to migrate my 
&lt;a href=&quot;http://oldblog.tenak.net/&quot;&gt;old posts&lt;/a&gt; to here.&lt;/p&gt;
&lt;p&gt;For more information, you can visit &lt;a href=&quot;http://github.com/marc0s/oak&quot;&gt;the oak github repository&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Stay tunned!&lt;/p&gt;
&lt;p&gt;:)&lt;/p&gt;&lt;/div&gt;</content>
		<author>
			<name>marc0s</name>
			<email>marc0s@fsfe.org</email>
			<uri>http://blog.tenak.net</uri>
		</author>
		<source>
			<title type="html">marc0s.blog</title>
			<link rel="self" href="http://blog.tenak.net/atom.xml"/>
			<id>http://blog.tenak.net/atom.xml</id>
			<updated>2010-09-05T20:00:14+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">La Rimaia: Un desalojo otra okupación</title>
		<link href="http://blackhold.nusepas.com/2010/07/la-rimaia-un-desalojo-otra-okupacion/"/>
		<id>http://blackhold.nusepas.com/?p=1652</id>
		<updated>2010-07-14T22:23:13+00:00</updated>
		<content type="html">&lt;p&gt;El miércoles 14 de Julio a las 8 de la mañana se desalojó la Rimaia II, de nuevo sin previo aviso (se estaba a la espera de una fecha) han venido los mossos de nuevo por sorpresa y han desalojado por segunda vez La Rimaia, siendo la primera vez en Febrero, entonces ni siquiera con un juicio.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/nusepas/sets/72157624495963292/&quot; target=&quot;_blank&quot;&gt;&lt;img class=&quot;alignnone&quot; src=&quot;http://farm5.static.flickr.com/4097/4794216975_721e7ee40d_m.jpg&quot; alt=&quot;Mossos davant La Universitat Lliure La Rimaia&quot; width=&quot;240&quot; height=&quot;160&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;En la Rimaia II se estaban siguiendo las actividades de ofrecer una forma alternativa de formación mediante la compartición de la misma, permitiendo que esta fuese mucho mas horizontal además de al mismo tiempo salir de lo que se enseña siempre en las esculas y universidades, una formación más práctica y al mismo tiempo que te enseña a buscar tu mismo la información que necesitas gracias a la aparición de las nuevas tecnologías además de la posibilidad de varios puntos de vista en lo que se está enseñando.&lt;/p&gt;
&lt;p&gt;Además en la Rimaia II se estaba luchando en contra de la construcción de otro hotel en el Barrio de Sant Antoni, como consecuencia los vecinos apoyaban una vez mas al proyecto de la Rimaia, convirtiéndose aún más estrecha la relación entre el barrio y el centro social.&lt;/p&gt;
&lt;p&gt;Ahora según las notícias que van llegando por la red, la Rimaia se desplaza a otro edificio en Gran Vía 454. Si esta no es víctima de un desalojo exprés, una nueva etapa de la Rimaia sigue! El edificio ha sido okupado durante la concentración en contra del desalojo de La Rimaia II.&lt;/p&gt;
&lt;p&gt;¡Adelante La Rimaia III!&lt;/p&gt;
&lt;p&gt;Queremos espacios liberados para realizar nuestras actividades sociales y culturales sin tener que estar pendientes de políticos que se cuelguen medallas con nuestras actividades, sin horarios, sin nadie que nos diga qué tenemos qué hacer ni cuál tiene que ser nuestro ideario político ni social, queremos seguir investigando, queremos una alternativa sostenible, o empiezan las negociaciones o la situación seguirá igual. Nosaltres o Ells.&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">el terrible secreto del tetris</title>
		<link href="http://blackhold.nusepas.com/2010/07/el-terrible-secreto-del-tetris-2/"/>
		<id>http://blackhold.nusepas.com/?p=1647</id>
		<updated>2010-07-14T22:08:16+00:00</updated>
		<content type="html">&lt;p&gt;&lt;a href=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/07/tetris.jpg&quot;&gt;&lt;img class=&quot;size-full wp-image-1650 aligncenter&quot; title=&quot;tetris&quot; src=&quot;http://blackhold.nusepas.com/wp-content/uploads/2010/07/tetris.jpg&quot; alt=&quot;&quot; width=&quot;400&quot; height=&quot;367&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">Spotify para GNU/Linux</title>
		<link href="http://blackhold.nusepas.com/2010/07/spotify-para-gnulinux/"/>
		<id>http://blackhold.nusepas.com/?p=1643</id>
		<updated>2010-07-12T12:47:19+00:00</updated>
		<content type="html">&lt;p&gt;Pues por fin los que usamos gnu/linux y reusamos a usar windows o alguna cosa semejante para hacer funcionar este programa, podremos usarlo sin ningún tipo de problema.&lt;/p&gt;
&lt;p&gt;A partir de hoy ya está disponible spotify para plataformas gnu/linux, pero solo para los usuarios premium, ya que no han encontrado una forma segura para endiñarnos la publicidad.&lt;/p&gt;
&lt;p&gt;Aprovecho para comentar que escuchar música con copyright de &amp;#8220;gratix&amp;#8221; hace tanto daño como piratear software, ya que daña tanto a la indústria musical como a los autores que deciden licenciar sus obras bajo licencias copyleft o creative commons*.&lt;/p&gt;
&lt;p&gt;atención con la cc by sa &lt;strong&gt;nc&lt;/strong&gt;, esta licencia es restrictiva.&lt;/p&gt;
&lt;p&gt;vía: &lt;a href=&quot;http://listasspotify.es/blog/spotify-para-linux?utm_source=feedburner&amp;utm_medium=twitter&amp;utm_campaign=Feed%3A+ListasSpotify+%28Listas+Spotify%29&quot; target=&quot;_blank&quot;&gt;spotify&lt;/a&gt;&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">ddate</title>
		<link href="http://blackhold.nusepas.com/2010/07/ddate/"/>
		<id>http://blackhold.nusepas.com/?p=1640</id>
		<updated>2010-07-12T08:17:06+00:00</updated>
		<content type="html">&lt;p&gt;$ ddate&lt;br /&gt;
$ man ddate&lt;/p&gt;
&lt;p&gt;:D&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">etherpad</title>
		<link href="http://blackhold.nusepas.com/2010/07/etherpad/"/>
		<id>http://blackhold.nusepas.com/?p=1635</id>
		<updated>2010-07-06T11:58:58+00:00</updated>
		<content type="html">&lt;p&gt;fijo que algunos conocéis gobby, un sistema de edición colaborativo cliente-servidor.&lt;/p&gt;
&lt;p&gt;Hace unos días me pasaron un link a una especie de &lt;a href=&quot;http://gobby.0x539.de/trac/&quot; target=&quot;_blank&quot;&gt;gobby&lt;/a&gt; pero via web, simplemente me encantó, este gobby via web se llama &lt;a href=&quot;http://etherpad.com/&quot; target=&quot;_blank&quot;&gt;etherpad&lt;/a&gt;. Si queréis probarlo podéis ir a &lt;a href=&quot;http://piratepad.net/&quot; target=&quot;_blank&quot;&gt;piratepad.net&lt;/a&gt; y ver su potencia :)&lt;/p&gt;
&lt;p&gt;Como en esto del software libre esto del culo veo culo quiero es posible, me puse a pelearme con la instalación, pero al ser una herramienta basada en java, su configuración era una ardua tarea. Pero tras media semana rascando por fin he conseguido ponerlo en marcha :D&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1635&quot;&gt;&lt;/span&gt;&lt;br /&gt;
Para realizar la instalación necesitaremos instalar algunos programas:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;# apt-get install mercurial scala libmysql-java openjdk-6-jre openjdk-6-jdk&lt;br /&gt;
# cd /usr/share/java &amp;#038;&amp;#038; mkdir lib &amp;#038;&amp;#038; cd lib &amp;#038;&amp;#038; ln -s ../scala-library.jar .&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;ahora escojemos un directorio de instalación, en mi caso /var y descargamos los sources&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;# hg clone https://etherpad.googlecode.com/hg/ etherpad&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;luego definiremos algunas variables de entorno&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;# cd /root&lt;br /&gt;
# vi .bashrc&lt;br /&gt;
APP_DIR=&amp;#8221;/var/etherpad&amp;#8221;&lt;br /&gt;
export JAVA_HOME=&amp;#8221;/usr/lib/jvm/java-6-openjdk/&amp;#8221;&lt;br /&gt;
export SCALA_HOME=&amp;#8221;/usr/share/java&amp;#8221;&lt;br /&gt;
export SCALA_LIBRARY_JAR=&amp;#8221;/usr/share/java/scala-library.jar&amp;#8221;&lt;br /&gt;
export MYSQL_CONNECTOR_JAR=&amp;#8221;/usr/share/java/mysql-connector-java.jar&amp;#8221;&lt;br /&gt;
export JAVA=&amp;#8221;/usr/lib/jvm/java-6-openjdk/bin/java&amp;#8221;&lt;br /&gt;
export SCALA=&amp;#8221;/usr/bin/scala&amp;#8221;&lt;br /&gt;
export PATH=&amp;#8221;/usr/lib/jvm/java-6-openjdk/bin:$PATH&amp;#8221;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;a href=&quot;http://lincolnloop.com/blog/2009/dec/18/running-your-own-self-hosted-etherpad-instance/&quot; target=&quot;_blank&quot;&gt;Los manuales&lt;/a&gt; que hay por ahí cuentan como hacerlo con el java privativo de sun, pero aquí somos mas chulos que nadie y usamos la versión liberada de java, la openjdk (que posiblemente ya venga instalada en nuestro sistema, si no es así lo instalamos, el paquete se llama openjdk-6-jre).&lt;/p&gt;
&lt;p&gt;etherpad requiere una base de datos para funcionar, así que entramos en mysql (que si no está instalado lo instalamos, mysql-server) y creamos la base de datos y un usuario:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;# mysql -uroot -p&lt;br /&gt;
mysql&amp;gt; CREATE DATABASE etherpad;&lt;br /&gt;
CREATE USER &amp;#8216;etherpad&amp;#8217;@'localhost&amp;#8217; IDENTIFIED BY &amp;#8216;password&amp;#8217;;&lt;br /&gt;
GRANT ALL PRIVILEGES ON etherpad.* TO &amp;#8216;etherpad&amp;#8217;@'localhost&amp;#8217; WITH GRANT OPTION;&lt;br /&gt;
mysql&amp;gt; flush privileges;&lt;br /&gt;
mysql&amp;gt; exit;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Ahora compilaremos el programa:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;# cd /var/etherpad/trunk/etherpad&lt;br /&gt;
# ./bin/rebuildjar.sh&lt;br /&gt;
# ./bin/run-local.sh&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Y ahora ya tenemos el etherpad funcionando:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;# netstat -lanp |grep &amp;#8217;9000&amp;#8242;&lt;br /&gt;
tcp6       0      0 :::9000                 :::*                    LISTEN      4807/java&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Como ahora mismo estoy haciendo la instalación en remoto y no tengo acceso al router y no puedo hacer el nat del puerto 9000 a este puerto de esta máquina, voy a hacer un tunnel ssh y conectarme localmente a mi máquina como si estuviese en la máquina remota&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;maquina externa$ ssh -L 9000:192.168.1.5:9000 usuario@x.x.x.x&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;y en nuestro navegador escribimos &lt;em&gt;http://localhost:9000 &lt;/em&gt;y ya tenemos a nuestro etherpad en marcha con software libre :D&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;explicación del tunnel:&lt;/strong&gt;&lt;br /&gt;
ssh -L: tunnel ssh&lt;br /&gt;
el primer 9000: en qué puerto queremos montar el túnnel, es decir, cuando escribimos localhost:9000 estaremos accediendo a este túnnel&lt;br /&gt;
192.168.1.5:9000 la ip local de la máquina a la que nos estamos conectando y el puerto que queremos pasar por el tunnel&lt;br /&gt;
usuario@x.x.x.x la connexión ssh de toda la vida&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

	<entry xml:lang="en">
		<title type="html">cuentas premium gratis en rapidshare</title>
		<link href="http://blackhold.nusepas.com/2010/07/cuentas-premium-gratis-en-rapidshare/"/>
		<id>http://blackhold.nusepas.com/?p=1632</id>
		<updated>2010-07-03T13:27:26+00:00</updated>
		<content type="html">&lt;p&gt;Estos días es posible crear una cuenta premium en rapidshare, by the face ;D&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.rapidshare.com/&quot; target=&quot;_blank&quot;&gt;http://www.rapidshare.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;no pone durante cuanto tiempo, pero me imagino que será para un año.&lt;/p&gt;</content>
		<author>
			<name>Blackhold</name>
			<uri>http://blackhold.nusepas.com</uri>
		</author>
		<source>
			<title type="html">Blackhold</title>
			<subtitle type="html">Blackhold</subtitle>
			<link rel="self" href="http://blackhold.nusepas.com/feed/"/>
			<id>http://blackhold.nusepas.com/feed/</id>
			<updated>2010-09-06T08:00:20+00:00</updated>
		</source>
	</entry>

</feed>
