<?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>Tutoriales Linux &#187; Movil</title>
	<atom:link href="http://tutorialeslinux.com/categoria/movil/feed/" rel="self" type="application/rss+xml" />
	<link>http://tutorialeslinux.com</link>
	<description>Tu sitio de COMOs de Linux</description>
	<lastBuildDate>Wed, 12 Aug 2009 23:51:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Compartir conexión a internet con teléfono móvil por bluetooth</title>
		<link>http://tutorialeslinux.com/compartir-conexion-a-internet-con-telefono-movil-por-bluetooth/</link>
		<comments>http://tutorialeslinux.com/compartir-conexion-a-internet-con-telefono-movil-por-bluetooth/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 22:44:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Dispositivos]]></category>
		<category><![CDATA[Movil]]></category>
		<category><![CDATA[Red]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[conexion]]></category>

		<guid isPermaLink="false">http://tutorialeslinux.com/?p=214</guid>
		<description><![CDATA[
Con el bluetooth activado y bien configurado en nuestra distribución, tendremos que establecer una coexión entre nuestro PC y el teléfono, para ello buscamos el teléfono con la herramienta hcitool.
Nota: Los paquetes que no dispongamos se deberán instalar con la correspondiente utilidad de nuestra distribución: léase portage, apt-get &#8230; 

&#91;00:30&#93; XX@gentusso ~ $ hcitool scan
Scanning [...]


No hay post relacionados.]]></description>
			<content:encoded><![CDATA[<p><a href="http://tutorialeslinux.com/wp-content/uploads/2009/07/nokia-music-store-1.jpg"><img src="http://tutorialeslinux.com/wp-content/uploads/2009/07/nokia-music-store-1-300x231.jpg" alt="conexion_movil_pc" title="conexion_movil_pc" width="300" height="231" class="aligncenter size-medium wp-image-217" /></a></p>
<p>Con el bluetooth activado y bien configurado en nuestra distribución, tendremos que establecer una coexión entre nuestro PC y el teléfono, para ello buscamos el teléfono con la herramienta <em>hcitool</em>.<br />
<em>Nota: Los paquetes que no dispongamos se deberán instalar con la correspondiente utilidad de nuestra distribución: léase portage, apt-get &#8230;</em> </p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>00:<span style="color: #000000;">30</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> XX<span style="color: #000000; font-weight: bold;">@</span>gentusso ~ $ hcitool scan
Scanning ...
	00:1A:<span style="color: #000000;">16</span>:1D:8F:XX	Paco</pre></div></div>

<p><span id="more-214"></span></p>
<p>Nos debería mostrar el nombre que le hemos dado al teléfono y su MAC addressSi todo ha ido bien, nos mostrara el nombre de teléfono y su <a href="http://es.wikipedia.org/wiki/Direcci%C3%B3n_MAC">MAC address</a>, editamos el archivo <em>/etc/bluetooth/rfcomm.conf </em><em>, si no existe, debemos crearlo, si existe modificarlo para que coincida con el siguiente ejemplo:</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># RFCOMM configuration file</span>
<span style="color: #666666; font-style: italic;">#</span>
rfcomm0 <span style="color: #7a0874; font-weight: bold;">&#123;</span>
<span style="color: #666666; font-style: italic;"># Automatically bind the device at startup</span>
<span style="color: #7a0874; font-weight: bold;">bind</span> no;
<span style="color: #666666; font-style: italic;"># Bluetooth address of the device</span>
device 00:1A:<span style="color: #000000;">16</span>:1D:8F:XX;
<span style="color: #666666; font-style: italic;"># RFCOMM channel for the connection</span>
channel <span style="color: #000000;">1</span>;
<span style="color: #666666; font-style: italic;"># Description of the connection</span>
comment <span style="color: #ff0000;">&quot;Nokia YYYY&quot;</span>;
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;</span>p<span style="color: #000000; font-weight: bold;">&gt;</span>Para saber el canal en el que opera utilizaremos el comando <span style="color: #000000; font-weight: bold;">&lt;</span>em<span style="color: #000000; font-weight: bold;">&gt;</span>sdptool<span style="color: #000000; font-weight: bold;">&lt;/</span>em<span style="color: #000000; font-weight: bold;">&gt;</span> de la manera:<span style="color: #000000; font-weight: bold;">&lt;/</span>p<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">sdptool browse 00:1A:<span style="color: #000000;">16</span>:1D:8F:XX</pre></div></div>

<p> y nos quedamos con la sección <em>Dial-up Networking</em> y anotamos el canal en el fichero anterior.</p>
<p>Luego viene la configuración de PPP. Abra el archivo <em>/etc/wvdial.conf</em> y añadir el texto siguiente:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>Dialer Defaults<span style="color: #7a0874; font-weight: bold;">&#93;</span>
Phone = <span style="color: #000000; font-weight: bold;">*</span><span style="color: #000000;">99</span><span style="color: #666666; font-style: italic;">#</span>
Password = off
Username = off
Stupid Mode = <span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">&lt;</span> Dial Command = ATDT
New PPPD = <span style="color: #c20cb9; font-weight: bold;">yes</span>
Remote Name = <span style="color: #ff0000;">&quot;*&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>Dialer nokia<span style="color: #7a0874; font-weight: bold;">&#93;</span>
Modem = <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rfcomm0
Baud = <span style="color: #000000;">460800</span>
Init1 = ATZ
Init2 = AT+<span style="color: #007800;">CFUN</span>=<span style="color: #000000;">1</span>
Init3 = ATQ0 V1 E1 <span style="color: #007800;">S0</span>=<span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;C1 <span style="color: #000000; font-weight: bold;">&amp;</span>amp;D2 +<span style="color: #007800;">FCLASS</span>=<span style="color: #000000;">0</span>
ISDN = <span style="color: #000000;">0</span>
Modem Type = Analog Modem
Init5 = AT+<span style="color: #007800;">CGDCONT</span>=<span style="color: #000000;">1</span>,<span style="color: #ff0000;">&quot;IP&quot;</span>,<span style="color: #ff0000;">&quot;broadband.tigo.sv&quot;</span></pre></div></div>

<p>Antes de conectarnos tenemos que crear el enlace “serial” con el teléfono (device 0 en /etc/bluetooth/rfcomm.conf)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>00:<span style="color: #000000;">38</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> gentusso ~ <span style="color: #666666; font-style: italic;"># rfcomm bind 0</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>00:<span style="color: #000000;">38</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> gentusso ~ <span style="color: #666666; font-style: italic;"># rfcomm </span>
rfcomm0:00:1A:<span style="color: #000000;">16</span>:1D:8F:XX channel <span style="color: #000000;">1</span> clean</pre></div></div>

</p>
<p>Deberíamos ver el estado de rfcomm0 como &#8220;clean&#8221;. Ahora solo deberíamos utilizar rebind después de reiniciar el sistema. Ahora solo nos falta usar wvdial para conectar con el teléfono y marcar al ISP:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>gentusso:~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># sudo wvdial nokia</span></pre></div></div>

</p>
<p>Visto en: <a href="http://williamsorellana.wordpress.com/">http://williamsorellana.wordpress.com/</a> y adaptado un poco.
</pre>


<p>No hay post relacionados.</p>]]></content:encoded>
			<wfw:commentRss>http://tutorialeslinux.com/compartir-conexion-a-internet-con-telefono-movil-por-bluetooth/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
