<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>El bocabyte vascodilatador</title>
	<atom:link href="http://bocabyte.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bocabyte.wordpress.com</link>
	<description>Blog creado por un estudiante de informática relacionado con linux y las nuevas tecnologías</description>
	<lastBuildDate>Fri, 04 Jun 2010 09:51:22 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='bocabyte.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>El bocabyte vascodilatador</title>
		<link>http://bocabyte.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bocabyte.wordpress.com/osd.xml" title="El bocabyte vascodilatador" />
	<atom:link rel='hub' href='http://bocabyte.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Compartir vpn a traves de wifi (pcmcia hostap + hostapd + dnsmasq + vpnc + iptables)</title>
		<link>http://bocabyte.wordpress.com/2010/05/28/compartir-vpn-a-traves-de-wifi-pcmcia-hostap-hostapd-dnsmasq-vpnc-iptables/</link>
		<comments>http://bocabyte.wordpress.com/2010/05/28/compartir-vpn-a-traves-de-wifi-pcmcia-hostap-hostapd-dnsmasq-vpnc-iptables/#comments</comments>
		<pubDate>Fri, 28 May 2010 12:08:30 +0000</pubDate>
		<dc:creator>Pedro</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://bocabyte.wordpress.com/?p=45</guid>
		<description><![CDATA[Como algunos sabreis estoy en China y me ha surgido un problema. Tengo un teléfono android y quiero poder acceder a todo (youtube, facebook, wordpress, &#8230;) desde el mismo. Con lo cual vamos a montar un sistemita para poder llevar a cabo esto. Lo primero es la lista de material. Un ordenador con Linux Una [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=45&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Como algunos sabreis estoy en China y me ha surgido un problema.</p>
<p>Tengo un teléfono android y quiero poder acceder a todo (youtube, facebook, wordpress, &#8230;) desde el mismo. Con lo cual vamos a montar un sistemita para poder llevar a cabo esto.</p>
<p>Lo primero es la lista de material.</p>
<ul>
<li>Un ordenador con Linux</li>
<li>Una tarjeta wifi que soporte modo master (en mi caso una pcmcia zcom que usa chip hostap_cs)</li>
<li>Una cuenta vpn, el de tu uni por ejemplo (yo tengo la de la uni francesa ENSIMAG)</li>
</ul>
<p>Primero conectamos el ordenador a internet.</p>
<p>Una vez que lo tenemos (ese paso no debería ser muy dificil) configuramos la vpn.</p>
<p>VPN</p>
<p>En mi caso es un cliente cisco con lo que uso vpnc, ni que decir tiene que esta configuracion es para los que estudian en la escuela ENSIMAG en Grenoble, en otra parte del mundo pues será otra cosa</p>
<p>Edito <span style="color:#ff0000;">/etc/vpnc/vpnc.conf </span>y pongo<br />
<span style="color:#ff0000;"># IPSec gateway 10.4.4.4<br />
IPSec gateway 195.83.76.161 ## servidor para acceder desde el exterior de la red de la escuela (en china usaré este)<br />
IPSec ID inpg<br />
IPSec secret mantas01<br />
Xauth password CONTRASEÑA<br />
Xauth username USUARIO</span></p>
<p>y lo lanzamos con /etc/init.d/vpnc start como root claro.</p>
<p>En este momento ya tenemos facebook y de todo pero solo en el ordenador</p>
<p>Ahora hay que crear un punto de acceso con la tarjeta wifi (en mi caso la pcmcia). Para lograrlo vamos a configurar 3 cosas, la propia tarjeta, el servidor hostapd (punto de acceso) y el servidor dnsmasq (seridor dns y dhcp)</p>
<p>Comenzemos con la tarjeta.</p>
<p>lo primero creamos el script del servicio asi:</p>
<p><span style="color:#ff0000;">ambasaguas ~ # ln -s /etc/init.d/net.wlan0 /etc/init.d/net.wlan1</span></p>
<p>Y luego lo configuramos asi:</p>
<p><span style="color:#ff0000;">cat /etc/conf.d/net.wlan1</span></p>
<p><span style="color:#ff0000;">modules_wlan1=&#8221;!wpa_supplicant !ifconfig&#8221;<br />
config_wlan1=( &#8220;192.168.0.1/24&#8243; )<br />
mode_wlan1=&#8221;master&#8221;<br />
ssid_wlan1=&#8221;espronceda&#8221;<br />
channel_wlan1=&#8221;6&#8243;</span><span style="color:#ff0000;"><br />
</span></p>
<p>A continuacion vamos a por hostapd</p>
<p>tras instalarlo lo configuramos asi:</p>
<p><span style="color:#ff0000;">ambasaguas ~ # cat /etc/hostapd/hostapd.conf</span></p>
<p><span style="color:#ff0000;">ssid=espronceda<br />
interface=wlan1<br />
driver=hostap<br />
</span></p>
<p><span style="color:#ff0000;">debug=0<br />
ctrl_interface_group=0<br />
macaddr_acl=0<br />
deny_mac_file=/etc/hostapd/hostapd.deny<br />
auth_algs=3<br />
eapol_key_index_workaround=0<br />
eap_server=0<br />
dump_file=/tmp/hostapd.dump<br />
wpa=3<br />
wpa_passphrase=password<br />
wpa_key_mgmt=WPA-PSK<br />
wpa_pairwise=TKIP CCMP</span></p>
<p><span style="color:#ff0000;">hw_mode=b<br />
channel=6</span></p>
<p><span style="color:#ff0000;">logger_syslog=-1<br />
logger_syslog_level=2<br />
logger_stdout=-1<br />
logger_stdout_level=1<br />
debug=1</span></p>
<p><span style="color:#ff0000;">own_ip_addr=192.168.0.1</span><span style="color:#ff0000;"><span style="color:#ff0000;"><br />
</span><br />
</span></p>
<p><span style="color:#ff0000;"><br />
ambasaguas ~ # cat /etc/conf.d/hostapd<br />
# Space separated List of interfaces which needs to be started before<br />
# hostapd<br />
INTERFACES=&#8221;wlan1&#8243;<br />
</span></p>
<p><span style="color:#ff0000;"># Space separated list of configuration files<br />
CONFIGS=&#8221;/etc/hostapd/hostapd.conf&#8221;</span></p>
<p><span style="color:#ff0000;"># Extra options to pass to hostapd, see hostapd(8)<br />
OPTIONS=&#8221;"</span></p>
<p>Y para finalizar dnsmasq:</p>
<p><span style="color:#ff0000;">ambasaguas ~ # cat /etc/dnsmasq.conf</span></p>
<p><span style="color:#ff0000;">dhcp-range=192.168.0.100,192.168.0.250,72h<br />
dhcp-host=00:23:76:10:fc:70,htcMagic,192.168.0.50<br />
interface=wlan1</span></p>
<p>Y ya está? Bueno ahora falta lo más importante compartir internet  desde la conexion vpn al punto de acceso.</p>
<p>Lo primero es que teneis que comfigurar el kernel para dar soporte a  iptables. De eso hay muchos manuales por ahi.</p>
<p>Y lanzamos los servidores, para eso crearemos un script en /etc/init.d y meteremos las reglas iptables ahi.</p>
<p><span style="color:#ff0000;">ambasaguas init.d # cat /etc/init.d/compartir<br />
#!/sbin/runscript<br />
# Copyright 1999-2010 Gentoo Foundation<br />
# Distributed under the terms of the GNU General Public License v2<br />
# $Header: $</p>
<p>depend() {</p>
<p>}</p>
<p>start() {<br />
iwconfig wlan1 mode master<br />
/etc/init.d/net.wlan1 start<br />
/etc/init.d/hostapd start<br />
/etc/init.d/dnsmasq start<br />
iptables -F<br />
iptables -t nat -F<br />
export LAN=wlan1<br />
export WAN=tun0<br />
iptables -A INPUT -s 192.168.0.0/24 -i ${LAN}  -j ACCEPT<br />
iptables -t nat -A POSTROUTING -o ${WAN} -j MASQUERADE<br />
echo 1 &gt; /proc/sys/net/ipv4/ip_forward<br />
for f in /proc/sys/net/ipv4/conf/*/rp_filter ; do echo 1 &gt; $f ; done<br />
}</p>
<p>stop() {<br />
iwconfig wlan1 mode managed<br />
/etc/init.d/hostapd stop<br />
/etc/init.d/dnsmasq stop<br />
iptables -F<br />
iptables -t nat -F<br />
}<br />
restart() {<br />
}</span></p>
<p>Y ahora si que está todo listo para meternos en facebook desde el movil con android</p>
<p>NOTA:</p>
<p>Si en /var/log/messages os sale un error del estilo :</p>
<p><span style="color:#ff0000;">May 28 19:13:00 ambasaguas kernel: [ 1674.642095] wlan1: dropped unencrypted RX data frame from 00:23:76:10:fc:70 (drop_unencrypted=1)</span></p>
<p>Solo teneis que ejecutar lo siguiente:</p>
<p><span style="color:#ff0000;">ambasaguas ~ # iwpriv wlan1 drop_unencrypte 0</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bocabyte.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bocabyte.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bocabyte.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bocabyte.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bocabyte.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bocabyte.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bocabyte.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bocabyte.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bocabyte.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bocabyte.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bocabyte.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bocabyte.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bocabyte.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bocabyte.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=45&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bocabyte.wordpress.com/2010/05/28/compartir-vpn-a-traves-de-wifi-pcmcia-hostap-hostapd-dnsmasq-vpnc-iptables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67828c26248b2202f1249d893ccc5668?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pedro</media:title>
		</media:content>
	</item>
		<item>
		<title>Backup de la particion root con rsync o tar</title>
		<link>http://bocabyte.wordpress.com/2009/06/11/backup-de-la-particion-root-con-rsync-o-tar/</link>
		<comments>http://bocabyte.wordpress.com/2009/06/11/backup-de-la-particion-root-con-rsync-o-tar/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 23:40:18 +0000</pubDate>
		<dc:creator>Pedro</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://bocabyte.wordpress.com/?p=36</guid>
		<description><![CDATA[Hola amigos hoy en bricomania vamos a ver como hacer un backup de la particion de root en un disco duro o donde sea. Pre: Lo primero es montar la particion de root en otro sitio, para eso tenemos 2 opciones: 1) Iniciar con un cdlive y montar la particion en un directorio 2) usar [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=36&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hola amigos hoy en bricomania vamos a ver como hacer un backup de la particion de root en un disco duro o donde sea.</p>
<h3>Pre:</h3>
<p>Lo primero es montar la particion de root en otro sitio, para eso tenemos 2 opciones:<br />
1) Iniciar con un cdlive y montar la particion en un directorio<br />
2) usar mount -o bind</p>
<p>Usaremos la opción 2 por ser mas rápida y sin necesidad de gravar cds y esas mierdas que con el canon están por las nubes.</p>
<h3>Creación del backup:</h3>
<p>Pues al tajo, cojemos un teclado del 8 y escribimos lo siguiente como <span style="color:#ff0000;">root</span></p>
<p><span style="color:#ff0000;">ambasAguas ~ # mount -o bind / /copia_de_root</span></p>
<p>Pues si amigos ya tenemos nuestra particion raiz montada y mientras termina de montarse veamos un consejo de bricochorradas <a title="consejo" href="http://www.break.com/index/the-worst-job-ever.html" target="_blank">consejo</a></p>
<p>Continuemos con nuestro quehacer.</p>
<p>Ahora tenemos 2 opciones o usar tar o usar rsync para hacer el backup.</p>
<h4>Tar:</h4>
<p>Nos creara un solo fichero. Podemos usar fat32 si nuestro root ocupa demos de 4 GB si no usaremos ntfs, ext3, &#8230;</p>
<p>Podemos crear el fichero comprimido con gzip, bzip2, &#8230;</p>
<p>Uso :</p>
<p><span style="color:#ff0000;">ambasAguas ~ # cd /copia_de_root</span></p>
<p><span style="color:#ff0000;">ambasAguas ~ # tar </span><span style="color:#ff0000;">&#8211;exclude</span><span style="color:#ff0000;"><span style="color:#ff0000;"> </span>bakup.tar</span> <span style="color:#ff0000;">cpvf  bakup.tar  .</span></p>
<p>Si a las opciones le añadimos una z nos dejará bakup.tar comprimido con gzip</p>
<p>Si le añadimos una j nos dejará bakup.tar comprimido con bzip2</p>
<p>Después lo copiamos a un disco duro externo<span style="color:#ff0000;"> (/media/dico_duro <span style="color:#000000;">para después</span>)</span> o donde queramos</p>
<h4>Rsync:</h4>
<p>Nos duplica el arbol de directorios tal y como está.</p>
<p>Nota: no podemos usar lugar de destino que esté formateado en fat32, usaremos por ejemplo uno en ext3</p>
<p>Haremos el backup diréctamente en el disco duro externo <span style="color:#ff0000;">(/media/dico_duro/<span style="color:#000000;"></span>)</span></p>
<p><span style="color:#ff0000;">ambasAguas ~ # cd /copia_de_root</span></p>
<p><span style="color:#ff0000;">ambasAguas ~ # rsync -az ./ /media/dico_duro/backup</span></p>
<p>Y ya tenemos el backup completado.</p>
<p>Fácil, sencillo y para toda la familia</p>
<h3>Restauración del backup:</h3>
<p>Y os preguntareis claro, y como restauro el backup?</p>
<p>Pues tampoco es muy difícil, en este caso tenemos 3 opciones:</p>
<p>1) Compilar el kernel 3 veces mientras haces el pino y juegas al diabolo mientras cantas la sirenita. Resultado el ordenador te restaura el solo el backup para que dejes de hacer el ridiculo.</p>
<p>2) Método con tar:</p>
<p>montamos la particion de destino, por ejemplo /dev/sda1 en /nuevo_root :</p>
<p><span style="color:#ff0000;">ambasAguas ~ # mount /dev/sda1 /nuevo_root</span></p>
<p>descomprimimos el tar en /nuevo_root</p>
<p><span style="color:#ff0000;">ambasAguas ~ # cd /nuevo_root</span></p>
<p><span style="color:#ff0000;">ambasAguas ~ # tar xpvf  /media/dico_duro/bakup.tar</span></p>
<p>Si le hemos añadido la opcion z o j al comprimir se la añadimos tambien al descomprimir.</p>
<p>3) Método con rsync:</p>
<p>Es lo mismo que para hacer el backup pero en sentido contrario:</p>
<p><span style="color:#ff0000;">ambasAguas ~ # mount /dev/sda1 /nuevo_root</span></p>
<p><span style="color:#ff0000;">ambasAguas ~ # rsync -az /media/dico_duro/bakup/  /nuevo_root/</span></p>
<p>Pues nada  ya hemos terminado, solo quedaría configurar grub o lilo. eso os buscais la vida vosotros. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Si no pues en los comentarios o en otro post mas adelante</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bocabyte.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bocabyte.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bocabyte.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bocabyte.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bocabyte.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bocabyte.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bocabyte.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bocabyte.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bocabyte.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bocabyte.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bocabyte.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bocabyte.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bocabyte.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bocabyte.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=36&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bocabyte.wordpress.com/2009/06/11/backup-de-la-particion-root-con-rsync-o-tar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67828c26248b2202f1249d893ccc5668?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pedro</media:title>
		</media:content>
	</item>
		<item>
		<title>De dvd a mkv : volcando un dvd con mplayer o vlc si tiene protección ARccOS (dvd2mkv parte 1)</title>
		<link>http://bocabyte.wordpress.com/2007/11/21/de-dvd-a-mkv-volcando-un-dvd-con-mplayer-dvd2mkv-parte-1/</link>
		<comments>http://bocabyte.wordpress.com/2007/11/21/de-dvd-a-mkv-volcando-un-dvd-con-mplayer-dvd2mkv-parte-1/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 21:49:49 +0000</pubDate>
		<dc:creator>Pedro</dc:creator>
				<category><![CDATA[Encode]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[dvd2mkv]]></category>
		<category><![CDATA[mplayer]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://bocabyte.wordpress.com/2007/11/21/de-dvd-a-mkv-volcando-un-dvd-con-mplayer-dvd2mkv-parte-1/</guid>
		<description><![CDATA[Resulta que me he hecho un scriptillo que me pasa un dvd a un fichero matroska video. En este primer post explicaré como volcar el dvd a un fichero .vob mplayer dvd://TITULO -dvd-device DISPOSITIVO_o_IMAGEN.ISO -dumpstream -dumpfile dvd.vob Con este comando especificando el título y el dispositivo, normálmente /dev/dvd volcamos el dvd ( o la imagen [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=28&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Resulta que me he hecho un scriptillo que me pasa un dvd a un fichero matroska video. En este primer post explicaré como volcar el dvd a un fichero .vob</p>
<p><font color="#ff0000"><code>mplayer dvd://TITULO -dvd-device DISPOSITIVO_o_IMAGEN.ISO -dumpstream -dumpfile dvd.vob</code></font></p>
<p>Con este comando especificando el título y el dispositivo, normálmente /dev/dvd volcamos el dvd ( o la imagen iso ) al fichero dvd.vob</p>
<p>Ejemplos:</p>
<p><font color="#ff0000"><code>mplayer dvd://1 -dvd-device /dev/dvd -dumpstream -dumpfile dvd.vob<br />
mplayer dvd://4 -dvd-device casinoRoyale.iso -dumpstream -dumpfile dvd.vob</code></font></p>
<p>Si nos ocurre un error de lectura de entrada/salida puede que sea producido porque el dvd lleva protección anticopia en cuyo caso usaremos el programa vlc para ripear el dvd de este modo:</p>
<p><font color="#ff0000"><code>vlc dvd:RUTA_DVD@TIT --audio-track X --sub-track Y --sout "#standard{access=file,mux=ps,dst=FICH_SAL}"</code></font></p>
<p>Donde:</p>
<ul>
<li>RUTA_DVD = la ruta al dispositivo dvd o al directorio o a la imagen iso.</li>
<li>TIT = el título del dvd que queremos ripear</li>
<li>X = el track de audio</li>
<li>Y = el track de subtítulos</li>
<li>FICH_SAL = el fichero donde guardamos el volcado</li>
</ul>
<p>Ejemplo:</p>
<p><font color="#ff0000"><code>vlc dvd:/dev/dvd@4 </code></font><font color="#ff0000"><code>--audio-track 1 --sub-track 1 </code></font><font color="#ff0000"><code>--sout "#standard{access=file,mux=ps,dst=dvd.vob}"</code></font><br />
<font color="#ff0000"><code>vlc dvd:</code></font><font color="#ff0000"><code>casinoRoyale.iso</code></font><font color="#ff0000"><code>@4 </code></font><font color="#ff0000"><code>--audio-track 1 --sub-track 1 </code></font><font color="#ff0000"><code>--sout "#standard{access=file,mux=ps,dst=dvd.vob}"</code></font></p>
<p>Para saltarse ARccOS en linux (a la hora de volcad bien el dvd), hoy por hoy solo se puede usar vlc. El problema que tenemos es que tenemos que volcar los subtitulos y el audio uno por uno.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bocabyte.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bocabyte.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bocabyte.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bocabyte.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bocabyte.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bocabyte.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bocabyte.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bocabyte.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bocabyte.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bocabyte.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bocabyte.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bocabyte.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bocabyte.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bocabyte.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bocabyte.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bocabyte.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=28&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bocabyte.wordpress.com/2007/11/21/de-dvd-a-mkv-volcando-un-dvd-con-mplayer-dvd2mkv-parte-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67828c26248b2202f1249d893ccc5668?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pedro</media:title>
		</media:content>
	</item>
		<item>
		<title>Introducir franja negra a un vídeo para ver mejor los subtítulos</title>
		<link>http://bocabyte.wordpress.com/2007/10/23/introducir-franja-negra-a-un-video-para-ver-mejor-los-subtitulos/</link>
		<comments>http://bocabyte.wordpress.com/2007/10/23/introducir-franja-negra-a-un-video-para-ver-mejor-los-subtitulos/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 19:51:36 +0000</pubDate>
		<dc:creator>Pedro</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[expand]]></category>
		<category><![CDATA[mplayer]]></category>
		<category><![CDATA[subtitulos]]></category>

		<guid isPermaLink="false">http://bocabyte.wordpress.com/2007/10/23/introducir-franja-negra-a-un-video-para-ver-mejor-los-subtitulos/</guid>
		<description><![CDATA[Resulta que tengo varias películas con subtítulos integrados, de modo que cuando la reproduzco con ellos se me sobreescriben encima de la película, dificultándome el poder leeros o incluso el ver algunos detalles de la película. Estuve mirando y decubrí la opción que permite introducir una franjas negras encima,debajo, o a los lados de modo [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=27&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Resulta que tengo varias películas con subtítulos integrados, de modo que cuando la reproduzco con ellos se me sobreescriben encima de la película, dificultándome el poder leeros o incluso el ver algunos detalles de la película.</p>
<p>Estuve mirando y decubrí la opción que permite introducir una franjas negras encima,debajo, o a los lados de modo que los subtítulos se recoloquen ahí.</p>
<p>Las opciones en concreto son:</p>
<h4><strong><font color="#000000">mplayer -vf  expand[=w:h:x:y:o]</font></strong></h4>
<p>Si ponemos w = -100 le metemos un borde de 100 pixeles negros en la parte de arriba de la imagen</p>
<p>Si ponemos h = -100 le metemos un borde de 100 pixeles negros en la parte de la derecha de la imagen</p>
<h4><strong><font color="#000000">mplayer -vf dsize=relacion</font></strong></h4>
<p>dsize le dice que reproduzca en el formato especificado, poniendole el relacion=16/9 conseguimos que al hacer pantalla completa no nos salgan una franjas negra a los lados consecuencia de haberle metido el -120 al expand.</p>
<p>También podríamos poner relación como un numero decimal, 1.33 para 4/3 o 1.77 para 16/9</p>
<p>Con lo que el comando final quedaría asi:</p>
<p><font color="#ff0000">mplayer  -vo x11 -vf expand=0:-120:0:0,dsize=16/9 pelicula.avi</font></p>
<p>Como comentario final diré que he añadido <font color="#ff0000">-vo x11 </font>ya que por ejemplo con <font color="#ff0000">-vo gl2</font> en mi máquina los subtítulos permanecen en pantalla una vez que aparecen y se van solapando, con <font color="#ff0000">-vo x11</font> van desapareciendo correctamente.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bocabyte.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bocabyte.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bocabyte.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bocabyte.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bocabyte.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bocabyte.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bocabyte.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bocabyte.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bocabyte.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bocabyte.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bocabyte.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bocabyte.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bocabyte.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bocabyte.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bocabyte.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bocabyte.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=27&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bocabyte.wordpress.com/2007/10/23/introducir-franja-negra-a-un-video-para-ver-mejor-los-subtitulos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67828c26248b2202f1249d893ccc5668?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pedro</media:title>
		</media:content>
	</item>
		<item>
		<title>Sonido full-duplex en linux configurando aoss y .asoundrc</title>
		<link>http://bocabyte.wordpress.com/2007/10/23/sonido-full-duplex-en-linux-configurando-aoss-y-asoundrc/</link>
		<comments>http://bocabyte.wordpress.com/2007/10/23/sonido-full-duplex-en-linux-configurando-aoss-y-asoundrc/#comments</comments>
		<pubDate>Mon, 22 Oct 2007 22:17:05 +0000</pubDate>
		<dc:creator>Pedro</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://bocabyte.wordpress.com/2007/10/23/sonido-full-duplex-en-linux-configurando-aoss-y-asoundrc/</guid>
		<description><![CDATA[Una de las cosas que pueden hechar para atras a un usuario que llega a linux desde windows es que no te funcione el sonido con varias aplicaciones a la vez. Ya que es algo que no tienen por donde coger ni saben como solucionarlo. Aqui una breve guia de lo que yo he hecho [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=26&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Una de las cosas que pueden hechar para atras a un usuario  que llega a linux desde windows es que no te funcione el sonido con varias aplicaciones a la vez. Ya que es algo que no tienen por donde coger ni saben como solucionarlo.</p>
<p>Aqui una breve guia de lo que yo he hecho para que me funcione el Teamspeak y el Tactical Ops (un First Person Shooter)</p>
<p>Lo primero de todo es decir que yo uso gentoo por lo que esta guia va dirigida a esta distribución.</p>
<p>El primer paso es ver que tarjeta tenemos.<br />
<span id="more-26"></span></p>
<p><code><font color="#ff0000"> pedro@ambasAguas ~ $ lspci | grep -i audio<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)</font></code></p>
<p>En mi caso tengo una intel-hda.</p>
<p>Configuro el kernel para tener soporte para esa tarjeta:</p>
<p><code><font color="#0000ff"> Device Drivers  ---&gt;Sound  ---&gt;<br />
&lt;*&gt; Sound card support<br />
Advanced Linux Sound Architecture  ---&gt;<br />
&lt;*&gt; Advanced Linux Sound Architecture<br />
&lt;*&gt;   Sequencer support<br />
&lt;*&gt;   OSS Mixer API<br />
&lt;*&gt;   OSS PCM (digital audio) API<br />
[*]     OSS PCM (digital audio) API - Include plugin system<br />
[*]   OSS Sequencer API<br />
[*]   Support old ALSA API<br />
PCI devices  ---&gt;<br />
&lt;M&gt; Intel HD Audio</font></code></p>
<p><code></code>Edito el /etc/make.conf y añado lo siguiente</p>
<p>Añado  alsa oss a las use :  <font color="#ff0000">USE=&#8221;alsa oss &#8230;&#8221;</font></p>
<p>Añado los plugins para alsa que necesite:  <font color="#ff0000">ALSA_PCM_PLUGINS=&#8221;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol&#8221;</font><br />
En mi caso casi todos.</p>
<p>Después instalo los siguientes paquetes: alsa-utils alsa-oss alsa-plugins</p>
<p><font color="#ff0000">ambasAguas pedro # emerge alsa-utils alsa-oss alsa-plugins </font></p>
<p>Ahora toca el turno de editar diferentes ficheros de configuración:</p>
<ul>
<li>~/.asoundrc</li>
</ul>
<p><font color="#0000ff"><code>pedro@ambasAguas ~ $ cat ~/.asoundrc<br />
pcm.card0 {<br />
type hw<br />
card 0<br />
mmap_emulation true<br />
}</code></font></p>
<p><font color="#0000ff"><code>pcm.!playback {<br />
type dmix       # dmix plugin for mixing the output<br />
ipc_key 1234    # an uniqe number<br />
slave {<br />
pcm "card0"<br />
period_time 0<br />
period_size 1024<br />
buffer_size 8192<br />
rate 44100<br />
}<br />
bindings {<br />
0 0<br />
1 1<br />
}<br />
}</code></font></p>
<p><font color="#0000ff"><code>pcm.!capture {<br />
type dsnoop     # dsnoop plugin for input<br />
ipc_key 5678    # another uniqe number<br />
slave {<br />
pcm "card0"<br />
period_time 0<br />
period_size 1024<br />
rate 44100<br />
}<br />
}</code></font></p>
<p><font color="#0000ff"><code>#<br />
# combined playback/capture device<br />
#<br />
pcm.!duplex {<br />
type asym<br />
playback.pcm "playback"<br />
capture.pcm "capture"<br />
}</code></font></p>
<p><font color="#0000ff"><code>#<br />
# making the playback/capture device default<br />
#<br />
pcm.!default {<br />
type plug<br />
slave.pcm "duplex"<br />
}</code></font></p>
<p><font color="#0000ff"><code>#<br />
# for oss compatibility (maybe)<br />
#<br />
pcm.!dsp {<br />
type plug<br />
slave.pcm "duplex"<br />
}</code></font></p>
<p><font color="#0000ff"><code>ctl.!mixer0 {<br />
type hw<br />
card 0<br />
}</code></font></p>
<ul>
<li>/etc/modules.d/alsa</li>
</ul>
<p><font color="#0000ff"><code>pedro@ambasAguas ~ $ cat /etc/modules.d/alsa<br />
alias char-major-116 snd</code></font></p>
<p><font color="#0000ff"><code>##  OSS/Free portion<br />
alias char-major-14 soundcore<br />
alias sound-slot-0 snd-hda-intel</code></font></p>
<p><font color="#0000ff"><code>## OSS/Free portion - snd-card-0 (Intel HD Audio)<br />
alias sound-service-0-0 snd-mixer-oss<br />
alias sound-service-0-1 snd-seq-oss<br />
alias sound-service-0-3 snd-pcm-oss<br />
alias sound-service-0-8 snd-seq-oss<br />
alias sound-service-0-12 snd-pcm-oss</code></font></p>
<p><font color="#0000ff"><code>alias /dev/mixer snd-mixer-oss<br />
alias /dev/dsp snd-pcm-oss<br />
alias /dev/midi snd-seq-oss</code></font></p>
<p><font color="#0000ff"><code>##<br />
## Set this to the correct number of cards.<br />
options snd cards_limit=1<br />
options snd-hda-intel index=0</code></font></p>
<p>Y con esto ya estarían los ficheros ahora solo hay que llamar a los ejecutables con :</p>
<p><code><font color="#ff0000">aoss ejecutable </font></code></p>
<p>En el caso del Teamspeak :</p>
<p><font color="#ff0000"><code>pedro@ambasAguas ~ $ sudo vim /opt/bin/TeamSpeak</code></font></p>
<p>y cambio :</p>
<p><font color="#ff0000"><code>exec /opt/teamspeak2-client/TeamSpeak.bin "$@"</code></font></p>
<p>por :</p>
<p><font color="#ff0000"><code>exec aoss  /opt/teamspeak2-client/TeamSpeak.bin "$@"</code></font></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bocabyte.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bocabyte.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bocabyte.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bocabyte.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bocabyte.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bocabyte.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bocabyte.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bocabyte.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bocabyte.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bocabyte.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bocabyte.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bocabyte.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bocabyte.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bocabyte.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bocabyte.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bocabyte.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=26&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bocabyte.wordpress.com/2007/10/23/sonido-full-duplex-en-linux-configurando-aoss-y-asoundrc/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67828c26248b2202f1249d893ccc5668?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pedro</media:title>
		</media:content>
	</item>
		<item>
		<title>Llaves ssh = acceso automático sin poner contraseña</title>
		<link>http://bocabyte.wordpress.com/2007/10/22/llaves-ssh-acceso-automatico-sin-poner-contrasena/</link>
		<comments>http://bocabyte.wordpress.com/2007/10/22/llaves-ssh-acceso-automatico-sin-poner-contrasena/#comments</comments>
		<pubDate>Mon, 22 Oct 2007 16:02:24 +0000</pubDate>
		<dc:creator>Pedro</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://bocabyte.wordpress.com/2007/10/22/llaves-ssh-acceso-automatico-sin-poner-contrasena/</guid>
		<description><![CDATA[Hace un tiempo tuve que administrar unas 30 máquinas simultáneamente para un concurso de programación de la comunidad de madrid. En ese momento tomé conciencia de lo útiles que resultan las llaves ssh. ¿Qué son? Pues en resumen lo que conseguimos es que tras 3 comandos conseguimos acceder a un ordenador por ssh sin tener [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=24&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hace un tiempo tuve que administrar unas 30 máquinas simultáneamente para un concurso de programación de la comunidad de madrid. En ese momento tomé conciencia de lo útiles que resultan las llaves ssh.</p>
<p>¿Qué son?</p>
<p>Pues en resumen lo que conseguimos es que tras 3 comandos conseguimos acceder a un ordenador por ssh sin tener que poner la contraseña, consiguiendo de ese modo poder ejecutar scripts que usen ssh para lanzar aplicaciones, copiar archivos &#8230;</p>
<p>Al tajo:</p>
<ol>
<li><font color="#ff0000">ssh-keygen -t dsa</font></li>
<p><span id="more-24"></span></p>
<li><font color="#ff0000">scp ~/.ssh/id_dsa.pub HOST_DESTINO:.ssh/authorized_keys2</font></li>
<li><font color="#ff0000">ssh-agent sh -c &#8216;ssh-add &lt; /dev/null &amp;&amp; bash&#8217; </font></li>
<li><font color="#ff0000">ssh HOST_DESTINO</font></li>
</ol>
<p>1) <a title="AEN10511" name="AEN10511"></a><strong>ssh-keygen</strong> se usa para generar claves privadas y sus correspondientes publicas de 1024 bits de longitud. En este caso  una clave DSA para el protocolo SSH versión 2.</p>
<p>En el momento que te ponga:</p>
<pre><font color="#ff0000"><em>Enter passphrase (empty for no passphrase):
Enter same passphrase again:</em></font></pre>
<p>No pongas passphrase , pulsa enter2 veces.</p>
<p>2) Introducimos la clave sin encriptar (no hemos puesto passphrase) en el fichero authorized_keys2 del host destino.</p>
<p>3) Usamos ssh-agent para crear una sesión autenticada automáticamente.</p>
<p>4) Hacemos un acceso ssh para comprobar que todo va bien.</p>
<h6>fuentes: <a href="http://es.tldp.org/Manuales-LuCAS/GARL2/garl2/x-087-2-appl.remote.html" title="http://es.tldp.org/Manuales-LuCAS/GARL2/garl2/x-087-2-appl.remote.html" target="_blank">http://es.tldp.org/Manuales-LuCAS/GARL2/garl2/x-087-2-appl.remote.html</a></h6>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bocabyte.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bocabyte.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bocabyte.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bocabyte.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bocabyte.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bocabyte.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bocabyte.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bocabyte.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bocabyte.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bocabyte.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bocabyte.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bocabyte.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bocabyte.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bocabyte.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bocabyte.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bocabyte.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=24&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bocabyte.wordpress.com/2007/10/22/llaves-ssh-acceso-automatico-sin-poner-contrasena/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67828c26248b2202f1249d893ccc5668?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pedro</media:title>
		</media:content>
	</item>
		<item>
		<title>Configurar Postfix para que acepte todo el correo vaya a quien vaya dirigido</title>
		<link>http://bocabyte.wordpress.com/2007/10/18/configurar-postfix-para-que-acepte-todo-el-correo-vaya-a-quien-vaya/</link>
		<comments>http://bocabyte.wordpress.com/2007/10/18/configurar-postfix-para-que-acepte-todo-el-correo-vaya-a-quien-vaya/#comments</comments>
		<pubDate>Thu, 18 Oct 2007 16:57:56 +0000</pubDate>
		<dc:creator>Pedro</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[configuración]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://bocabyte.wordpress.com/2007/10/18/configurar-postfix-para-que-acepte-todo-el-correo-vaya-a-quien-vaya/</guid>
		<description><![CDATA[Este verano se nos quemó el ordenador en la asociación. La semana pasada estuvimos instalando kubuntu en la asociación y creamos las cuentas de usuario de los que estabamos por ahi. El problema venía a la hora de recuperar el correo ya que en cuanto configuraramos la red, el servidor de la facultad nos iba [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=23&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Este verano se nos quemó el ordenador en la asociación. La semana pasada estuvimos instalando kubuntu en la asociación y creamos las cuentas de usuario de los que estabamos por ahi.</p>
<p>El problema venía a la hora de recuperar el correo ya que en cuanto configuraramos la red, el servidor de la facultad nos iba a enviar todo el correo, con lo que si no lo guardamos de algún modo íbamos a perder el correo de los usuarios que en ese momento no tenían cuenta.</p>
<p>Por lo que tuvimos que configurar el postfix para que se tragara todo. Y ¿como configuramos postfix en modo agujero negro?, pues poniendo esto en el fichero de configuración:</p>
<p><font color="#000000"> Fichero : </font>/etc/postfix/main.cf</p>
<p><code><font color="#ff0000">local_recipient_maps =<br />
luser_relay = root</font></code></p>
<p>De este modo todo el correo que se envie a algún usuario que no tiene cuenta se redirige al root.</p>
<p>Si queremos que se redirija a otro usuario cambiamos root por el nombre del usuario que sea.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bocabyte.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bocabyte.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bocabyte.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bocabyte.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bocabyte.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bocabyte.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bocabyte.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bocabyte.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bocabyte.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bocabyte.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bocabyte.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bocabyte.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bocabyte.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bocabyte.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bocabyte.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bocabyte.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=23&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bocabyte.wordpress.com/2007/10/18/configurar-postfix-para-que-acepte-todo-el-correo-vaya-a-quien-vaya/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67828c26248b2202f1249d893ccc5668?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pedro</media:title>
		</media:content>
	</item>
		<item>
		<title>De mpeg a 3gp</title>
		<link>http://bocabyte.wordpress.com/2006/03/07/de-mpeg-a-3gp/</link>
		<comments>http://bocabyte.wordpress.com/2006/03/07/de-mpeg-a-3gp/#comments</comments>
		<pubDate>Tue, 07 Mar 2006 07:40:00 +0000</pubDate>
		<dc:creator>Pedro</dc:creator>
				<category><![CDATA[Encode]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://bocabyte.wordpress.com/2006/03/07/de-mpeg-a-3gp/</guid>
		<description><![CDATA[Pues si ayer puse un post de como pasar de 3gp a mpeg hoy pongo uno al contrario. El comando es: ffmpeg -i video.mpeg -s qcif -r 25 -ac 1 -ar 8000 -b 100 -ab 25 video.3gp mencoder video.mpeg -oac copy -nosound -ovc lavc -lavcopts vcodec=h263p:acodec=amr_nb -of lavf -vf scale=176:144 -o video.3gp<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=19&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Pues si ayer puse un post de como pasar de 3gp a mpeg hoy pongo uno al contrario.<br />
El comando es:</p>
<ul>
<li><span style="color:#ff0000;">ffmpeg -i video.mpeg -s qcif -r 25 -ac 1 -ar 8000 -b 100 -ab 25 video.3gp</span></li>
<li><span style="color:#ff0000;">mencoder video.mpeg -oac copy -nosound -ovc lavc -lavcopts vcodec=h263p:acodec=amr_nb -of lavf -vf scale=176:144 -o video.3gp<br />
</span></li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bocabyte.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bocabyte.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bocabyte.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bocabyte.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bocabyte.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bocabyte.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bocabyte.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bocabyte.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bocabyte.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bocabyte.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bocabyte.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bocabyte.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bocabyte.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bocabyte.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bocabyte.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bocabyte.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=19&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bocabyte.wordpress.com/2006/03/07/de-mpeg-a-3gp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67828c26248b2202f1249d893ccc5668?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pedro</media:title>
		</media:content>
	</item>
		<item>
		<title>De 3gp a mpeg</title>
		<link>http://bocabyte.wordpress.com/2006/03/06/de-3gp-a-mpeg/</link>
		<comments>http://bocabyte.wordpress.com/2006/03/06/de-3gp-a-mpeg/#comments</comments>
		<pubDate>Mon, 06 Mar 2006 14:09:00 +0000</pubDate>
		<dc:creator>Pedro</dc:creator>
				<category><![CDATA[Encode]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://bocabyte.wordpress.com/2006/03/06/de-3gp-a-mpeg/</guid>
		<description><![CDATA[¿Quien no tiene ya un movil que graba videos?, yo si y por eso he buscado como reproducir los 3gp, pero me he dado cuenta que es mejor convertirlos a mpg, de ese modo los puedes mandar por e-mail a quien quieras y es mucho mas compatible. REQUISITOS: mencoder ffmpeg Pasos para gentoo: emerge ffmpeg [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=18&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>¿Quien no tiene ya un movil que graba videos?, yo si <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  y por eso he buscado como reproducir los 3gp, pero me he dado cuenta que es mejor convertirlos a mpg, de ese modo los puedes mandar por e-mail a quien quieras y es mucho mas compatible.<br />
<span class="fullpost"><br />
REQUISITOS:</span></p>
<ul>
<li>mencoder</li>
<li>ffmpeg</li>
</ul>
<p>Pasos para gentoo:</p>
<ul>
<li>	emerge ffmpeg mencoder</li>
</ul>
<p>En este momento ya tenemos los codecs necesarios.<br />
Ahora pasamos el 3gp a mpg, primero sacamos el audio con ffmpeg y luego los unimos con mencoder.</p>
<ul>
<li>ffmpeg -i miArchivo.3gp -acodec mp2 -ar 22050 -f wav sonidoTmp.mp2</li>
<li>mencoder -audiofile sonidoTmp.mp2 -o miArchivo.mpg -oac copy -ovc lavc -lavcopts vcodec=msmpeg4v2 miArchivo.3gp</li>
</ul>
<p><span style="color:#3366ff;">PASOS</span> para otras distribuciones : <a href="http://julian.coccia.com/blog/index.php?p=66&amp;more=1">AQUI</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bocabyte.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bocabyte.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bocabyte.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bocabyte.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bocabyte.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bocabyte.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bocabyte.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bocabyte.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bocabyte.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bocabyte.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bocabyte.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bocabyte.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bocabyte.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bocabyte.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bocabyte.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bocabyte.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=18&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bocabyte.wordpress.com/2006/03/06/de-3gp-a-mpeg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67828c26248b2202f1249d893ccc5668?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pedro</media:title>
		</media:content>
	</item>
		<item>
		<title>Python sidebar</title>
		<link>http://bocabyte.wordpress.com/2006/02/03/python-sidebar/</link>
		<comments>http://bocabyte.wordpress.com/2006/02/03/python-sidebar/#comments</comments>
		<pubDate>Fri, 03 Feb 2006 18:00:00 +0000</pubDate>
		<dc:creator>Pedro</dc:creator>
				<category><![CDATA[Programación]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://bocabyte.wordpress.com/2006/02/03/python-sidebar/</guid>
		<description><![CDATA[Buenas a todos (aunque me parece que esto solo lo leo yo, jeje), pues resulta que me he viciado con el mejor lenguaje de programación que exixte, python, y el otro dia encontre esto por la web , es una barra lateral , al estilo de la del historial pero con todo lo necesario para [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=17&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Buenas a todos (aunque me parece que esto solo lo leo yo, jeje), pues resulta que me he viciado con el mejor lenguaje de programación que exixte, python, y el otro dia encontre esto por la web , es una barra lateral , al estilo de la del historial pero con todo lo necesario para un curioso de python.<br />
Una cosa si estirais un poco la barra os dareis cuenta de que tiene incluso un buscador, digo si estirais porque a mi no me aparecia por defecto , a lo mejor es que tengo baja la resolución.<br />
Bueno pues aqui os lo dejo, que os sea de ayuda</p>
<p><a href="http://projects.edgewall.com/python-sidebar/html/toc-tutorial.html">http://projects.edgewall.com/python-sidebar/html/toc-tutorial.html</a></p>
<p>Solo teneis que añadirla como un marcador y pulsar en el cuando necesiteis ayuda, está muy bien de verdad.<br />
Probadlo.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bocabyte.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bocabyte.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bocabyte.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bocabyte.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bocabyte.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bocabyte.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bocabyte.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bocabyte.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bocabyte.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bocabyte.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bocabyte.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bocabyte.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bocabyte.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bocabyte.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bocabyte.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bocabyte.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bocabyte.wordpress.com&amp;blog=1938223&amp;post=17&amp;subd=bocabyte&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bocabyte.wordpress.com/2006/02/03/python-sidebar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67828c26248b2202f1249d893ccc5668?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pedro</media:title>
		</media:content>
	</item>
	</channel>
</rss>
