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

<channel>
	<title>Solusan</title>
	<atom:link href="https://www.solusan.com/feed" rel="self" type="application/rss+xml" />
	<link>https://www.solusan.com</link>
	<description>..:: Solusan - Otro blog más ::..</description>
	<lastBuildDate>Fri, 22 Nov 2019 15:25:15 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.3</generator>
	<item>
		<title>Cuando Yeelight habla demasiado</title>
		<link>https://www.solusan.com/cuando-yeelight-habla-demasiado.html</link>
					<comments>https://www.solusan.com/cuando-yeelight-habla-demasiado.html#respond</comments>
		
		<dc:creator><![CDATA[Solusan]]></dc:creator>
		<pubDate>Thu, 25 Jan 2018 05:42:17 +0000</pubDate>
				<category><![CDATA[IoT]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">http://www.solusan.com/?p=1500</guid>

					<description><![CDATA[El plugin para Homebridge de la marca Yeelight del ecosistema de Mi Home&#160;es casi perfecto. Sencillo de instalar y funcional al máximo pero siempre esta en modo "debugging", &#160;y en la consola no paran de lanzarse mensajes de la red hablando entre los dispositivos que tienes logando cosas como estas en el estado de Homebridge: [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="wp-image-1506 alignright" src="http://www.solusan.com/wp-content/2018/01/unnamed.png" alt="" width="144" height="144" srcset="https://www.solusan.com/wp-content/2018/01/unnamed.png 300w, https://www.solusan.com/wp-content/2018/01/unnamed-150x150.png 150w, https://www.solusan.com/wp-content/2018/01/unnamed-50x50.png 50w, https://www.solusan.com/wp-content/2018/01/unnamed-100x100.png 100w" sizes="(max-width: 144px) 100vw, 144px" /><br />
El plugin para Homebridge de la marca <a href="https://www.yeelight.com" target="_blank" rel="noopener noreferrer">Yeelight</a> del ecosistema de <a href="https://xiaomi-mi.com/mi-smart-home/" target="_blank" rel="noopener noreferrer">Mi Home&nbsp;</a>es casi perfecto. Sencillo de instalar y funcional al máximo pero siempre esta en modo "debugging", &nbsp;y en la consola no paran de lanzarse mensajes de la red hablando entre los dispositivos que tienes logando cosas como estas en el estado de Homebridge:</p>
<p><code>2018-1-24 06:59:07 &gt; send hb to: 0x0000000004521af0<br />
2018-1-24 06:59:07 &gt; {"id":-1,"method":"get_prop","params":["power"]}<br />
2018-1-24 06:59:17 &gt; send hb to: 0x0000000004521af0<br />
2018-1-24 06:59:17 &gt; {"id":-1,"method":"get_prop","params":["power"]}<br />
2018-1-24 06:59:27 &gt; send hb to: 0x0000000004521af0<br />
2018-1-24 06:59:27 &gt; {"id":-1,"method":"get_prop","params":["power"]}<br />
2018-1-24 06:59:37 &gt; send hb to: 0x0000000004521af0<br />
2018-1-24 06:59:37 &gt; {"id":-1,"method":"get_prop","params":["power"]}<br />
2018-1-24 06:59:47 &gt; send hb to: 0x0000000004521af0<br />
2018-1-24 06:59:47 &gt; {"id":-1,"method":"get_prop","params":["power"]}<br />
2018-1-24 06:59:57 &gt; send hb to: 0x0000000004521af0<br />
2018-1-24 06:59:57 &gt; {"id":-1,"method":"get_prop","params":["power"]}<br />
2018-1-24 07:00:00 &gt; {"id":1,"method":"set_power","params":["on","smooth",500]}<br />
2018-1-24 07:00:00 &gt; {"id":1,"method":"set_hsv","params":[30,68,"smooth",500]}<br />
2018-1-24 07:00:00 &gt; {"id":1,"method":"set_hsv","params":[255,68,"smooth",500]}<br />
2018-1-24 07:00:00 &gt; {"id":1,"method":"set_bright","params":[26,"smooth",500]}</code></p>
<p>La instalación y configuración del plugin es sencilla:</p>
<p><code>% sudo npm install -g homebridge-yeelight</code></p>
<p>La confiruración del archivo config.json</p>
<p><code>{<br />
"platform": "yeelight",<br />
"name": "Yeelight",<br />
"verboseLogging": false,<br />
"transitions": {<br />
"power": 500,<br />
"brightness": 500,<br />
"color": 500<br />
}</code></p>
<p>A pesar de haberle dicho que no diga muchas cosas en la configuración, no para de "hablar", esa configuración es ideal si estás buscando algún comportamiento en especial, pero si no, definitivamente está molestando.</p>
<p>Para paliar esto debes comentar un par de líneas del archivo "yee.js".</p>
<p>Lo buscamos en nuestro sistema:</p>
<p><code>% find . -name "yee.js" -print</code></p>
<p>Y <em>comentamos</em> las líneas:</p>
<p><code>&nbsp; &nbsp; &nbsp;//console.log("send hb to: " + that.did);</code><br />
y<br />
<code>&nbsp; &nbsp; &nbsp;//console.log(msg);</code></p>
<p>Link al fork <a href="https://github.com/sendorm/homebridge_yeelight/commit/6c4a94e1e9b83fb6b16cc0e342609c461e1a0220" target="_blank" rel="noopener noreferrer">aquí</a>.</p>
<p>Listos <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.solusan.com/cuando-yeelight-habla-demasiado.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Cuando dns-sd no está disponible en tu sistema.</title>
		<link>https://www.solusan.com/cuando-dns-sd-no-esta-disponible-en-tu-sistema.html</link>
					<comments>https://www.solusan.com/cuando-dns-sd-no-esta-disponible-en-tu-sistema.html#respond</comments>
		
		<dc:creator><![CDATA[Solusan]]></dc:creator>
		<pubDate>Sat, 20 Jan 2018 17:38:42 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<guid isPermaLink="false">http://www.solusan.com/?p=1490</guid>

					<description><![CDATA[Hace muy poco tiempo necesité resolver el nombre y la IP de un servicio de un dispositivo relacionado con el IoT. Se trata de Nature Remo. Un dispositivo capaz de mimetizar cualquier control remoto que trabaje por tecnología de infrarrojos. En este caso utilicé la instrucción dns-sd. Éste programa no es libre y es el [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignright wp-image-1495 size-medium" src="http://www.solusan.com/wp-content/2018/01/maxresdefault-300x169.jpg" alt="" width="300" height="169"/><br />
Hace muy poco tiempo necesité resolver el nombre y la IP de un servicio de un dispositivo relacionado con el <a href="http://www.solusan.com/homebridge-en-macosx-y-nature-remo.html" target="_blank" rel="noopener noreferrer">IoT</a>. Se trata de <a href="http://nature.global/jp/faq/2017/10/23/remoip" target="_blank" rel="noopener noreferrer">Nature Remo</a>. Un dispositivo capaz de mimetizar cualquier control remoto que trabaje por tecnología de infrarrojos.</p>
<p>En este caso utilicé la instrucción dns-sd. Éste programa no es libre y es el responsable de hacer hablarse entre ellas las máquinas de la manzana (Bonjour).</p>
<p>Esta es la intrucción:</p>
<p><code>% dns-sd -B _remo._tcp<br />
Browsing for _remo._tcp<br />
DATE: ---Sun 29 Oct 2017---<br />
11:07:03.591 ...STARTING...<br />
Timestamp A/R Flags if Domain Service Type Instance Name<br />
11:07:07.835 Add 2 4 local. _remo._tcp. Remo-XXXXXX</code></p>
<p><code><br />
% dns-sd -G v4 Remo-XXXXXX.local<br />
DATE: ---Sun 29 Oct 2017---<br />
11:08:56.804 ...STARTING...<br />
Timestamp A/R Flags if Hostname Address TTL<br />
11:08:56.806 Add 2 4 Remo-1FFDEF.local. 192.168.2.20<br />
</code><br />
Y así finalmente obtenemos la ip qué necesitamos.</p>
<p>En linux tenemos la librería <a href="https://github.com/lathiat/avahi" target="_blank" rel="noopener noreferrer">Avahi</a> que podremos instalar así:</p>
<pre><code>$ sudo apt-get install libavahi-compat-libdnssd-dev avahi-utils
</code></pre>
<p>Tecleando la instrucción:</p>
<p><code>avahi-browse -a</code><br />
Obtendremos un listado de todas las máquinas de la red pero no aparecerá el servicio de dispositivo que estamos buscando, se esconde.</p>
<p>Esta es la manera de averiguar el nombre y posteriormente la IP del dispositivo Nature Remo.<br />
<code><br />
% avahi-browse -tl _remo._tcp<br />
+ eth0 IPv4 Remo-1FFDEF _remo._tcp local</code><br />
<code><br />
% ping Remo-468D83.local<br />
PING Remo-1FFDEF.local (192.168.2.20) 56(84) bytes of data.</code></p>
<p>Listos. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.solusan.com/cuando-dns-sd-no-esta-disponible-en-tu-sistema.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Homebridge en MacOSX y Nature Remo</title>
		<link>https://www.solusan.com/homebridge-en-macosx-y-nature-remo.html</link>
					<comments>https://www.solusan.com/homebridge-en-macosx-y-nature-remo.html#respond</comments>
		
		<dc:creator><![CDATA[Solusan]]></dc:creator>
		<pubDate>Mon, 15 Jan 2018 18:11:15 +0000</pubDate>
				<category><![CDATA[Hakintosh]]></category>
		<category><![CDATA[IoT]]></category>
		<guid isPermaLink="false">http://www.solusan.com/?p=1467</guid>

					<description><![CDATA[La domótica está en pañales, pero no recién nacida. Un ejemplo de ello es "Nature Remo", definitivamente es uno de los mejores periféricos que permiten controlar cualquier cosa que se deje comandar por un control remoto,  pero "Nature Remo" trabaja casi por libre y la mayoría —por no decir todos—, los nexos de unión con [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>La domótica está en pañales, pero no recién nacida. Un ejemplo de ello es "<a href="https://www.indiegogo.com/projects/nature-remo#/" target="_blank" rel="noopener noreferrer">Nature Remo</a>", definitivamente es uno de los mejores periféricos que permiten controlar cualquier cosa que se deje comandar por un control remoto,  pero "Nature Remo" trabaja casi por libre y la mayoría —por no decir todos—, los nexos de unión con algún asistente de control los hace mediante la aplicación <a href="https://ifttt.com/discover" target="_blank" rel="noopener noreferrer">IFTTT</a><b> </b>(If This, Then That). En definitiva, retales que se unen porque funcionan, pero sin algo que tienda a unificar de una forma elegante... o sí. Una de las aplicaciones reinas de la unificación y que permite crear automatismos que hagan la casa más inteligente es <a href="https://www.apple.com/es/shop/accessories/all-accessories/homekit" target="_blank" rel="noopener noreferrer">HomeKit</a> de Apple, pero muy pocas marcas pueden pagar la certificación (es irrazonablemente cara)  y lo hacen encareciendo el producto, entre otras cosas. Así pasa con muchos periféricos de tecnología <a href="https://es.wikipedia.org/wiki/Internet_de_las_cosas" target="_blank" rel="noopener noreferrer">IoT</a>. "Nature Remo" no se queda atrás en ese aspecto y Homebridge se encarga de enlazar todos los dispositivos inteligentes y dotarlos de las características que tienen los accesorios HomeKit.</p>
<p><img decoding="async" class="irc_mi aligncenter" src="https://images.techhive.com/images/article/2017/02/homekit-logo-100707188-large.jpg" alt="Resultado de imagen de homekit" width="421" height="280" /></p>
<p>Vamos a instalar el servidor Homebridge en un MacOSX y luego añadir la configuración de "Nature Remo". (Parte de la documentación la he conseguido de diversas páginas en japonés puesto que Nature Remo es una start up japonesa que ha llegado a ser una de las oficiales de Google Home).</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1480 size-full" src="http://www.solusan.com/wp-content/2018/01/Imagen-de-Mensajes751179439-e1516042672367.png" alt="" width="405" height="391" srcset="https://www.solusan.com/wp-content/2018/01/Imagen-de-Mensajes751179439-e1516042672367.png 405w, https://www.solusan.com/wp-content/2018/01/Imagen-de-Mensajes751179439-e1516042672367-300x290.png 300w" sizes="auto, (max-width: 405px) 100vw, 405px" />Sigue este enlace en el que detalla como instalar Homebridge <a href="https://github.com/nfarina/homebridge/wiki/Install-Homebridge-on-macOS" target="_blank" rel="noopener noreferrer">https://github.com/nfarina/homebridge/wiki/Install-Homebridge-on-macOS</a></p>
<p>Una vez instalado Homebridge, necesitaremos conocer datos de nuestro dispositivo Nature Remo.</p>
<p><code>% dns-sd -B _remo._tcp<br />
Browsing for _remo._tcp<br />
DATE: ---Sun 29 Oct 2017---<br />
11:07:03.591 ...STARTING...<br />
Timestamp A/R Flags if Domain Service Type Instance Name<br />
11:07:07.835 Add 2 4 local. _remo._tcp. Remo-XXXXXX</code></p>
<p><code>## Remo-XXXXXXを確認して置き換えて実行する。<br />
% dns-sd -G v4 Remo-XXXXXX.local<br />
DATE: ---Sun 29 Oct 2017---<br />
11:08:56.804 ...STARTING...<br />
Timestamp A/R Flags if Hostname Address TTL<br />
11:08:56.806 Add 2 4 Remo-1FFDEF.local. 192.168.2.20</code></p>
<p>En este caso: 192.168.2.20</p>
<p>Después de esto necesitamos encontrar la codificación que utiliza el dispositivo que deseemos registrar en HomeKit. Para ello preguntaremos a Nature Remo mediante la instrucción:</p>
<p><code>% curl -i "http://192.168.2.20/messages" -H "X-Requested-With: curl"<br />
HTTP/1.0 200 OK<br />
Server: Remo/1.0.62-gabbf5bd<br />
Content-Type: application/json<br />
{"format":"us","freq":36,"data":[4339,4448,...]}</code></p>
<p>Si no te leyera bien y te diera un error 404, trata de encender y apagar el periférico. Lo mismo con el mando, "on" y "off".</p>
<p>Los resultados de la respuesta que te da en pantalla debes de ponerlos en el fichero de configuración de Homebridge:</p>
<p>Y este es un fichero de ejemplo de configuración:</p>
<p><code> {<br />
"bridge": {<br />
"name": "Homebridge",<br />
"username": "CC:42:4D:A3:CQ:61",<br />
"port": 51826,<br />
"pin": "034-56-185"<br />
},</code></p>
<p><code>"description": "Nature Remo Control",</code></p>
<p><code>"accessories": [<br />
{<br />
"name": "Room Nature",<br />
"accessory": "NatureRemo",<br />
"host": "192.168.10.34",<br />
"path": "/messages",<br />
"delayBefore": 0,<br />
"delayAfter": 0,<br />
"timeout": 2000,<br />
"retry_interval": 500,<br />
"retry": 3,<br />
"on": {"format":"us","freq":37,"data":[3732,1946,402,525,418,1470,420,544,400,]},<br />
"off": {"format":"us","freq":36,"data":[3732,1945,403,543,398,1471,420,522,418]},<br />
"command_order": [{ "on": ["on"] }, { "off": ["off"] }]<br />
}<br />
],<br />
"platforms": []<br />
}</code></p>
<p>Necesitaremos instalar el <a href="https://github.com/nillpo/homebridge-nremo" target="_blank" rel="noopener noreferrer">plugin de Nature Remo</a> con la línea que sigue:</p>
<p><code>% sudo npm install -g homebridge-nremo<br />
+ homebridge-nremo@0.0.3</code></p>
<p>Luego podemos ya acceder al registro en HomeKit. (aunque en japonés, la imagen es altamente descriptiva).</p>
<p>Añadimos accesorio escanendo el código que nos da el servidor HomeKit.</p>
<p><img /><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1859" src="http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3617-600x1067.png" sizes="auto, (max-width: 300px) 100vw, 300px" srcset="http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3617-600x1067.png 600w, http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3617-768x1365.png 768w, http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3617.png 1152w" alt="IMG_3617" width="300" height="533" /></p>
<p>Registramos Homebridge.</p>
<p><img /><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1860" src="http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3618-600x1067.png" sizes="auto, (max-width: 300px) 100vw, 300px" srcset="http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3618-600x1067.png 600w, http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3618-768x1365.png 768w, http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3618.png 1152w" alt="IMG_3618" width="300" height="533" /></p>
<p>Nos avisa de que no es un accesorio certificado y le decimos que "a delante".</p>
<p><img /><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1861" src="http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3619-600x1067.png" sizes="auto, (max-width: 300px) 100vw, 300px" srcset="http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3619-600x1067.png 600w, http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3619-768x1365.png 768w, http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3619.png 1152w" alt="IMG_3619" width="300" height="533" /></p>
<p>Una vez añadido, pulsamos "siguiente" hasta completar todos los pasos.</p>
<p><img /><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1863" src="http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3621-600x1067.png" sizes="auto, (max-width: 300px) 100vw, 300px" srcset="http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3621-600x1067.png 600w, http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3621-768x1365.png 768w, http://blog.mogmet.com/wp-content/uploads/2017/11/IMG_3621.png 1152w" alt="IMG_3621" width="300" height="533" /></p>
<p>Ya podremos hablar con Siri para que accione los dispositivos que hayamos configurado.</p>
<p>Enlace de interés: <a href="https://www.imore.com/how-connect-non-homekit-devices-homekit-using-homebridge">https://www.imore.com/how-connect-non-homekit-devices-homekit-using-homebridge</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.solusan.com/homebridge-en-macosx-y-nature-remo.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Despertador OSX</title>
		<link>https://www.solusan.com/despertador-osx.html</link>
					<comments>https://www.solusan.com/despertador-osx.html#respond</comments>
		
		<dc:creator><![CDATA[Solusan]]></dc:creator>
		<pubDate>Fri, 03 May 2013 13:06:06 +0000</pubDate>
				<category><![CDATA[Hakintosh]]></category>
		<guid isPermaLink="false">http://www.solusan.com/?p=1248</guid>

					<description><![CDATA[Un pequeño tip que me sirvió cuando me quedé sin batería (bueno y sin móvil) un día aciago: Stuck away from home with a dead mobile phone battery, I needed an alarm clock—no sign of it in Date and Time. The solution: use iCal on the MacBook. Set an event at the time you want [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Un pequeño tip que me sirvió cuando me quedé sin batería (bueno y sin móvil) un día aciago:</p>
<p>Stuck away from home with a dead mobile phone battery, I needed an alarm clock—no sign of it in Date and Time.</p>
<p><strong>The solution:</strong> use iCal on the MacBook. Set an event at the time you want the alarm. Set up an alarm action to open a suitably noisy audio file (which will open with iTunes if you have the default setup).</p>
<p>Make sure you set the alarm to go off <strong>on date</strong> (not 15 minutes beforehand as I first did). Make sure the volume is set high, headphones removed. Leave the lid open and, preferably, power connected. <span style="text-decoration: line-through;">The alarm will wake the laptop from sleep, and play your song.</span></p>
<p><strong>Update 2009-02-15</strong> In Leopard 10.5.6 the alarm does not wake your computer from sleep <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f641.png" alt="🙁" class="wp-smiley" style="height: 1em; max-height: 1em;" /> In <em>System Preferences &gt;&gt; Energy Saver &gt;&gt; Schedule</em>, set your computer to wake a couple of minutes before the alarm goes off.</p>
<p>If you subscribe to any external calendars, set iCal offline — otherwise any alerts complaining that some calendar is unreachable will prevent the alarm from sounding.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.solusan.com/despertador-osx.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To: Getting Started with Amazon EC2</title>
		<link>https://www.solusan.com/how-to-getting-started-with-amazon-ec2.html</link>
					<comments>https://www.solusan.com/how-to-getting-started-with-amazon-ec2.html#comments</comments>
		
		<dc:creator><![CDATA[Solusan]]></dc:creator>
		<pubDate>Sun, 13 Feb 2011 16:18:03 +0000</pubDate>
				<category><![CDATA[BSD]]></category>
		<category><![CDATA[CentoOS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[DragonFlyBSD]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">http://www.solusan.com/?p=1395</guid>

					<description><![CDATA[Así.. sin valium y sin nada: Amazon EC2 is among the more potent items in Amazon's web services arsenal. You've probably heard of many of the other services such as S3 for storage and FPS for payments. EC2 is all about the "elastic compute cloud." In layman's terms, it's a server. In slightly less layman's [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Así.. sin valium y sin nada:</p>
<p><a href="http://www.amazon.com/gp/browse.html?node=201590011">Amazon EC2</a> is among the more potent items in Amazon's web services arsenal. You've  probably heard of many of the other services such as S3 for storage and  FPS for payments. EC2 is all about the "elastic compute cloud." In  layman's terms, it's a server. In slightly less layman's terms, EC2 lets  you easily run and manage many instances (like servers) and  given the proper software and configurations, have a scalable platform  for your web application, outsource resource-intensive tasks to EC2 or  for whatever you would use a server farm.</p>
<p>There are three different <a href="http://www.amazon.com/Instances-EC2-AWS/b/ref=sc_fe_c_0_201590011_2?ie=UTF8&amp;node=370375011&amp;no=201590011&amp;me=A36L942TSJ2AJA">sizes of EC2 instances</a> you can summon and they're all probably more powerful than the server  currently running your blog. Unless you're offloading video processing  or something intense to EC2, the default small instance with its 1.7GB  of RAM and 160GB disk should be more than fine. It's just nice to know  that if for any reason I need a farm of machines each with 15GB of RAM, I  can get that easily.</p>
<p>EC2 has been around for a while but has gained interest in the last  few weeks as Amazon released an elastic IP feature. One of the larger  EC2 issues deals with data persistence on instances. There are many  limitations with EC2 that make it difficult to use unless you carefully  build around the EC2 architecture and don't just assume that you can  move your app to EC2 flawlessly. If an instance crashes and you run it  again, you'll loose data and when the instance comes back up it will  have a new IP, adding another hurdle with DNS issues. Fortunately, the  elastic IP feature lets you assign a static IP address to your  instances.</p>
<p>As the title of this article implies, this article is meant to be a  beginner's look into tinkering with EC2. Just because you will be able  to host a page on EC2 at the end of this article does not mean you  should start using it as your only server. Many considerations need to  be made when using EC2 to get around the data persistence issue. If your  startup is looking to use EC2 as a scalable platform, fortunately there  are many services that have already built stable systems on top of EC2,  ready for your consumption: <a href="http://weoceo.weogeo.com/">WeoCeo</a>, <a href="http://code.google.com/p/scalr/">Scalr</a> and <a href="http://www.rightscale.com/">RightScale</a>. Enough talk, shall we jump right in?</p>
<p><strong>Note:</strong> Most of the information below (and more) is available in the EC2 API doc if you enjoy reading those things.</p>
<h4><span id="more-1395"></span>Getting Started</h4>
<p>In order to interact with any EC2 instances, you'll need to install  Amazon's command line tools and download your X.509 certificate from  Amazon. Let's start with the certificate. Login to your Amazon account  and visit the AWS Access Identifiers page. In the X.509 certificate  section near the bottom, click <strong>Create New</strong>. You'll be  greeted with a page allowing you to download both the private key file  and X.509 certificate. Both of these are very important, download them  to your desktop so you don't lose them.</p>
<div><a href="http://www.solusan.com/wp-content/2011/02/amazon_aws_create_x509.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1400" title="amazon_aws_create_x509" src="http://www.solusan.com/wp-content/2011/02/amazon_aws_create_x509.jpg" alt="" width="500" height="211" srcset="https://www.solusan.com/wp-content/2011/02/amazon_aws_create_x509.jpg 500w, https://www.solusan.com/wp-content/2011/02/amazon_aws_create_x509-300x126.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a></div>
<p>Next up, grab the <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&amp;categoryID=88">EC2 command line tools</a>. Extract them and you should be left with a folder named something like <em>ec2-api-tools-1.3-19403</em>. We'll move those to a directory where we will also store the private and public keys.</p>
<p>The commands below assume you are working on an OS X machine in the Terminal.</p>
<pre><code>
mkdir ~/.ec2
cd ~/Desktop
mv *.pem ~/.ec2
cd ~/Desktop/ec2-api-tools-1.3-19403/  #depends on ec2 tools folder name
mv * ~/.ec2
</code></pre>
<p>This is what your .ec2 folder should have now.</p>
<div><a title="Amazon EC2 Folder" href="http://turbo.paulstamatiou.com/uploads/2008/04/ec2_howto_folder_800.jpg"></a><a href="http://www.solusan.com/wp-content/2011/02/ec2_howto_folder.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1402" style="border: 1px solid black;" title="ec2_howto_folder" src="http://www.solusan.com/wp-content/2011/02/ec2_howto_folder.jpg" alt="" width="500" height="181" srcset="https://www.solusan.com/wp-content/2011/02/ec2_howto_folder.jpg 500w, https://www.solusan.com/wp-content/2011/02/ec2_howto_folder-300x108.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a></div>
<p>Next up, we'll set some paths in your bash profile so the OS knows where the EC2 tools are located.</p>
<p><code>sudo vi ~/.bash_profile</code></p>
<p>Add these lines, replacing "YOURKEYNAME" with the actual file name of your private and public keys, then save.</p>
<pre><code>
export EC2_HOME=~/.ec2
export PATH=$PATH:$EC2_HOME/bin
export EC2_PRIVATE_KEY=pk-YOURKEYNAME.pem
export EC2_CERT=cert-YOURKEYNAME.pem
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home/
</code></pre>
<p>To get the changes noticed by the OS immediately, run <em>source</em>.</p>
<p><code>source ~/.bash_profile</code></p>
<p>Now we can actually use those helpful EC2 command line tools.</p>
<h4>AMIs, Keypairs and Instances, Oh My!</h4>
<p>Before proceeding, you'll need to grok the concept of AMIs. They are  Amazon Machine Images and whenever you create an EC2 instance, an AMI is  quickly loaded on the machine. They're essentially images of the OS. If  you terminate an instance and bring it up again, your machine will only  have the data initially included in the image. That's why lots of work  goes into making ("bundling") a good image you will always use that has  the configurations and software you need so you don't have to do much  whenever you load the image. This article won't delve into creating your  own AMIs but fortunately there are many great, public AMIs available  for use.</p>
<p>To SSH into the instance we'll create from an AMI we find, we'll need  to create a keypair. This is a different key from the one provided to  us by Amazon. That was for using the EC2 tools and interacting with the  instances in terms of creation and management. To actually SSH into an  instance, a separate keypair is required as there are no passwords by  default.</p>
<pre><code>
cd ~/.ec2 #we pretty much always need to be here
ec2-add-keypair pstam-keypair
</code></pre>
<p>That will print out the private key, which you'll need to copy and paste into a file manually.</p>
<div><a title="Amazon EC2 - Adding a keypair" href="http://turbo.paulstamatiou.com/uploads/2008/04/ec2_keypair_529.jpg"></a><a href="http://www.solusan.com/wp-content/2011/02/ec2_keypair.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1403" title="ec2_keypair" src="http://www.solusan.com/wp-content/2011/02/ec2_keypair.jpg" alt="" width="500" height="189" srcset="https://www.solusan.com/wp-content/2011/02/ec2_keypair.jpg 500w, https://www.solusan.com/wp-content/2011/02/ec2_keypair-300x113.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a></div>
<pre><code>
vi ~/.ec2/id_rsa-pstam-keypair
#now paste the private key and save
sudo chmod 600 id_rsa-pstam-keypair
</code></pre>
<p>Now we can find which AMI we want to toss on our yet-to-be-created EC2 instance.</p>
<pre><code>
cd ~/.ec2
ec2-describe-images -a
</code></pre>
<p>Using the <em>-a</em> option will list all of the AMIs you have  access to, and there are a lot. Alternatively you can list just the  images Amazon has:</p>
<pre><code>
ec2-describe-images -o amazon
</code></pre>
<div><a title="Amazon EC2 AMIs" href="http://turbo.paulstamatiou.com/uploads/2008/04/ec2_images_1000.jpg"></a><a href="http://www.solusan.com/wp-content/2011/02/ec2_images.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1405" title="ec2_images" src="http://www.solusan.com/wp-content/2011/02/ec2_images.jpg" alt="" width="500" height="211" srcset="https://www.solusan.com/wp-content/2011/02/ec2_images.jpg 500w, https://www.solusan.com/wp-content/2011/02/ec2_images-300x126.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a></div>
<p>I found an AMI that I'll try out.</p>
<blockquote><p>ami.yyang.info/gentoo-nginx-php-mysql-06feb2008.manifest.xml</p></blockquote>
<p>It's a Gentoo Linux install with PHP, MySQL and nginx. When looking at AMIs, you need to find the AMI ID. In this case, it's <em>ami-6138dd08</em>.</p>
<p><code> ec2-run-instances ami-6138dd08 -k pstam-keypair </code></p>
<p>The instance is now being loaded with the AMI I selected and booting  up. It should output some text with "RESERVATION" and "INSTANCE" rows.  On the instance row, it will say something like <em>pending pstam-keypair</em> until it has fully booted up. When an instance is ready to go, its URL  and internal address will be supplied with the ec2din command below.</p>
<p><code> ec2-describe-instances </code></p>
<div><a title="Amazon EC2 Describe Instances" href="http://turbo.paulstamatiou.com/uploads/2008/04/ec2_describe_instances_600.jpg"></a><a href="http://www.solusan.com/wp-content/2011/02/ec2_describe_instances.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1406" title="ec2_describe_instances" src="http://www.solusan.com/wp-content/2011/02/ec2_describe_instances.jpg" alt="" width="500" height="49" srcset="https://www.solusan.com/wp-content/2011/02/ec2_describe_instances.jpg 500w, https://www.solusan.com/wp-content/2011/02/ec2_describe_instances-300x29.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a></div>
<p>If you try to access the URL in a browser, nothing will happen just  yet as the firewall blocks all ports by default. You'll have to open up  the ones you need. We'll do port 80 for HTTP and 22 for SSH. If the AMI  you are running doesn't have a web server installed, accessing the EC2  URL in a browser won't bring up anything regardless.</p>
<pre><code>
ec2-authorize default -p 22
ec2-authorize default -p 80
</code></pre>
<p>If you want to undo any port authorizations you've made, you can use <em>ec2-revoke</em>.  Now if you access your EC2 URL in a browser you'll get something like a  default Apache page, or in the case of the AMI I'm using, a phpinfo()  page.</p>
<div><a title="EC2 Instance loaded in Firefox" href="http://turbo.paulstamatiou.com/uploads/2008/04/ec2_phpinfo_ffox_850.jpg"></a><a href="http://www.solusan.com/wp-content/2011/02/ec2_phpinfo_ffox.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1407" title="ec2_phpinfo_ffox" src="http://www.solusan.com/wp-content/2011/02/ec2_phpinfo_ffox.jpg" alt="" width="500" height="161" srcset="https://www.solusan.com/wp-content/2011/02/ec2_phpinfo_ffox.jpg 500w, https://www.solusan.com/wp-content/2011/02/ec2_phpinfo_ffox-300x96.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a></div>
<p>The next step to actually using your new EC2 instance is SSHing into  it to get full root access. Run the line below and replace the EC2 URL  with the one provided to you by the <em>ec2-describe-images</em> command earlier.</p>
<pre><code>
ssh -i id_rsa-pstam-keypair root@ec2-XXX-XXX-XXX-XXX.z-2.compute-1.amazonaws.com
</code></pre>
<p>If you run into the problem I did, this won't work and you'll be  asked for an EC2 instance password that doesn't exist. I found out this  was because I initially created the <em>id_rsa-pstam-keypair</em> file  as the root user but ran the ssh command as a regular user which was not  able to access that keypair. That was easily fixed with <em>sudo chown Paul id_rsa-pstam-keypair</em> but you won't have this issue if you followed this guide.</p>
<p>Otherwise, you should be logged into your EC2 instance as root over  SSH. Now that we're in, we can tinker with the system however we like  and even see what kind of hardware we're running on, setup FTP and drop a  web app into <em>/var/www/localhost/htdocs</em> or whatever. Having full root access in any OS you wish is one of the boons of using Amazon EC2.</p>
<div><a title="SSHed into EC2 Instance - cpuinfo" href="http://turbo.paulstamatiou.com/uploads/2008/04/ec2_ssh_catproc_700.jpg"></a><a href="http://www.solusan.com/wp-content/2011/02/ec2_ssh_catproc.jpg"></a><a href="http://www.solusan.com/wp-content/2011/02/ec2_ssh_catproc.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1409" title="ec2_ssh_catproc" src="http://www.solusan.com/wp-content/2011/02/ec2_ssh_catproc.jpg" alt="" width="500" height="257" srcset="https://www.solusan.com/wp-content/2011/02/ec2_ssh_catproc.jpg 500w, https://www.solusan.com/wp-content/2011/02/ec2_ssh_catproc-300x154.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a></div>
<h4>Static IP Time</h4>
<p>If you plan on running your instance for good, you'll want a static IP. Let's get one for you.</p>
<p><code> ec2-allocate-address </code></p>
<div><a href="http://www.solusan.com/wp-content/2011/02/ec2_allocate_ip.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1410" title="ec2_allocate_ip" src="http://www.solusan.com/wp-content/2011/02/ec2_allocate_ip.jpg" alt="" width="500" height="93" srcset="https://www.solusan.com/wp-content/2011/02/ec2_allocate_ip.jpg 500w, https://www.solusan.com/wp-content/2011/02/ec2_allocate_ip-300x55.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a></div>
<p>Now we just need to tie that IP address to the instance ID of the  instance you wish to give a static IP. You can grab the instance ID (not  to be confused with the ami-* AMI ID) by running <em>ec2-describe-instances</em>.</p>
<p>In the line below, replace XXX.XXX.XXX.XXX with the IP address you  were given above and replace i-yourinstance with your actual instance  ID.</p>
<p><code> ec2-associate-address -i i-yourinstance XXX.XXX.XXX.XXX </code></p>
<div><a href="http://www.solusan.com/wp-content/2011/02/ec2_terminate_instance.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1411" title="ec2_terminate_instance" src="http://www.solusan.com/wp-content/2011/02/ec2_terminate_instance.jpg" alt="" width="500" height="104" srcset="https://www.solusan.com/wp-content/2011/02/ec2_terminate_instance.jpg 500w, https://www.solusan.com/wp-content/2011/02/ec2_terminate_instance-300x62.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a></div>
<p>Give it a few minutes and your instance will be accessible through  that new IP in addition to the longer EC2 URL we were previously using.  Please note that if you terminate the instance, the IP does not remain  tied to the instance, to the best of my knowledge. Terminating an  instance seems to be a nuclear option compared to simply rebooting an  instance via regular unix commands over SSH.</p>
<p>Now that the instance has an IP you can setup a domain name with it  if you want. The easiest way I've found of doing this is through a DNS  service like <a href="http://everydns.net/">EveryDNS</a>. Just provide  your domain name registrar with EveryDNS's domain name servers, create  an EveryDNS account, add your domain and create an A record with your  newly associated EC2 instance IP address.</p>
<div><a title="EveryDNS - Setup Domain" href="http://turbo.paulstamatiou.com/uploads/2008/04/everydns_setup_domain_1200.jpg"></a><a href="http://www.solusan.com/wp-content/2011/02/everydns_setup_domain.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1412" title="everydns_setup_domain" src="http://www.solusan.com/wp-content/2011/02/everydns_setup_domain.jpg" alt="" width="500" height="255" srcset="https://www.solusan.com/wp-content/2011/02/everydns_setup_domain.jpg 500w, https://www.solusan.com/wp-content/2011/02/everydns_setup_domain-300x153.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a></div>
<p>The TTL on EveryDNS seems to be fixed at 3600 so it might take a  while for propagation, especially if you're used to pushing down TTL to  300 when doing DNS work.</p>
<h4>Terminating Your EC2 Instance</h4>
<p>Killing your instance for good can be done, like every other action,  through an EC2 command line tool. This time, it's the appropriately  named <em>ec2-terminate-instances</em> (ec2kill). Just provide it with the instance ID of your instance (get it from running ec2din).</p>
<p><code> ec2-terminate-instances i-yourinstance </code></p>
<div><img decoding="async" src="http://turbo.paulstamatiou.com/uploads/2008/04/ec2_terminate_instance.jpg" alt="Terminate EC2 Instance" /></div>
<p>It should return with a "shutting-down" status but you'll definitely want to check back in a few minutes with <em>ec2-describe-instances</em> to make sure it shutdown successfully and comes up as "terminated".  There are a few cases where instances will hang on shutdown and you will  continue to be charged for instance hours.</p>
<div><a title="EC2 Instances Terminated" href="http://turbo.paulstamatiou.com/uploads/2008/04/ec2_terminated_instances_600.jpg"><img decoding="async" src="http://turbo.paulstamatiou.com/uploads/2008/04/ec2_terminated_instances.jpg" alt="EC2 Instances Terminated" /></a></div>
<h4>The Next Step</h4>
<p>Now that you've successfully launched your first Amazon EC2 instance,  you're ready to begin exploring the endless EC2 possibilities. I'm  still learning about taking the next step but overall, EC2 really isn't  something to mess with unless you have quite a bit of sysadmin and  development experience. Actually using EC2 as an elastic compute cloud  usually involves setting up an instance as a load balancer and giving  that instance access to an array of active EC2 instances which it can  hand work to. Other hurdles include providing multiple instances access  to the same database, using Amazon S3 as a persistent filesystem and  employing highly redundant backup systems given the relatively volatile  nature of instances.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.solusan.com/how-to-getting-started-with-amazon-ec2.html/feed</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Cómo obtener la longitud y latitud en Google Maps</title>
		<link>https://www.solusan.com/como-obtener-la-longitud-y-latitud-en-google-maps.html</link>
					<comments>https://www.solusan.com/como-obtener-la-longitud-y-latitud-en-google-maps.html#comments</comments>
		
		<dc:creator><![CDATA[Solusan]]></dc:creator>
		<pubDate>Fri, 19 Nov 2010 00:20:11 +0000</pubDate>
				<category><![CDATA[Miscelánea]]></category>
		<guid isPermaLink="false">http://www.solusan.com/?p=1389</guid>

					<description><![CDATA[Excelente este truco que he encontrado en Tech-Recipes (vía Lifehacker) para obtener la longitud y latitud de cualquier localidad o calle o plaza o edificio… en Google Maps. La fórmula es bien sencilla: Encontrar el punto deseado en el mapa (lo más sencillo, el buscador incorporado). Centrarlo en la ventana del mapa con la herramienta [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="http://www.solusan.com/wp-content/2010/11/maps.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1391" title="maps" src="http://www.solusan.com/wp-content/2010/11/maps.jpg" alt="" width="450" height="278" srcset="https://www.solusan.com/wp-content/2010/11/maps.jpg 450w, https://www.solusan.com/wp-content/2010/11/maps-300x185.jpg 300w" sizes="auto, (max-width: 450px) 100vw, 450px" /></a></p>
<p>Excelente este truco que he encontrado en <a href="http://www.tech-recipes.com/rx/2403/google_maps_get_latitude_longitude_values">Tech-Recipes</a> (vía <a href="http://lifehacker.com/software/google-maps/how-to-find-latitude-and-longitude-267361.php">Lifehacker</a>) para obtener la longitud y latitud de cualquier localidad o calle o plaza o edificio… en Google Maps. La fórmula es bien sencilla:</p>
<ol>
<li>Encontrar el punto deseado en el mapa (lo más sencillo, el buscador incorporado).</li>
<li>Centrarlo en la ventana del mapa con la herramienta ‘arrastrar’ (la mano, vaya).</li>
<li>Cuando lo tengas centrado, copia y pega en la barra de direcciones de tu navegador este código:<br />
<blockquote><p>javascript:void(prompt('',gApplication.getMap().getCenter()));</p></blockquote>
</li>
<li>Pulsas ‘enter’ y voilà. Te aparece una ventanita con los datos deseados.</li>
</ol>
<p>Sencillo, y muy útil. Que te aproveche.</p>
<p>Vía: <a title="http://mangasverdes.es/2007/06/09/como-obtener-la-longitud-y-latitud-en-google-maps/" href="http://mangasverdes.es/2007/06/09/como-obtener-la-longitud-y-latitud-en-google-maps/" target="_blank">http://mangasverdes.es/2007/06/09/como-obtener-la-longitud-y-latitud-en-google-maps/</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.solusan.com/como-obtener-la-longitud-y-latitud-en-google-maps.html/feed</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Sincronizar gCalendar con Mac, iPhone e iPad</title>
		<link>https://www.solusan.com/sincronizar-gcalendar-con-mac-iphone-e-ipad.html</link>
					<comments>https://www.solusan.com/sincronizar-gcalendar-con-mac-iphone-e-ipad.html#comments</comments>
		
		<dc:creator><![CDATA[Solusan]]></dc:creator>
		<pubDate>Sat, 24 Jul 2010 04:38:13 +0000</pubDate>
				<category><![CDATA[Hakintosh]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iphone]]></category>
		<guid isPermaLink="false">http://www.solusan.com/?p=1365</guid>

					<description><![CDATA[Los calendarios y el uso del iPad con Google Calendar para sincronizar de modo inalámbrico sin necesidad de iTunes. Es un método que llevo tiempo usando en el iPhone, probado y fiable. Demostraremos además que pueden usarse los servicios de Google sin necesidad de ligarse a Android. Hablamos en mi caso de varios calendarios, no sólo [&#8230;]]]></description>
										<content:encoded><![CDATA[<div>Los calendarios y el uso del <strong>iPad con Google Calendar</strong> para sincronizar de modo inalámbrico sin necesidad de iTunes.</div>
<div>Es un método que llevo tiempo usando en el iPhone, probado y fiable. Demostraremos además que pueden usarse los servicios de Google sin necesidad de ligarse a Android.</div>
<div>Hablamos en mi caso de varios calendarios, no sólo el principal. Tenemos en primer lugar uno Personal y otro de Trabajo que sólo uso yo. Otro con mi mujer para gestionar asuntos comunes. Otro con toda la familia para temas de todos. Por último un calendario en el que entran las tareas programadas en <a href="http://www.toodledo.com/">Toodledo</a>. No está mal.</div>
<div>El modo más inmediato y el que primero nos propone Google es creando una cuenta de <strong>Exchange</strong>. Para ello pasamos a crear una del modo habitual. ¿Qué configuración hemos de usar?</div>
<div>En el campo correo colocaremos nuestra dirección de <strong>Gmail</strong> completa. Se dejará el campo <strong>Dominio</strong>en blanco. Como <strong>Usuario</strong> pondremos de nuevo nuestra dirección de Gmail y nuestra <strong>Clave</strong> en el apartado correspondiente. Pulsaremos <strong>Siguiente</strong> y elegiremos <strong>Cancelar</strong> si nos indica <em>"Imposible verificar certificado"</em>.</div>
<div>Cuando aparezca el campo <strong>Servidor</strong> escribiremos <strong>m.google.com</strong> y luego <strong>Siguiente</strong>. Elegiremos los servicios que queremos sincronizar, en este caso <strong>Calendario</strong>. Luego elegir si queremos conservar las citas que tenemos en el iPhone/iPad o dejarlo todo "en la nube". Listo.<strong> Como se ve muy sencillo y "limpio".</strong></div>
<div><strong><br />
</strong></div>
<div>Pero la cosa se complica si tenemos nuestra única cuenta <strong>Exchange</strong> ocupada por ejemplo con el correo del trabajo. En el iPhone/iPad (como en casi todos los teléfonos excepto el Nexus One, creo) sólo puede gestionarse una cuenta Exchange. Es algo que con la llegada del sistema operativo 4.0 para iPhone/iPad se solucionará.</div>
<div>Para ello usaremos <strong>CalDav</strong> una alternativa un poco más complicada de configurar pero efectiva. Deberemos crear tantas cuentas <strong>CalDav</strong> como calendarios queramos añadir.</div>
<div>
<p>Configurar iCal:</p>
<p>Ahora toca configurar iCal para que se sincronice con GCal. Abrimos  iCal y  seleccionamos la opción de menú iCal/Preferencias… y  luego  Cuentas. Nos aparecerá esta pantalla:<strong><span style="font-family: Century Gothic;"> </span></strong></p>
<p><strong><a href="http://www.solusan.com/wp-content/2010/07/ical_conf.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1366" title="ical_conf" src="http://www.solusan.com/wp-content/2010/07/ical_conf.jpg" alt="" width="438" height="363" srcset="https://www.solusan.com/wp-content/2010/07/ical_conf.jpg 438w, https://www.solusan.com/wp-content/2010/07/ical_conf-300x248.jpg 300w" sizes="auto, (max-width: 438px) 100vw, 438px" /></a><br />
</strong>Pulsa en el botón + que apareceabajo a la izquierda.  Aparecerá  una nueva ventana en la que debemos introducir estos datos:<strong><span style="font-family: Century Gothic;"> </span></strong></p>
<p><strong><a href="http://www.solusan.com/wp-content/2010/07/ical_02.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1367" title="ical_02" src="http://www.solusan.com/wp-content/2010/07/ical_02.jpg" alt="" width="350" height="233" srcset="https://www.solusan.com/wp-content/2010/07/ical_02.jpg 350w, https://www.solusan.com/wp-content/2010/07/ical_02-300x199.jpg 300w" sizes="auto, (max-width: 350px) 100vw, 350px" /></a></strong></p>
</div>
<div>Descripción: Puedes poner lo que quieras para identificar la cuenta.<br />
Nombre usuario: Tu cuenta de Gmail<br />
Contraseña: Tu contraseña para acceder a Gmail<br />
URL de la cuenta: www.google.com</div>
<div>Pulsa en Añadir y verás que a los pocos segundos (quizá la primera vez tarde un poco más) te aparece un nuevo calendario en la parte izquierda de tu iCal. Ese es el calendario de Google.</div>
<div>Si quieres haz la prueba. Pon un evento en Gcal y verás como al poco tiempo aparece en iCal. Por defecto, iCal se conecta cada 15 minutos a Gcal para comprobar si hay eventos nuevos, pero eso se puede cambiar en las preferencias de la cuenta que acabamos de crear.<br />
También puedes crear un evento nuevo en iCal y verás como aparece en Gcal al momento.</div>
<div><strong><span style="font-family: Century Gothic;"><br />
</span></strong></div>
<div>Para ello iremos a <strong>Configuración</strong> y en el apartado <strong>Correo, Contactos y Calendario</strong> iremos a <strong>Otros</strong>. En<strong>Calendarios</strong> optamos por <strong>Crear una cuenta Caldav</strong>.</div>
<div><a href="http://www.solusan.com/wp-content/2010/07/1.png"><img loading="lazy" decoding="async" class="size-full wp-image-1368 alignnone" title="1" src="http://www.solusan.com/wp-content/2010/07/1.png" alt="" width="200" height="287" /></a><a href="http://www.solusan.com/wp-content/2010/07/21.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1371" title="2" src="http://www.solusan.com/wp-content/2010/07/21.png" alt="" width="200" height="287" /></a><a href="http://www.solusan.com/wp-content/2010/07/3.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1370" title="3" src="http://www.solusan.com/wp-content/2010/07/3.png" alt="" width="200" height="289" /></a></div>
<div>Como Servidor pondremos <strong>www.google.com</strong> y como <strong>Usuario y Contraseña</strong> los de nuestra cuenta de<strong>Gmail</strong>. Y luego una <strong>Descripción</strong> para identificar el calendario. Importante, de este modo tendremos nuestro <strong>calendario principal</strong>.</div>
<div>Para el resto de calendarios la cosa se complica un poco más, vamos a verlo. Deberemos crear tantas cuentas <strong>CalDav</strong> adicionales como calendarios secundarios tengamos, asignando a cada una un nombre adecuado.</div>
<div>Tras ello deberemos editar la configuración de cada una en <strong>Ajustes Avanzados</strong> cambiando la <strong>URL</strong> de cada uno de los calendarios.</div>
<div>Para ello deberemos buscar en nuestra configuración de calendarios de Google en la web la identificación del calendario, la encontraremos junto a los botones de XML, iCal, HTML y tiene este aspecto:</div>
<div style="text-align: center;"><strong>aaogk69iprl3abfa1ixyep0oj5@group.calendar.google.com</strong></div>
<div style="text-align: center;"><strong><br />
</strong></div>
<div>Tendremos la URL de nuestro calendario copiando la identificación anterior en una dirección de este tipo.</div>
<div style="text-align: center;"><strong>https://www.google.com/calendar/dav/copiar aquí ID /user</strong></div>
<div style="text-align: center;"><strong><br />
</strong></div>
<div>Con ello nuestro calendario de ejemplo quedaría así:<strong> </strong></div>
<div><strong>https://www.google.com/calendar/dav/aaogk69iprl3abfa1ixyep0oj5@group.calendar.google.com/user</strong></div>
<div>No nos asustemos, tiene peor pinta de lo que parece, realmente es sencillo. De este modo tendremos sin ocupar nuestra preciada cuenta Exchange configurados nuestros calendarios que se sincronizarán con la frecuencia que marquemos en Ajustes. Disponibles en todo lugar, sin necesidad de ordenador, ni iTunes y para todos los ususarios con acceso autorizado. Y sin gastar un duro en programas...</div>
<p>Vía: <a title="http://elmundoesmovil.blogspot.com/2010/05/tutoriales-ipad-calendarios-con.html" href="http://elmundoesmovil.blogspot.com/2010/05/tutoriales-ipad-calendarios-con.html" target="_blank">http://elmundoesmovil.blogspot.com/2010/05/tutoriales-ipad-calendarios-con.html</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.solusan.com/sincronizar-gcalendar-con-mac-iphone-e-ipad.html/feed</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>iTunes varias carátulas un sólo CD</title>
		<link>https://www.solusan.com/itunes-varias-caratulas-un-solo-cd.html</link>
					<comments>https://www.solusan.com/itunes-varias-caratulas-un-solo-cd.html#respond</comments>
		
		<dc:creator><![CDATA[Solusan]]></dc:creator>
		<pubDate>Tue, 25 May 2010 01:49:02 +0000</pubDate>
				<category><![CDATA[Hakintosh]]></category>
		<category><![CDATA[itunes]]></category>
		<guid isPermaLink="false">http://www.solusan.com/?p=1360</guid>

					<description><![CDATA[Problema: Filtras un CD y te aparecen varias catárulas en el navegador de titulos. Es un bug. Se arregla selecionando todos los temas y en las propiedades (cmd+i) en una de las pestañas te deja marcar el disco como una "recopilación", lo haces y aceptas y después repites el proceso desmarcando esa opción y si [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Problema:</p>
<p>Filtras un CD y te aparecen varias catárulas en el navegador de titulos. Es un bug.</p>
<p style="text-align: center;"><a href="http://www.solusan.com/wp-content/2010/05/PastedGraphic-3.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1361" title="PastedGraphic-3" src="http://www.solusan.com/wp-content/2010/05/PastedGraphic-3.png" alt="" width="482" height="166" srcset="https://www.solusan.com/wp-content/2010/05/PastedGraphic-3.png 753w, https://www.solusan.com/wp-content/2010/05/PastedGraphic-3-300x103.png 300w" sizes="auto, (max-width: 482px) 100vw, 482px" /></a></p>
<p>Se arregla selecionando todos los temas y en las propiedades (cmd+i) en una de las pestañas te deja marcar el disco como una "recopilación", lo haces y aceptas y después repites el proceso desmarcando esa opción y si el resto de tags son iguales en todo el disco ya debería salir bien, como un solo cd.</p>
<p>Gracias @<a title="http://twitter.com/aluminium" href="http://twitter.com/aluminium" target="_blank">AluminiuM</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.solusan.com/itunes-varias-caratulas-un-solo-cd.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Pasar muchos archivos de mayíusculas a minúsculas</title>
		<link>https://www.solusan.com/pasar-muchos-archivos-de-mayiusculas-a-minusculas.html</link>
					<comments>https://www.solusan.com/pasar-muchos-archivos-de-mayiusculas-a-minusculas.html#respond</comments>
		
		<dc:creator><![CDATA[Solusan]]></dc:creator>
		<pubDate>Sun, 25 Apr 2010 14:14:45 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">http://www.solusan.com/?p=1356</guid>

					<description><![CDATA[Pequeño tip para pasar multitud de archivos a minúsculas. En mi caso fueron 11540 sin problemas. #!/bin/sh # Do the directories first, so that the # path doesn't change for each in `find . -type d` do newname=`echo $each &#124; tr [A-Z] [a-z]` mv $each $newname done # Now to the files... for eachf in [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Pequeño tip para pasar multitud de archivos a minúsculas.<br />
En mi caso fueron 11540 sin problemas.</p>
<blockquote><p>#!/bin/sh<br />
# Do the directories first, so that the<br />
# path doesn't change<br />
for each in `find . -type d`<br />
do<br />
newname=`echo $each | tr [A-Z] [a-z]`<br />
mv $each $newname<br />
done<br />
# Now to the files...<br />
for eachf in `find . -type f`<br />
do<br />
newnamef=`echo $eachf | tr [A-Z] [a-z]`<br />
mv $eachf $newnamef<br />
done</p></blockquote>
<p>ソル三。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.solusan.com/pasar-muchos-archivos-de-mayiusculas-a-minusculas.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Kernel a 64 bits en Mac OS X</title>
		<link>https://www.solusan.com/kernel-a-64-bits-en-mac-os-x.html</link>
					<comments>https://www.solusan.com/kernel-a-64-bits-en-mac-os-x.html#comments</comments>
		
		<dc:creator><![CDATA[Solusan]]></dc:creator>
		<pubDate>Fri, 09 Apr 2010 16:02:06 +0000</pubDate>
				<category><![CDATA[Hakintosh]]></category>
		<category><![CDATA[Kernel Flags]]></category>
		<guid isPermaLink="false">http://www.solusan.com/?p=1351</guid>

					<description><![CDATA[- Has activado el kernel de tu MacBook en modo 64 bits? Una breve reseña para activarlo de modo temporal y permanente. Temporal: Arrancar el MAC pulsando las teclas 4 y 6. Permanente: Editamos el archivo /Library/Preferences/SystemConfiguration/com.apple.Boot.plist Buscar la cadena de texto: &#60;key&#62;Kernel Flags&#60;/key&#62; &#60;string&#62;&#60;/string&#62; Cambiar éste dato a: &#60;key&#62;Kernel Flags&#60;/key&#62; &#60;string&#62;arch=x86_64&#60;/string&#62; Guardar. ソル三]]></description>
										<content:encoded><![CDATA[<p style="text-align: left;"><a href="http://www.solusan.com/wp-content/2010/04/64bits.jpg"><img loading="lazy" decoding="async" class="aligncenter size-medium wp-image-1353" title="64bits" src="http://www.solusan.com/wp-content/2010/04/64bits-300x199.jpg" alt="" width="300" height="199" srcset="https://www.solusan.com/wp-content/2010/04/64bits-300x199.jpg 300w, https://www.solusan.com/wp-content/2010/04/64bits.jpg 500w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p style="text-align: left;">- Has activado el  kernel de tu MacBook en modo 64 bits?</p>
<p>Una breve reseña para activarlo de modo temporal y permanente.</p>
<p><strong>Temporal:</strong></p>
<ul>
<li>Arrancar el MAC pulsando las teclas 4 y 6.</li>
</ul>
<p><strong>Permanente:</strong></p>
<ul>
<li>Editamos el archivo /Library/Preferences/SystemConfiguration/com.apple.Boot.plist</li>
</ul>
<ul>
<li>Buscar la cadena de texto:</li>
</ul>
<p>&lt;key&gt;Kernel  Flags&lt;/key&gt;<br />
&lt;string&gt;&lt;/string&gt;</p>
<ul>
<li>Cambiar éste dato a:</li>
</ul>
<p>&lt;key&gt;Kernel Flags&lt;/key&gt;<br />
&lt;string&gt;arch=x86_64&lt;/string&gt;</p>
<ul>
<li>Guardar.</li>
</ul>
<p>ソル三</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.solusan.com/kernel-a-64-bits-en-mac-os-x.html/feed</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
