<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>Daemon Lover</title>
	<atom:link href="http://people.linuxreal.org/espartano/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://people.linuxreal.org/espartano/blog</link>
	<description>Unix-BSD-Linux</description>
	<pubDate>Mon, 05 Jul 2010 06:19:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Curiocidades Matemáticas</title>
		<link>http://people.linuxreal.org/espartano/blog/2010/07/05/curiocidades-matematicas/</link>
		<comments>http://people.linuxreal.org/espartano/blog/2010/07/05/curiocidades-matematicas/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 06:12:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Funny]]></category>

		<category><![CDATA[History]]></category>

		<category><![CDATA[Matematichs]]></category>

		<category><![CDATA[science]]></category>

		<guid isPermaLink="false">http://people.linuxreal.org/espartano/blog/?p=523</guid>
		<description><![CDATA[Hablando hace unos días con mi novia sobre calculo integral, de si se enseña correctamente las matemáticas en las escuelas, si los estudiantes entienden bien los fundamentos de que es una integral, etc, etc, o si simplemente se aprende X numero de formulas, se aplican a determinados problemas y se pasa la materia, nos pusimos [...]]]></description>
			<content:encoded><![CDATA[<p>Hablando hace unos días con mi novia sobre <a title="Calculo integral" href="http://es.wikipedia.org/wiki/C%C3%A1lculo_integral" target="_self">calculo integral</a>, de si se enseña correctamente las matemáticas en las escuelas, si los estudiantes entienden bien los fundamentos de que es una <a title="Integral" href="http://es.wikipedia.org/wiki/Integral" target="_self">integral</a>, etc, etc, o si simplemente se aprende X numero de formulas, se aplican a determinados problemas y se pasa la materia, nos pusimos a discutir la teoría básica de qué es y qué representa una integral, le comenté que personalmente pienso y creo que la enseñanza del  calculo diferencial e integral en los institutos educativos debería comenzar explicando como los antiguos matemáticos calculaban el área de figuras irregulares (curvas) mediante el calculo de la suma de áreas de figuras conocidas contenidas dentro de ellas, como <a title="Issac Newtown" href="http://es.wikipedia.org/wiki/Isaac_Newton" target="_self">Newton </a>y <a title="Gottfried Leibniz" href="http://es.wikipedia.org/wiki/Gottfried_Leibniz" target="_self">leibniz</a> edificaron los principios de lo que hoy conocemos como <a title="Calculo integral" href="http://es.wikipedia.org/wiki/C%C3%A1lculo_integral" target="_self">Calculo integral y diferencial</a>, como deducir la formula que representa determinada figura, ya sea regular o irregular serian según yo temas básicos para poder comprender y aplicar el calculo integral de una forma correcta no simplemente porque es un requisito para acreditar un curso, estuvimos hablando de cosas muy básicas hasta que llegamos al cuestionamiento que me llevó a escribir este post, y es que le pregunté porqué la formula:</p>
<p style="text-align: center;"><img class=" aligncenter" title="Area" src="http://upload.wikimedia.org/math/7/1/0/71026dcaaa8cce64ca8ac684a04144be.png" alt="Pi*(r*r)" width="83" height="18" /></p>
<p>Representa el Área de un circulo, vimos muchas respuestas, entre ellas que al integrar la formula que representa la mitad de una circunferencia se obtiene la formula del área del circulo dividida por 2 (lo cual tiene sentido), esta explicación me gustó mucho pero tiene el inconveniente de que los antiguos griegos conocían la formula del Área del circulo y esto fue mucho antes que que <a title="Issac Newtown" href="http://es.wikipedia.org/wiki/Isaac_Newton" target="_self">Newton </a>y <a title="Gottfried Leibniz" href="http://es.wikipedia.org/wiki/Gottfried_Leibniz" target="_self">leibniz</a> tocaran el planeta, estábamos en busca de una explicación mas &#8220;mecánica&#8221; por decirlo de alguna forma, y fue cuando encontramos el siguiente video, que lo disfruten:<br />
<object width="500" height="500" data="http://video.google.com/googleplayer.swf?docid=-6200593424291031420&amp;hl=es&amp;fs=true" type="application/x-shockwave-flash"><param name="id" value="VideoPlayback" /><param name="src" value="http://video.google.com/googleplayer.swf?docid=-6200593424291031420&amp;hl=es&amp;fs=true" /><param name="allowfullscreen" value="true" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://people.linuxreal.org/espartano/blog/2010/07/05/curiocidades-matematicas/feed/</wfw:commentRss>
		</item>
		<item>
		<title>¿ldconfig en solaris? No, es crle</title>
		<link>http://people.linuxreal.org/espartano/blog/2009/09/18/%c2%bfldconfig-en-solaris-no-es-crle/</link>
		<comments>http://people.linuxreal.org/espartano/blog/2009/09/18/%c2%bfldconfig-en-solaris-no-es-crle/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 14:58:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Solaris]]></category>

		<category><![CDATA[Unix]]></category>

		<category><![CDATA[crle]]></category>

		<category><![CDATA[ldconfig]]></category>

		<guid isPermaLink="false">http://people.linuxreal.org/espartano/blog/?p=493</guid>
		<description><![CDATA[Pues así es, lo que generalmente hacíamos con ldconfig en *BSD/Linux con el comando ldconfig lo tenemos que hacer en Solaris con el comando crle porque ldconfig no existe como comando en Solaris, el archivo de configuracion que utiliza crle si que es el /var/ld/ld.config para librerías de 32 bits y /var/ld/64/ld.config, para agregar un [...]]]></description>
			<content:encoded><![CDATA[<p>Pues así es, lo que generalmente hacíamos con ldconfig en *BSD/Linux con el comando ldconfig lo tenemos que hacer en Solaris con el comando crle porque ldconfig no existe como comando en Solaris, el archivo de configuracion que utiliza crle si que es el /var/ld/ld.config para librerías de 32 bits y /var/ld/64/ld.config, para agregar un directorio donde están las librerías dinámicas hacemos:</p>
<p>crle -u -l PATH_DE_LIBRERIA</p>
<p>tener cuidado con esto, si no ponemos -u (update) se borra el archivo de configuración y se crea uno nuevo, si se borran las rutas por defecto del archivo de configuracion algunos (MUCHOS) binarios no podrán encontrar las librerías dinámicas que utilicen u dejaran de funcionar -_-</p>
]]></content:encoded>
			<wfw:commentRss>http://people.linuxreal.org/espartano/blog/2009/09/18/%c2%bfldconfig-en-solaris-no-es-crle/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OpenBSD Release Song 4.6 &#8220;Planet of the Users&#8221;</title>
		<link>http://people.linuxreal.org/espartano/blog/2009/09/16/openbsd-release-song-46-planet-of-the-users/</link>
		<comments>http://people.linuxreal.org/espartano/blog/2009/09/16/openbsd-release-song-46-planet-of-the-users/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 20:00:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[*BSD]]></category>

		<category><![CDATA[Funny]]></category>

		<category><![CDATA[OpenBSD]]></category>

		<category><![CDATA[Operating Systems]]></category>

		<category><![CDATA[Unix]]></category>

		<category><![CDATA[Cancion de OpenBSD]]></category>

		<category><![CDATA[OpenBSD Release Song]]></category>

		<category><![CDATA[OpenBSD Song]]></category>

		<category><![CDATA[Planet of the Users]]></category>

		<guid isPermaLink="false">http://people.linuxreal.org/espartano/blog/?p=480</guid>
		<description><![CDATA[
Welcome to the future
One very rich man
runs the Earth with
one multinational
owns your stuff
and owns your birth
Everyone is armless
Personal robots
Do it all for you
Sitting on your slug head
One channel TV
never gonna bore you
CHORUS
Does it sound like a paradise
or a way to die
while alive and a loser
I&#8217;m a man from the open past
And I&#8217;ll never last
on the [...]]]></description>
			<content:encoded><![CDATA[<p><center></p>
<p style="text-align: center;">Welcome to the future<br />
One very rich man<br />
runs the Earth with<br />
one multinational<br />
owns your stuff<br />
and owns your birth</p>
<p>Everyone is armless<br />
Personal robots<br />
Do it all for you<br />
Sitting on your slug head<br />
One channel TV<br />
never gonna bore you</p>
<p>CHORUS<br />
Does it sound like a paradise<br />
or a way to die<br />
while alive and a loser<br />
I&#8217;m a man from the open past<br />
And I&#8217;ll never last<br />
on the Planet of the Users</p>
<p>Everyone is happy<br />
No more government<br />
No more media<br />
Only the Company<br />
Entertains you<br />
while it feeds you</p>
<p>Soylent Green pap<br />
Eating your friends while<br />
shopping, buying<br />
Stupid applications<br />
Obsolete before you try them</p>
<p>CHORUS</p>
<p>Take me back<br />
Take me back<br />
Please<br />
Take me back</p>
<p>Way back in my time<br />
Open source kept<br />
everyone choosing<br />
People knew the insides<br />
Of devices they were using</p>
<p>Hackers had a doorway<br />
Now it&#8217;s locked and<br />
dumbed down so much<br />
One button coma<br />
Stop the future truly outta touch</p>
<p>CHORUS</p>
<div id="attachment_481" class="wp-caption aligncenter" style="width: 405px"><img class="size-full wp-image-481" title="Release song 4.6" src="http://people.linuxreal.org/espartano/blog/wp-content/uploads/2009/09/46song.jpg" alt="OpenBSD song" width="395" height="1778" /><p class="wp-caption-text">OpenBSD song</p></div>
<p><strong><a title="Planet of the Users" href="http://www.openbsd.org/songs/song46.mp3" target="_self">I want to listen this great song.</a></strong><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://people.linuxreal.org/espartano/blog/2009/09/16/openbsd-release-song-46-planet-of-the-users/feed/</wfw:commentRss>
<enclosure url="http://www.openbsd.org/songs/song46.mp3" length="5075695" type="audio/mpeg" />
		</item>
		<item>
		<title>George&#8217;s Secret Key to the Universe by Lucy and Stephen Hawking</title>
		<link>http://people.linuxreal.org/espartano/blog/2009/09/05/georges-secret-key-to-the-universe-by-lucy-and-stephen-hawking/</link>
		<comments>http://people.linuxreal.org/espartano/blog/2009/09/05/georges-secret-key-to-the-universe-by-lucy-and-stephen-hawking/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 23:20:31 +0000</pubDate>
		<dc:creator>Espartano</dc:creator>
		
		<category><![CDATA[Books]]></category>

		<category><![CDATA[Funny]]></category>

		<category><![CDATA[My boring life]]></category>

		<category><![CDATA[My life]]></category>

		<category><![CDATA[Phisic]]></category>

		<category><![CDATA[Universe]]></category>

		<category><![CDATA[science]]></category>

		<category><![CDATA[agujeros negros]]></category>

		<category><![CDATA[books for children]]></category>

		<category><![CDATA[ciencia]]></category>

		<category><![CDATA[ciencia facil]]></category>

		<category><![CDATA[ciencia infantil]]></category>

		<category><![CDATA[ciencia para mortales]]></category>

		<category><![CDATA[ciencia para niños]]></category>

		<category><![CDATA[divulgacion cientifica]]></category>

		<category><![CDATA[el universo]]></category>

		<category><![CDATA[fisica]]></category>

		<category><![CDATA[George's Cosmic Treasure Hunt]]></category>

		<category><![CDATA[hawling]]></category>

		<category><![CDATA[libros de ciencia]]></category>

		<category><![CDATA[libros para niños]]></category>

		<category><![CDATA[lucy hawling]]></category>

		<category><![CDATA[stephen hawking]]></category>

		<guid isPermaLink="false">http://people.linuxreal.org/espartano/blog/?p=457</guid>
		<description><![CDATA[Hace unos días que viajé desde la ciudad de México a mi ciudad natal compre una revista de &#8220;divulgación científica&#8221; (la divulgación científica ya no es lo que solía ser hace 13-14 años), la revista traía entre otras cosas una entrevista al físico teórico Stephen Hawking junto con su hija lucy Hawking, el tema era [...]]]></description>
			<content:encoded><![CDATA[<p>Hace unos días que viajé desde la ciudad de México a mi ciudad natal compre una revista de &#8220;divulgación científica&#8221; (la divulgación científica ya no es lo que solía ser hace 13-14 años), la revista traía entre otras cosas una entrevista al físico teórico Stephen Hawking junto con su hija lucy Hawking, el tema era la relación laboral que existe entre ellos dos, y es que fue así como me enteré de que Stephen Hawking escribió en colaboración con su hija una historieta cómica sobre aventuras atravez del espacio desde una perspectiva de la física.</p>
<p>A continuación algunos fragmentos de la entrevista que me parecieron muy interesantes/divertidos:</p>
<p><strong>Lucy, cuentanos acerga de Goerge y la caza del tesoro cosmico:</strong></p>
<p><em>Es una obra sobre aventuras y fisica. El pequeño héroe Goerge parte a un viaje por el sistema solar y mas alla. Sigue una serie de pistas en pos de un tesoro cosmico con ayuda de Cosmos, la super computadora del vecino, que constituye una puerta al Universo. La pregunta esencial del libro es &#8220;¿hay alguien ahi?&#8221;, uno de los tres grandes temas que mi padre quiere tratar en las hobras infantiles que elaboremos conjuntamente. &#8220;¿que ocurre dentro de un agujero negro?&#8221; es el tema del anterior, y &#8220;¿Que ocurrió en el big bang?&#8221; el del próximo.</em></p>
<p><strong>El libro incluye una descripción muy graciosa de una fiesta de &#8220;vístete de tu objeto espacial favorito&#8221;. ¿Ustedes la inventaron?</strong></p>
<p><em>No, no del todo! Tomé la idea de una fiesta de nochevieja que celebró mi padre hace algunos años, tengo una foto estupenda de él vestido de alienigena, con un traje de fieltro verde. Pidió que le programaran una voz especial en su dispositivo de voz y se paseo por la fiesta diciendo: &#8220;Llevenme ante su líder&#8221;. Además tal y como contamos en el libro, hubo un científico que iba de rojo y se ponía junto a la gente, y se apartaba antes de pedirles que averiguaran lo que era. Se había vestido del desplazamiento hacia el rojo, el efecto por el cual la radiación electromagnética de los objetos lejanos se desplaza hacia el extremo rojo del espectro como resultado del movimiento que los aparta de la tierra.</em></p>
<p><strong>¿En su casa hablaban de agujeros negros durante la cena?</strong></p>
<p><em>Sí, mucho. Yo me crié en Cambridge y en casa siempre había físicos que venían a cenar y a hablar de su trabajo. En la fiesta de cumpleaños de mi padre de este año, un físico intentaba construir un agujero negro con un globo y unas medias.</em></p>
<p><strong>Parece como si esa colaboración hubiese cambiado su relación.</strong></p>
<p><em>Si, nunca se me ocurrió que trabajaríamos juntos. Muchas veces hiba a su casa y le leía fragmentos del texto durante la cena. Un dia mientras le leia los primeros capitulos del libro, le dio un ataque de risa que dos personas tuvieron que levantarlo porque se cayó de la silla, creo que jamás le habia visto reírse así. Ha sido una delicia trabajar con él por su claridad de pensamiento y su capacidad de expresar las cosas con sencilles. Por supuesto, el escribirlo todo con ayuda de su comunicador especial le ha resultado una tarea bastante costosa.</em></p>
<div id="attachment_467" class="wp-caption alignnone" style="width: 463px"><img class="size-full wp-image-467" title="lucy_and_stephen_hawking" src="http://people.linuxreal.org/espartano/blog/wp-content/uploads/2009/09/lucy_stephen_hawking.jpg" alt="Lucy and Stephen Hawking" width="453" height="650" /><p class="wp-caption-text">Lucy and Stephen Hawking</p></div>
<p>La verdad que despues de leer toda la entrevista no puedo dejar de imaginar que tan Interesante/divertido seria poder convivir con cientificos de este calibre, en fin para los que quieran saber mas sobre esta obra de Stephen Hawking pueden consultar la siguiente direccion de internet:</p>
<p><a title="http://www.georgessecretkey.com/" href="http://www.georgessecretkey.com/" target="_self">http://www.georgessecretkey.com/</a></p>
<p>Para los que esten interesados en comprar el libro aquí estan los datos del mismo:</p>
<p><strong>Titulo Original:</strong>George&#8217;s Cosmic Treasure Hunt.<br />
<strong>EAN:</strong> 9780385611909<br />
<strong>Format:</strong> Hardback<br />
<strong>Published:</strong> 2 Apr 2009</p>
<p>Para los que quieran leer la entrevista completa la pueden encontrar en la revista Quo N°114 Agosto del 2009.</p>
<p>Creo que este libro es de esos que no podré dejar pasar &#8230;&#8230;. <img src='http://people.linuxreal.org/espartano/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<div id="attachment_469" class="wp-caption aligncenter" style="width: 463px"><a href="http://www.rbooks.co.uk/product.aspx?id=0385611900"><img class="size-full wp-image-469" title="georges_cosmic_treasure_hunt" src="http://people.linuxreal.org/espartano/blog/wp-content/uploads/2009/09/georges_cosmic_treasure_hunt.jpg" alt="George's cosmic treasure hunt" width="453" height="648" /></a><p class="wp-caption-text">George&#39;s cosmic treasure hunt</p></div>
<p><strong>PD:</strong> El efecto del desplazamiento hacia el rojo del que se  habla en la entrevista se llama efecto dopler,  si, el mismo efecto dopler del sonido tambien afecta a la luz, pues la luz es una onda, cuando los objetos se alejan a velocidades muy grandes la amplitud de las ondas se agranda como si fuera un resorte que se estira, las ondas de luz de amplitud grande se ven de color rojo, las ondas con amplitudes pequeñas se ven de color azul y es asi como en la astronomia se sabe si un objeto se acerca o se aleja.</p>
]]></content:encoded>
			<wfw:commentRss>http://people.linuxreal.org/espartano/blog/2009/09/05/georges-secret-key-to-the-universe-by-lucy-and-stephen-hawking/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Riding the micro wave signal (wpa_supplicant)</title>
		<link>http://people.linuxreal.org/espartano/blog/2009/08/27/riding-the-micro-wave-signal-wpa_supplicant/</link>
		<comments>http://people.linuxreal.org/espartano/blog/2009/08/27/riding-the-micro-wave-signal-wpa_supplicant/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 01:51:32 +0000</pubDate>
		<dc:creator>Espartano</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<category><![CDATA[Manuales]]></category>

		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Operating Systems]]></category>

		<category><![CDATA[Unix]]></category>

		<category><![CDATA[Wireless]]></category>

		<category><![CDATA[AP]]></category>

		<category><![CDATA[ath]]></category>

		<category><![CDATA[ath0]]></category>

		<category><![CDATA[atheros]]></category>

		<category><![CDATA[dhclient]]></category>

		<category><![CDATA[dhcp]]></category>

		<category><![CDATA[ifconfig]]></category>

		<category><![CDATA[Network]]></category>

		<category><![CDATA[wep]]></category>

		<category><![CDATA[wpa]]></category>

		<category><![CDATA[wpa_supplicant]]></category>

		<guid isPermaLink="false">http://people.linuxreal.org/espartano/blog/?p=426</guid>
		<description><![CDATA[¿En alguna ocasión han necesitado unirse a una red wireless desde linea de comandos y pensaron que era algo imposible?
Hace unos días tuve la necesidad de asociar mi dispositivo wireless con una red inalámbrica desde linea de comandos, hace mucho tiempo lo había hecho pero no recordaba exactamente como, el problema aquí fue que la [...]]]></description>
			<content:encoded><![CDATA[<p>¿En alguna ocasión han necesitado unirse a una red wireless desde linea de comandos y pensaron que era algo imposible?</p>
<p>Hace unos días tuve la necesidad de asociar mi dispositivo wireless con una red inalámbrica desde linea de comandos, hace mucho tiempo lo había hecho pero no recordaba exactamente como, el problema aquí fue que la instalación de NanoBSD que tengo en mi maquina Alix no tenia las paginas del manual instaladas, (tengo otra memoria CF de 2G disponible pero no he tenido tiempo de crear la imagen), así es que me instale el FreeBSD en una maquina virtual en la laptop y leyendo y leyendo lo hice de la siguiente forma:</p>
<p>Editamos el archivo /etc/wpa_supplicant.conf</p>
<pre class="screen">NanoBSD# ee /etc/wpa_supplicant.conf</pre>
<p>network={<br />
ssid=&#8221;MyHappyNet&#8221;<br />
scan_ssid=0<br />
mode=0<br />
auth_alg=OPEN<br />
key_mgmt=NONE<br />
wep_tx_keyidx=0<br />
wep_key0=2218972080<br />
}</p>
<p>Donde:</p>
<ol>
<li><strong>ssid</strong> es el nombre de la red</li>
<li><strong>scan_ssid</strong> es la técnica con la que wpa_supplicant escaneara las señales para buscar la red inalámbrica, 0 quiere decir scan mediante broadcast.</li>
<li><strong>mode</strong> con este parámetro indicamos: 0 = modo infraestructura (nos conectaremos a un AP), 1 = adhoc</li>
<li><strong>auth_alg</strong> algoritmo utilizado para el intercambio de claves, usaremos OPEN pero podría ser SHARED</li>
<li><strong> key_mgmt</strong> lo ponemos a NONE para indicar que nos autentificaremos mediante una clave wep</li>
<li><strong>wep_key0</strong> especificamos la clave wep</li>
</ol>
<p>Teniendo todo esto configurado guardamos el archivo y ejecutamos:</p>
<pre class="screen">NanoBSD# wpa_supplicant -i ath0 -d -c /etc/wpa_supplicant.conf
Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf'
driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -&gt;
'/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel' (DEPRECATED)
Priority group 0
id=0 ssid='MyHappyNet'
Initializing interface (2) 'ath0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Own MAC address: 00:0c:6d:da:aa:70
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_set_countermeasures: enabled=0
wpa_driver_bsd_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
ctrl_interface_group=0 (from group name 'wheel')
Added interface ath0
State: DISCONNECTED -&gt; SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a
new scan to speed up initial association
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
.
.
.
.
Automatic auth_alg selection: 0x1
Overriding auth_alg selection: 0x1
wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: clearing own WPA/RSN IE
No keys have been configured - skip key clearing
wpa_driver_bsd_set_key: alg=WEP addr=ff:ff:ff:ff:ff:ff
key_idx=0 set_tx=1 seq_len=0 key_len=5
wpa_driver_bsd_set_drop_unencrypted: enabled=1
State: SCANNING -&gt; ASSOCIATING
wpa_driver_bsd_associate: ssid 'MyHappyNet' wpa ie len 0
pairwise 1 group 1 key mgmt 2
wpa_driver_bsd_associate: set PRIVACY 1
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - portControl=ForceAuthorized
State: ASSOCIATING -&gt; ASSOCIATED
Associated to a new BSS: BSSID=01:13:84:92:44:69
Associated with 01:13:84:92:44:69
WPA: Association event - clear replay counter
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state S_FORCE_AUTH
EAPOL: SUPP_BE entering state IDLE
Cancelling authentication timeout
State: ASSOCIATED -&gt; COMPLETED
CTRL-EVENT-CONNECTED - Connection to 01:13:84:92:44:69
completed (auth) [id=0 id_str=]
Cancelling scan request</pre>
<p>donde:</p>
<ol>
<li><strong>-i</strong> especifica la interfaz de red a usar.</li>
<li><strong>-d</strong> Ejecuta wpa_supplicant en modo debug para que podamos ver los mensajes.</li>
<li><strong>-c</strong> Especifica el archivo de conflagración que tendrá que utilizar wpa_supplicant.</li>
</ol>
<p>Si todo sale bien veremos el mensjae <strong>State: ASSOCIATED -&gt; COMPLETED</strong> en la salida del comando wpa_supplicant que ejecutamos,  y  ya podremos obtener una ip del dhcpd que ejecuta el AP ejecutando el siguiente comando:</p>
<pre class="screen">NanoBSD# dhclient ath0
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 192.168.1.254
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.254
bound to 192.168.1.74 -- renewal in 43200 seconds.

myipod# ping www.google.com
PING www.l.google.com (74.125.65.103): 56 data bytes
64 bytes from 74.125.65.103: icmp_seq=0 ttl=53 time=78.176 ms
64 bytes from 74.125.65.103: icmp_seq=1 ttl=53 time=76.772 ms
64 bytes from 74.125.65.103: icmp_seq=2 ttl=53 time=70.170 ms
64 bytes from 74.125.65.103: icmp_seq=3 ttl=53 time=77.684 ms
^C
--- www.l.google.com ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 70.170/75.701/78.176/3.233 ms
NanoBSD#</pre>
<p>para que todo esto funcione a momento de reiniciar lo agregamos al archivo /etc/rc.conf de la siguiente forma:</p>
<p>ifconfig_ath0=&#8221;WPA DHCP&#8221;</p>
<p>Reiniciamos los dispositivos de red para ver que todo este correcto:</p>
<pre class="screen">NanoBSD# /etc/rc.d/netif restart
Stopping network:Stopping wpa_supplicant.
lo0 vr0 vr1 vr2 ath0 enc0 pfsync0 pflog0.
Starting wpa_supplicant.
ath0: no link ........ got link
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.254
bound to 192.168.1.64 -- renewal in 43200 seconds.
<div>NanoBSD#</div>
</pre>
<p>En este momento tenemos todo listo y nuestra tarjeta de red wireless asociada al AP <img src='http://people.linuxreal.org/espartano/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://people.linuxreal.org/espartano/blog/2009/08/27/riding-the-micro-wave-signal-wpa_supplicant/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I will to put you into jail bad boy (ezjail)</title>
		<link>http://people.linuxreal.org/espartano/blog/2009/07/30/i-will-to-put-you-into-jail-bad-boy-ezjail/</link>
		<comments>http://people.linuxreal.org/espartano/blog/2009/07/30/i-will-to-put-you-into-jail-bad-boy-ezjail/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 04:44:22 +0000</pubDate>
		<dc:creator>Espartano</dc:creator>
		
		<category><![CDATA[*BSD]]></category>

		<category><![CDATA[FreeBSD]]></category>

		<category><![CDATA[Manuales]]></category>

		<category><![CDATA[ezjail]]></category>

		<category><![CDATA[freebsd jail]]></category>

		<category><![CDATA[jail]]></category>

		<category><![CDATA[jailaudit]]></category>

		<category><![CDATA[portaudit]]></category>

		<category><![CDATA[ports]]></category>

		<category><![CDATA[servidores]]></category>

		<category><![CDATA[servidores virtuales]]></category>

		<category><![CDATA[virtual server]]></category>

		<guid isPermaLink="false">http://people.linuxreal.org/espartano/blog/?p=389</guid>
		<description><![CDATA[Ultimamente que tengo bastante tiempo libre (espero que eso cambie pronto) me di a la tarea de escribir un manual sobre ezjail, pensaba poner el manual en este espacio pues mi principal objetivo era convertirlo en un sitio mayormente técnico, pero debido a que el manual quedo algo extenso y además de que ya lo [...]]]></description>
			<content:encoded><![CDATA[<p>Ultimamente que tengo bastante tiempo libre (espero que eso cambie pronto) me di a la tarea de escribir un manual sobre ezjail, pensaba poner el manual en este espacio pues mi principal objetivo era convertirlo en un sitio mayormente técnico, pero debido a que el manual quedo algo extenso y además de que ya lo había publicado en otros dos sitios considero que está por demás volver a editarlo aquí, así es que si quieren ver el manual pueden dirigirse a uno de estos dos enlaces:</p>
<pre class="screen">root# links <a title="Sysadmin.org" href="http://sysadmin.org.mx/servidores-virtuales-con-ezjail.html" target="_self">http://sysadmin.org.mx</a></pre>
<p>o</p>
<pre class="screen">root# links <a title="BSD-Peru" href="http://www.bsd-peru.org/doku.php?id=doc:freebsd:seguridad003" target="_self">http://www.bsd-peru.org</a></pre>
<p>Que lo disfruten <img src='http://people.linuxreal.org/espartano/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-423" title="freebsd_jail_t_shirt_by_spica2041" src="http://people.linuxreal.org/espartano/blog/wp-content/uploads/2009/07/freebsd_jail_t_shirt_by_spica2041.jpg" alt="freebsd_jail_t_shirt_by_spica2041" width="434" height="526" /></p>
]]></content:encoded>
			<wfw:commentRss>http://people.linuxreal.org/espartano/blog/2009/07/30/i-will-to-put-you-into-jail-bad-boy-ezjail/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AC/DC + Tecnology Weapons</title>
		<link>http://people.linuxreal.org/espartano/blog/2009/07/29/acdc-tecnology-weapons/</link>
		<comments>http://people.linuxreal.org/espartano/blog/2009/07/29/acdc-tecnology-weapons/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 22:13:04 +0000</pubDate>
		<dc:creator>Espartano</dc:creator>
		
		<category><![CDATA[My boring life]]></category>

		<category><![CDATA[My life]]></category>

		<guid isPermaLink="false">http://people.linuxreal.org/espartano/blog/?p=384</guid>
		<description><![CDATA[Buscando una cancion de AC/DC en youtube (Thunderstruk) me encontre con este vidéo y me di cuenta de algo que me dejó pensando sobre mi mismo, que si bien soy una persona totalmente pacifista no puedo negar que tengo una facinación enorme por las armas altamente tecnologicas, eso incluye aviones casa, tanques de guerra y [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Buscando una cancion de AC/DC en youtube (Thunderstruk) me encontre con este vidéo y me di cuenta de algo que me dejó pensando sobre mi mismo, que si bien soy una persona totalmente pacifista no puedo negar que tengo una facinación enorme por las armas altamente tecnologicas, eso incluye aviones casa, tanques de guerra y submarinos de ultima generación, porque pese a quien le pese el ejercito es de las entidad que más tecnología desarrolla e implementa, aquí el video en cuestion:</p>
<p style="text-align: center;"><object width="425" height="344" data="http://www.youtube.com/v/LB1mQU4bknw&amp;hl=es&amp;fs=1&amp;" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/LB1mQU4bknw&amp;hl=es&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://people.linuxreal.org/espartano/blog/2009/07/29/acdc-tecnology-weapons/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Don&#8217;t Be shy, let me know your choices, getopt();</title>
		<link>http://people.linuxreal.org/espartano/blog/2009/07/19/dont-be-shy-let-me-know-your-choices-getopt/</link>
		<comments>http://people.linuxreal.org/espartano/blog/2009/07/19/dont-be-shy-let-me-know-your-choices-getopt/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 02:28:48 +0000</pubDate>
		<dc:creator>Espartano</dc:creator>
		
		<category><![CDATA[C]]></category>

		<category><![CDATA[Programs]]></category>

		<category><![CDATA[Unix]]></category>

		<category><![CDATA[GCC]]></category>

		<category><![CDATA[getopt]]></category>

		<category><![CDATA[program]]></category>

		<category><![CDATA[programacion]]></category>

		<category><![CDATA[unistd]]></category>

		<category><![CDATA[unistd.h]]></category>

		<guid isPermaLink="false">http://people.linuxreal.org/espartano/blog/?p=311</guid>
		<description><![CDATA[Cuando se escriben programas para línea de comandos (programas de consola) es muy común tener que implementar una forma de parametrizar dicho programa al inicio, esto se logra pasando argumentos en la linea de comandos (Unix) al momento de ejecutar nuestro programa, en un principio solía escribir todo el código necesario para reconocer todos y [...]]]></description>
			<content:encoded><![CDATA[<p>Cuando se escriben programas para línea de comandos (programas de consola) es muy común tener que implementar una forma de parametrizar dicho programa al inicio, esto se logra pasando argumentos en la linea de comandos (Unix) al momento de ejecutar nuestro programa, en un principio solía escribir todo el código necesario para reconocer todos y cada uno de los argumentos, esto implicaba tener que recorrer un String analizando si existía en determinado String cada uno de los flags permitidos por el programa y analizar si el valor de dicho flag era valido para ese mismo flag, si bien esa tarea no es difícil si que es tediosa (al menos para mi que no me gustan las tareas repetitivas).  Afortunadamente si estamos escribiendo nuestro programa en lenguaje C contamos con la función <em>getopt()</em> de la librería  &lt;unistd.h&gt; que nos simplificará muchísimo la tarea.</p>
<p>La funcion <em>getopt();</em> tiene la siguiente sintaxis:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">int</span>  getopt<span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span> argc<span style="color: #339933;">,</span> <span style="color: #993333;">char</span> <span style="color: #339933;">*</span> <span style="color: #993333;">const</span> argv<span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #993333;">const</span> <span style="color: #993333;">char</span> <span style="color: #339933;">*</span>optstring<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Donde <em>argc</em> es un entero que representa el número de argumentos pasados al metodo main, <em>*argv[]</em> es el array de Strings pasados al metodo main,  y <em>*optstring</em> es un String que representa la configuración de que flags espera procesar la fución <em>getopt()</em> y si dichos flags deben tener un valor asociado o no.</p>
<p>La funcion <em>getopt()</em> regresa un entero que representa la opción actualmente procesada o -1 en caso de haber terminado de analizar todo el array de Strings determinado por el parametro <em>*argv[]</em>,  cada vez que la función es llamada se incrementa un indice interno que apunta a los diferentes elementos del array de Strings determinado por el argumento <em>*argv[]</em>.</p>
<p>Ademas de lo anterior, la funcion <em>getopt();</em> establece las siguientes variables externas:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">extern</span> <span style="color: #993333;">char</span> <span style="color: #339933;">*</span>optarg<span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">extern</span> <span style="color: #993333;">int</span> optind<span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">extern</span> <span style="color: #993333;">int</span> optopt<span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">extern</span> <span style="color: #993333;">int</span> opterr<span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">extern</span> <span style="color: #993333;">int</span> optreset<span style="color: #339933;">;</span></pre></div></div>

<ol>
<li><em>*optarg</em>: Contiene el valor asociado a determinado flag si se ha espesificado que dicho flag admite valores, es decir, si se analiza el siguiente flag <em>-f archivo.txt</em>, <em>*optarg</em> contendra el valor <em>archivo.txt</em></li>
<li><em>optind</em>: Contiene el indice del siguiente flag que se analizará en la siguiente llamada a la funcion <em>getopt();</em></li>
<li><em>optopt</em>: Contiene el flag que actualmente esta siendo procesado.</li>
<li><em>opterr</em>: Si la función <em>getopt();</em> encuentra un caracter que no esta espesificado en la cadena <em>*optstring</em> o detecta que falta el valor de un flag que debe tener un valor asociado escribira un mensaje de error en el flujo de salida <em>stderr</em> y retornara un valor<em> &#8216;?&#8217;</em>, para desactivar el mensaje de error en el flujo <em>stderr</em> tenemos que establecer el valor de <em>opterr</em> a 0 (cero).</li>
<li><em>optreset</em>: Es utilizada si queremos evaluar multiples grupos de argumentos o un grupo simple multiples veces.</li>
</ol>
<p>Para indicar a la función <em>getopt();</em> que flags debe reconocer y si esos flags tienen valores asociados debemos pasar un valor en forma de cadena al argumento <em>*optstring</em>, el valor de dicha cadena deben ser caracteres individuales representando a cado uno de los flags, un caracter independiente seguido de dos puntos indica que ese flag debe tener un valor asociado, de tal forma que:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #ff0000;">&quot;abc&quot;</span></pre></div></div>

<p>reconocerá los flags de la forma <em>-a -b -c</em></p>
<p>y la cadena</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #ff0000;">&quot;ab:c&quot;</span></pre></div></div>

<p>reconocerá los flags de la forma <em>-a -b valor -c</em></p>
<p>ejemplo:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
</pre></td><td class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#include &lt;stdio.h&gt;</span>
<span style="color: #339933;">#include &lt;stdlib.h&gt;</span>
<span style="color: #339933;">#include &lt;string.h&gt;</span>
<span style="color: #339933;">#include &lt;stdbool.h&gt;</span>
<span style="color: #339933;">#include &lt;unistd.h&gt;</span>
&nbsp;
<span style="color: #993333;">void</span> usage<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #993333;">int</span> main <span style="color: #009900;">&#40;</span> <span style="color: #993333;">int</span> argc<span style="color: #339933;">,</span> <span style="color: #993333;">char</span> <span style="color: #339933;">*</span>argv<span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #993333;">char</span> <span style="color: #339933;">*</span>host<span style="color: #339933;">;</span>
  <span style="color: #993333;">int</span>  flagx<span style="color: #339933;">;</span>
  <span style="color: #993333;">int</span>  ch<span style="color: #339933;">;</span>
&nbsp;
  host  <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">NULL</span><span style="color: #339933;">;</span>
  flagx <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">false</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#40;</span> ch<span style="color: #339933;">=</span>getopt<span style="color: #009900;">&#40;</span> argc<span style="color: #339933;">,</span> argv<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;xh:&quot;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">1</span> <span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
     <span style="color: #b1b100;">switch</span><span style="color: #009900;">&#40;</span> ch <span style="color: #009900;">&#41;</span>
     <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">case</span> <span style="color: #ff0000;">'x'</span><span style="color: #339933;">:</span>
               flagx <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">true</span><span style="color: #339933;">;</span>
               <span style="color: #000000; font-weight: bold;">break</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">case</span> <span style="color: #ff0000;">'h'</span><span style="color: #339933;">:</span>
               host <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #993333;">char</span> <span style="color: #339933;">*</span><span style="color: #009900;">&#41;</span>malloc<span style="color: #009900;">&#40;</span> strlen<span style="color: #009900;">&#40;</span> optarg<span style="color: #339933;">+</span><span style="color: #0000dd;">1</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
               bzero<span style="color: #009900;">&#40;</span> host<span style="color: #339933;">,</span> strlen<span style="color: #009900;">&#40;</span> optarg<span style="color: #339933;">+</span><span style="color: #0000dd;">1</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
               strcpy<span style="color: #009900;">&#40;</span> host<span style="color: #339933;">,</span> optarg <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
               <span style="color: #000000; font-weight: bold;">break</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">case</span> <span style="color: #ff0000;">'?'</span><span style="color: #339933;">:</span>
               usage<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
               <span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
               <span style="color: #000000; font-weight: bold;">break</span><span style="color: #339933;">;</span>
     <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span> <span style="color: #ff0000;">&quot;-x = %d<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> flagx <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span> <span style="color: #ff0000;">&quot;-h = %s<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> host <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  free<span style="color: #009900;">&#40;</span> host <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">return</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #993333;">void</span> usage<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span> <span style="color: #ff0000;">&quot;forma de uso:<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span>-x<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span>-h [nombre host|ip host]<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>aquí el resultado:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>espartano<span style="color: #000000; font-weight: bold;">@</span>moscu ~<span style="color: #000000; font-weight: bold;">/</span>programas<span style="color: #000000; font-weight: bold;">/</span>C<span style="color: #000000; font-weight: bold;">/</span>pruebas<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ .<span style="color: #000000; font-weight: bold;">/</span>getoptexamble
<span style="color: #660033;">-x</span> = <span style="color: #000000;">0</span>
<span style="color: #660033;">-h</span> = <span style="color: #7a0874; font-weight: bold;">&#40;</span>null<span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>espartano<span style="color: #000000; font-weight: bold;">@</span>moscu ~<span style="color: #000000; font-weight: bold;">/</span>programas<span style="color: #000000; font-weight: bold;">/</span>C<span style="color: #000000; font-weight: bold;">/</span>pruebas<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ .<span style="color: #000000; font-weight: bold;">/</span>getoptexamble <span style="color: #660033;">-x</span>
<span style="color: #660033;">-x</span> = <span style="color: #000000;">1</span>
<span style="color: #660033;">-h</span> = <span style="color: #7a0874; font-weight: bold;">&#40;</span>null<span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>espartano<span style="color: #000000; font-weight: bold;">@</span>moscu ~<span style="color: #000000; font-weight: bold;">/</span>programas<span style="color: #000000; font-weight: bold;">/</span>C<span style="color: #000000; font-weight: bold;">/</span>pruebas<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ .<span style="color: #000000; font-weight: bold;">/</span>getoptexamble <span style="color: #660033;">-x</span> <span style="color: #660033;">-h</span> example.org
<span style="color: #660033;">-x</span> = <span style="color: #000000;">1</span>
<span style="color: #660033;">-h</span> = example.org
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>espartano<span style="color: #000000; font-weight: bold;">@</span>moscu ~<span style="color: #000000; font-weight: bold;">/</span>programas<span style="color: #000000; font-weight: bold;">/</span>C<span style="color: #000000; font-weight: bold;">/</span>pruebas<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ .<span style="color: #000000; font-weight: bold;">/</span>getoptexamble <span style="color: #660033;">-h</span> example.org <span style="color: #660033;">-x</span>
<span style="color: #660033;">-x</span> = <span style="color: #000000;">1</span>
<span style="color: #660033;">-h</span> = example.org
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>espartano<span style="color: #000000; font-weight: bold;">@</span>moscu ~<span style="color: #000000; font-weight: bold;">/</span>programas<span style="color: #000000; font-weight: bold;">/</span>C<span style="color: #000000; font-weight: bold;">/</span>pruebas<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ .<span style="color: #000000; font-weight: bold;">/</span>getoptexamble <span style="color: #660033;">-x</span> <span style="color: #660033;">-h</span> example.org <span style="color: #660033;">-d</span>
getoptexamble: illegal option <span style="color: #660033;">--</span> d
forma de uso:
        <span style="color: #660033;">-x</span>
        <span style="color: #660033;">-h</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>nombre host<span style="color: #000000; font-weight: bold;">|</span>ip host<span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>espartano<span style="color: #000000; font-weight: bold;">@</span>moscu ~<span style="color: #000000; font-weight: bold;">/</span>programas<span style="color: #000000; font-weight: bold;">/</span>C<span style="color: #000000; font-weight: bold;">/</span>pruebas<span style="color: #7a0874; font-weight: bold;">&#93;</span>$</pre></div></div>

<p>Para mas informacion pueden leer la pagina del manual de la función  getopt(), man 3 getopt.</p>
]]></content:encoded>
			<wfw:commentRss>http://people.linuxreal.org/espartano/blog/2009/07/19/dont-be-shy-let-me-know-your-choices-getopt/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My relatives love me so much -_-</title>
		<link>http://people.linuxreal.org/espartano/blog/2009/07/01/my-relatives-love-me-so-much-_/</link>
		<comments>http://people.linuxreal.org/espartano/blog/2009/07/01/my-relatives-love-me-so-much-_/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 04:00:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<category><![CDATA[Funny]]></category>

		<category><![CDATA[My boring life]]></category>

		<category><![CDATA[My life]]></category>

		<category><![CDATA[embedded systems]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[Relatives]]></category>

		<guid isPermaLink="false">http://people.linuxreal.org/espartano/blog/?p=301</guid>
		<description><![CDATA[Daemon Lover !!!: :-O jack que haces ?
Roberto&#8230;: haciendo pruebas de mi sistemita..:D
Daemon Lover !!!: Con FreeBSD ?
Daemon Lover !!!: solamente tu te diviertes jack xP
Roberto&#8230;: jajajajaj.. con freebsd.. java.. y circuitos embebidos..:D.. para k te de envidia..:P
Roberto&#8230;: tengo un problema&#8230; le mando un mensaje a un dispositivo y me contestan todos&#8230;:S
Daemon Lover !!!: :@
Daemon [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Daemon Lover !!!:</strong> :-O jack que haces ?</p>
<p><strong>Roberto&#8230;:</strong> haciendo pruebas de mi sistemita..:D</p>
<p><strong>Daemon Lover !!!:</strong> Con FreeBSD ?</p>
<p><strong>Daemon Lover !!!:</strong> solamente tu te diviertes jack xP</p>
<p><strong>Roberto&#8230;:</strong> jajajajaj.. con freebsd.. java.. y circuitos embebidos..:D.. para k te de envidia..:P</p>
<p><strong>Roberto&#8230;:</strong> tengo un problema&#8230; le mando un mensaje a un dispositivo y me contestan todos&#8230;:S</p>
<p><strong>Daemon Lover !!!:</strong> :@</p>
<p><strong>Daemon Lover !!!:</strong> lero lero, me da un chingo de gusto</p>
<p><strong>Daemon Lover !!!:</strong> xD</p>
<p><strong>Roberto&#8230;:</strong> ya lo valide con numero de dispositivo.. ya lo cheque con el servidor&#8230; k solo lo envie a ese dispositivo.. y no jala..: :p</p>
<p><strong>Roberto&#8230;:</strong> jajajjajaja:P</p>
<p><strong>Roberto&#8230;:</strong> te da envidia..:P</p>
]]></content:encoded>
			<wfw:commentRss>http://people.linuxreal.org/espartano/blog/2009/07/01/my-relatives-love-me-so-much-_/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My favorite movies</title>
		<link>http://people.linuxreal.org/espartano/blog/2009/06/08/my-favorite-movies/</link>
		<comments>http://people.linuxreal.org/espartano/blog/2009/06/08/my-favorite-movies/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 05:43:15 +0000</pubDate>
		<dc:creator>Espartano</dc:creator>
		
		<category><![CDATA[Documentals]]></category>

		<category><![CDATA[Funny]]></category>

		<category><![CDATA[History]]></category>

		<category><![CDATA[Movies]]></category>

		<category><![CDATA[Movies/films]]></category>

		<category><![CDATA[Operating Systems]]></category>

		<category><![CDATA[Programs]]></category>

		<category><![CDATA[science]]></category>

		<category><![CDATA[Antitrust]]></category>

		<category><![CDATA[Codigo Linux]]></category>

		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Discovery Channel]]></category>

		<category><![CDATA[Films]]></category>

		<category><![CDATA[Hackers]]></category>

		<category><![CDATA[Pirates of Sillicon Valley]]></category>

		<category><![CDATA[RevolutionOS]]></category>

		<category><![CDATA[Sneakers]]></category>

		<category><![CDATA[The Code]]></category>

		<category><![CDATA[The Matrix]]></category>

		<category><![CDATA[Tron]]></category>

		<category><![CDATA[WarGames]]></category>

		<guid isPermaLink="false">http://espartano.people.linuxreal.org/blog/?p=210</guid>
		<description><![CDATA[The last week a friend asked me if I could suggest him some movies because he was boring, At that time I didn&#8217;t know what to answer him but I suddenly thought &#8220;He is an engineer sistem, He could enjoy some of my favorites movies about computers&#8221;, well here is my list of my favorites [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">The last week a friend asked me if I could suggest him some movies because he was boring, At that time I didn&#8217;t know what to answer him but I suddenly thought &#8220;He is an engineer sistem, He could enjoy some of my favorites movies about computers&#8221;, well here is my list of my favorites movies about computers, if you can get it I sure that you will enjoy it <img src='http://people.linuxreal.org/espartano/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;"><strong>Tron</strong></p>
<p style="text-align: center;"><strong><a href="http://en.wikipedia.org/wiki/Tron_(film)"><img class="size-full wp-image-215 alignnone" title="tron" src="http://espartano.people.linuxreal.org/blog/wp-content/uploads/2009/06/tron.jpg" alt="tron" width="467" height="616" /></a></strong></p>
<p style="text-align: left;">Tron is a cience fiction Disney&#8217;s movie from 1982 about a programer&#8217;s story that was &#8220;eaten&#8221; by a computer, The programer wake up into his machine immersed in his own video games in a fantastic world then he try to hack the main frame from his company to get evidence about an injustice.</p>
<p style="text-align: center;">
<p style="text-align: center;"><strong>WarGames</strong></p>
<p style="text-align: center;"><a href="http://en.wikipedia.org/wiki/WarGames"><img class="aligncenter size-full wp-image-235" title="wargames" src="http://espartano.people.linuxreal.org/blog/wp-content/uploads/2009/06/wargames2.jpg" alt="wargames" width="322" height="475" /></a></p>
<p style="text-align: left;">WarGames is a film from 1987 about a kid who obtain access to a pentagon&#8217;s computer (The kid doesn&#8217;t know where the computer is), that computer controls all nuclear weapons of USA but the kid believe that is only a video game, when the kid dicovers that he start to find out who had programed the computer to save the world.</p>
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;"><strong>pirates of silicon valley</strong></p>
<p style="text-align: center;"><a href="http://en.wikipedia.org/wiki/Pirates_of_Silicon_Valley"><strong><img class="aligncenter size-full wp-image-222" title="pirates_of_sillicon_valley" src="http://espartano.people.linuxreal.org/blog/wp-content/uploads/2009/06/pirates_of_sillicon_valley.jpg" alt="pirates_of_sillicon_valley" width="350" height="500" /></strong></a></p>
<p style="text-align: left;">Pirates of Sillicon Valley is a movie from 1999 based in a true history about how Bill Gates (Microsft) and Steve jobs (Apple) made revolutionary changes in the software and hardware industry, sometimes using lies to get his objetives.</p>
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;"><strong>Takedown</strong></p>
<p style="text-align: center;"><strong><a href="http://www.takedown.com/"><img class="aligncenter size-full wp-image-230" title="takedown" src="http://espartano.people.linuxreal.org/blog/wp-content/uploads/2009/06/takedown1.jpg" alt="takedown" width="334" height="475" /></a></strong></p>
<p style="text-align: left;">Takedown is the history (based in real facts) about the pursuit and capture of <a href="http://en.wikipedia.org/wiki/Kevin_Mitnick" target="_blank">Kevin Mitnick</a> who hacked a lot of companys getting its industrial secrets (according to the film), that was an incredible history of the ages when the internet started to be comercial net.</p>
<p style="text-align: center;">
<p style="text-align: center;"><strong>Antitrust</strong></p>
<p style="text-align: center;"><strong><a href="http://en.wikipedia.org/wiki/Antitrust_(film)"><img class="aligncenter size-full wp-image-240" title="antitrust" src="http://espartano.people.linuxreal.org/blog/wp-content/uploads/2009/06/antitrust.jpg" alt="antitrust" width="509" height="755" /></a></strong></p>
<p style="text-align: left;">Antitrus is a film about a young idealist and smart programmer called Milo Hoffman who make incredible softwares, he works in free way with his friends over a software that a big company wants and it will do anything to obtain the software.</p>
<p style="text-align: center;">
<p style="text-align: center;"><strong>The Matrix</strong></p>
<p style="text-align: center;"><a title="The Matrix" href="http://whatisthematrix.warnerbros.com/" target="_blank"><strong><img class="aligncenter size-full wp-image-245" title="the_matrix" src="http://espartano.people.linuxreal.org/blog/wp-content/uploads/2009/06/the_matrix.jpg" alt="the_matrix" width="427" height="590" /></strong></a></p>
<p style="text-align: left;">I think that I don&#8217;t need to said anything about this film <img src='http://people.linuxreal.org/espartano/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p style="text-align: center;">
<p style="text-align: center;"><strong>Sneakers</strong></p>
<p style="text-align: left;"><a title="Sneakers" href="http://en.wikipedia.org/wiki/Sneakers_(film)" target="_blank"><strong><img class="aligncenter size-full wp-image-251" title="sneakers" src="http://espartano.people.linuxreal.org/blog/wp-content/uploads/2009/06/sneakers.jpg" alt="sneakers" width="497" height="755" /></strong></a>Really I can&#8217;t said anything about this film, it is a suggest from a <a href="http://www.toomany.net/">friend </a>to me but unfortunately I couldn&#8217;t get the film yet here in Mexico <img src='http://people.linuxreal.org/espartano/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> .</p>
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: left;">Haven&#8217;t you had enough? Ok these are some of my favorite films/documentals about computers:</p>
<p style="text-align: center;">
<p style="text-align: center;"><strong>The Code (codigo linux)</strong></p>
<p style="text-align: center;"><object width="425" height="344" data="http://www.youtube.com/v/1RtWkywPJ5I&amp;hl=es&amp;fs=1&amp;" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/1RtWkywPJ5I&amp;hl=es&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /></object></p>
<p style="text-align: center;"><a title="Part 2" href="http://www.youtube.com/watch?v=_F5FiP9yCEc&amp;feature=related" target="_blank">Part 2.</a></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=4iN-Q3c9_Zg&amp;feature=related" target="_blank">Part 3.</a></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=NVMg3AMF8lc&amp;feature=related" target="_blank">Part 4.</a></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=ACqOXd4rqpg&amp;feature=related" target="_blank">Part 5.</a></p>
<p style="text-align: center;">
<p style="text-align: center;"><strong>RevolutionOS</strong></p>
<p style="text-align: center;"><object width="425" height="344" data="http://www.youtube.com/v/LQ3WBI7cPSY&amp;hl=es&amp;fs=1&amp;" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/LQ3WBI7cPSY&amp;hl=es&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /></object></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=3dDn-4DjG7g" target="_blank">Part 2.</a></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=lEAWvupIeJQ" target="_blank">Part 3.</a></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=1Epgr2H9lsk" target="_blank">Part 4.</a></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=-nPxXIRA-38" target="_blank">Part 5.</a></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=OwxoZiQn0yA" target="_blank">Part 6.</a></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=4v6xQZ4Xvk0" target="_blank">Part 7.</a></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=MNbZF3geWpo" target="_blank">Part 8.</a></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=8NrwBh1_12w" target="_blank">Part 9.</a></p>
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;"><strong>Piratas Informaticos</strong></p>
<p style="text-align: left;">That is my favorite documental because it takes the history of Steve Wosniak, Captain Cruch, Kevin Mitnick and more&#8230;</p>
<p style="text-align: center;"><object width="425" height="344" data="http://www.youtube.com/v/EryheNOCCto&amp;hl=es&amp;fs=1&amp;" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/EryheNOCCto&amp;hl=es&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /></object></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=d_S4CTWtRdk" target="_blank">Part 2.</a></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=IAd7ChcWRHA" target="_blank">Part 3.</a></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=2PLFIu4DNKk" target="_blank">Part 4.</a></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=v91W0QBUeEk" target="_blank">Part 5.</a></p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=eEAid82OC2w" target="_blank">Part 6.</a></p>
<p style="text-align: left;">
<p style="text-align: left;">There is another interesting documental but at this time I can&#8217;t remember the name of it but you be sure that when I remember it I will post it <img src='http://people.linuxreal.org/espartano/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , I hope that if you are a computer lover you will enjoy all that films/documentals like me.</p>
]]></content:encoded>
			<wfw:commentRss>http://people.linuxreal.org/espartano/blog/2009/06/08/my-favorite-movies/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
