<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5504172786866404344</id><updated>2011-12-12T22:11:19.501-06:00</updated><category term='linux'/><category term='flash'/><category term='ZC0301'/><category term='DNS'/><category term='configuración'/><category term='wifi'/><category term='howto'/><category term='ip estatica'/><category term='webcam'/><category term='videos'/><category term='flv'/><category term='servidor'/><category term='amarok 2'/><category term='youtube'/><category term='impresora'/><category term='particiones'/><category term='ddclient'/><category term='one'/><category term='debian'/><category term='samba'/><category term='camara'/><category term='compiz'/><category term='googleearth'/><category term='acer'/><category term='ntfs-g3'/><category term='Bind'/><title type='text'>DebianiXs</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>29</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-1795020616882515066</id><published>2009-09-06T22:42:00.005-05:00</published><updated>2009-09-06T23:22:41.635-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='amarok 2'/><title type='text'>Amarok 2 sin sonido</title><content type='html'>Hace algunos dias me llego la actualización de amarok de la versión 1.4 a la 2.1.1 (acutalización que esperaba hace mucho), al terminar me encontre que no reproducia ninguna canción, por lo que me dispuse a buscar por google cual era el problema,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_O1xI4FnhCBw/SqSJiVnfOXI/AAAAAAAAAhE/07Ro0AJe_5M/s1600-h/amarok.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 244px;" src="http://3.bp.blogspot.com/_O1xI4FnhCBw/SqSJiVnfOXI/AAAAAAAAAhE/07Ro0AJe_5M/s320/amarok.png" alt="" id="BLOGGER_PHOTO_ID_5378575077998541170" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;despues de un rato encontre &lt;a href="http://tuxtor.shekalug.org/?p=265"&gt;esto&lt;/a&gt;, basicamente el problema es que anteriormente amarok usaba xine, como motor de reproducción, pero con las nuevas versiones, ha cambiado las librerias por unas nuevas llamadas &lt;span style="font-weight: bold;"&gt;phonon&lt;/span&gt;, la razón; por la integración con el nuevo kde4, ya que phonon es la nueva api para aplicaciones multimedia&lt;br /&gt;&lt;br /&gt;Para hacerlo funcionar en gnome solo hay que instalar el siguiente paquete:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#apt-get install phonon-backend-xine&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Con esto amarok comenzo a sonar : ).&lt;br /&gt;&lt;br /&gt;Si es el caso de que siga igual podemos probar con el siguiente paquete:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#apt-get install libxine1-ffmpeg&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;No se si es costumbre o simplemente no termino de digerir la interfaz pero extraño mi otro amarok, ademas de que he encontrado algunos problemas los podcast que no me los agrega y las letras de las canciones no las muestra, ni wikipedia, aun muy prematura la versión?, mala integración con mi gnome?,espero aparesca otra versión que pueda solucinar esto, de momento me inclino por rhythmbox mas austero, pero funcional.&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;Fuente:&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;a href="http://tuxtor.shekalug.org/?p=265"&gt;tuxtor&lt;/a&gt;, &lt;a href="http://www.gigabriones.com/resolver-el-problema-de-sin-sonido-en-amarok-2/"&gt;gigabriones&lt;/a&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-1795020616882515066?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/1795020616882515066/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=1795020616882515066' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/1795020616882515066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/1795020616882515066'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2009/09/amarok-2-sin-sonido.html' title='Amarok 2 sin sonido'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_O1xI4FnhCBw/SqSJiVnfOXI/AAAAAAAAAhE/07Ro0AJe_5M/s72-c/amarok.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-1287517293848274588</id><published>2009-03-10T17:18:00.006-06:00</published><updated>2009-03-11T00:56:25.267-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DNS'/><category scheme='http://www.blogger.com/atom/ns#' term='Bind'/><title type='text'>Configuración servidor DNS con Bind</title><content type='html'>DNS el acrónimo de Domain Name System, nos permite entre otras cosas asociar los nombres de dominio a direcciones ip y la localización de los servidores de correo.&lt;br /&gt;&lt;br /&gt;Bind es por su parte, el servidor de DNS más comúnmente usado en Internet, especialmente en sistemas Linux y Unix. (Antes de continuar quiero aclarar que este tutorial lo he desarrollado con mi poca experiencia con servidores, y basado en otros tutoriales, que al final hago referencia, por lo que si cuenta con algun error, porfavor haganmelo saber para así, irlo mejorando.)&lt;br /&gt;&lt;br /&gt;Para fines prácticos de este tutorial se usara una dirección ficticia al igual que la ip.&lt;br /&gt;El dominio que usaremos sera: &lt;span style="font-weight: bold;"&gt;debianix.com.mx&lt;/span&gt;&lt;br /&gt;La dirección ip: &lt;span style="font-weight: bold;"&gt;74.125.95.104&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Modificamos las siguientes líneas del &lt;span style="font-weight: bold;"&gt;/etc/resolv.conf&lt;/span&gt; para que haga las búsquedas en él mismo que sera el DNS.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;domain debianix.com.mx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;search debianix.com.mx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;nameserver 74.125.95.104&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;— Agregamos a &lt;span style="font-weight: bold;"&gt;/etc/hosts&lt;/span&gt; nuestro nombre de servidor+dominio interno vinculado con su IP.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;127.0.0.1  localhost&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;74.125.95.104 server01.debianix.com.mx  server01&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;— Añadimos las 2 últimas linias en &lt;span style="font-weight: bold;"&gt;/etc/network/interfaces&lt;/span&gt; para que busque en nuestro propio DNS.&lt;br /&gt;auto eth0&lt;br /&gt;iface eth0 inet static&lt;br /&gt;address 192.168.1.254&lt;br /&gt;netmask 255.255.255.0&lt;br /&gt;network 192.168.1.0&lt;br /&gt;broadcast 192.168.1.255&lt;br /&gt;gateway 192.168.1.1&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;dns-nameserver 74.125.95.104&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;dns-search 74.125.95.104&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Instalación de los paquetes necesarios de Bind9:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# apt-get install bind9 bind9-doc dnsutils&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Primero veremos el archivo principal de bind cuyo nombre es named.conf, que en realidad en Debian no se modifica, ya que este direccionara a otro(named.conf.local), sin embargo otros sistemas Linux y Unix, no usan tal redirección. Solo lo veremos como un punto de referencia y para conocer de manera general como funciona.&lt;br /&gt;&lt;br /&gt;Al abrir el archivo podremos ver algo como esto:&lt;br /&gt;&lt;br /&gt;// This is the primary configuration file for the BIND DNS server named.&lt;br /&gt;//&lt;br /&gt;// Please read /usr/share/doc/bind9/README.Debian.gz for information on the&lt;br /&gt;// structure of BIND configuration files in Debian, *BEFORE* you customize&lt;br /&gt;// this configuration file.&lt;br /&gt;//&lt;br /&gt;// If you are just adding zones, please do that in /etc/bind/named.conf.local&lt;br /&gt;&lt;br /&gt;include "/etc/bind/named.conf.options";&lt;br /&gt;&lt;br /&gt;// prime the server with knowledge of the root servers&lt;br /&gt;zone "." {&lt;br /&gt;type hint;&lt;br /&gt;file "/etc/bind/db.root";&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;// be authoritative for the localhost forward and reverse zones, and for&lt;br /&gt;// broadcast zones as per RFC 1912&lt;br /&gt;&lt;br /&gt;zone "localhost" {&lt;br /&gt;type master;&lt;br /&gt;file "/etc/bind/db.local";&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;zone "127.in-addr.arpa" {&lt;br /&gt;type master;&lt;br /&gt;file "/etc/bind/db.127";&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;zone "0.in-addr.arpa" {&lt;br /&gt;type master;&lt;br /&gt;file "/etc/bind/db.0";&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;zone "255.in-addr.arpa" {&lt;br /&gt;type master;&lt;br /&gt;file "/etc/bind/db.255";&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;include "/etc/bind/named.conf.local";&lt;br /&gt;&lt;br /&gt;¡Extraño!, pues no tanto si se comprende el funcionamiento, vamos por partes(tomando en cuenta que las “//” son los comentarios), la primera linea:&lt;br /&gt;&lt;br /&gt;Una redirección al archivo named.conf.options, siendo una de sus funciones el de indicar los fordwardes, cuya funcion se mecionará mas adelante.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;include "/etc/bind/named.conf.options"; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;zone “.”&lt;/span&gt; es el inicio de la búsqueda, es decir, cuando el dns está tratando de resolver un nombre de dominio, el comienzo de la búsqueda son los servidores raíz, hay 13 en el mundo y estos servidores tienen la información de la siguiente parte de la búsqueda.&lt;br /&gt;&lt;br /&gt;De &lt;span style="font-weight: bold;"&gt;zone “localhost” a zone “225.in-addr.arpa”&lt;/span&gt; permite traducir a localhost.&lt;br /&gt;&lt;br /&gt;En la ultima linea:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;include “/etc/bind/named.conf.local”;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;En esta ultima linea podemos ver que hay una redirección al archivo named.conf.local, en este archivo es donde pondremos nuestro dominio(Al parecer en otros linux, se configura el dominio directamente en el archivo named.conf).&lt;br /&gt;&lt;br /&gt;Comencemos con la configuración del dominio:&lt;br /&gt;&lt;br /&gt;abrimos el archivo&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#nano /etc/bind/named.conf.local&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;usaremos el dominio ficticio debianix.com.mx&lt;br /&gt;&lt;br /&gt;zone "debianix.com.mx" {&lt;br /&gt;   type master;&lt;br /&gt;   file "/etc/bind/zones/db.debianix.com.mx";&lt;br /&gt;   allow-query { any; };&lt;br /&gt;   allow-transfer { slaves; };&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;El orden de las zonas es completamente irrelevante, pero se recomienda dejarlas en orden alfabético para una más fácil localización en el futuro (por ejemplo, por tareas de mantenimiento). Nótese que el nombre de la zona no termina en "."&lt;br /&gt;(punto). Este es el cometido de los parámetros de cada zona:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; 1. type master;&lt;/span&gt; significa que el servidor de dominios es primario o maestro de la zona. Al configurar servidores secundarios, se usará type slave;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2. file "/etc/bind/zones/db.debinaix.com.mx";&lt;/span&gt; es el fichero donde especificaremos la configuración de esa zona.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; 3. allow−query { any; };&lt;/span&gt; significa que se permiten consultas (del inglés, queries) externas a la zona. Esto es algo útil y necesario, a menos que se quiera ser muy paranoico con la seguridad. Simplemente se ofrece de forma técnicamente ordenada la información que es públicamente accesible.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4. allow−transfer { slaves; };&lt;/span&gt; posibilita la transferencia automática de esta configuración a los servidores secundarios de las zonas bajo nuestro control que se especifiquen en la lista slaves.&lt;br /&gt;&lt;br /&gt;Ahora hay que crear el fichero de definición de zona, el primero es que indicamos en la linea file &lt;span style="font-weight: bold;"&gt;"/etc/bind/zones/db.debianix.com.mx";&lt;/span&gt; como podemos ver se creo una carpeta llamada zones, así que abrimos un terminal y procedemos a a crearlo(zones es una carpeta, esto es para tener una mejor organización de zonas en caso  de que sean mas):&lt;br /&gt;;&lt;br /&gt;; BIND data file for zone debianix.com.mx&lt;br /&gt;;&lt;br /&gt;$TTL 604800&lt;br /&gt;@ IN SOA ns.debianix.com.mx. hostmaster.debianix.com.mx. (&lt;br /&gt;2009030401   ; Serial yyyy/mm/dd/id&lt;br /&gt;  10800   ; Refresh (3 hours)&lt;br /&gt;   7200   ; Retry (2 hours)&lt;br /&gt;1296000   ; Expire (15 days)&lt;br /&gt; 172800 ) ; Negative Cache TTL (2 days)&lt;br /&gt;;&lt;br /&gt;NS     ns1.debianix.com.mx.&lt;br /&gt;NS     ns2.debianix.com.mx.&lt;br /&gt;MX     1 ns1.debianix.com.mx.&lt;br /&gt;MX     2 ns2.debianix.com.mx.&lt;br /&gt;TXT    "Debianix"&lt;br /&gt;HINFO  "pemtium III" "Debian GNU/Linux"&lt;br /&gt;LOC    39 34 58 N 2 38 2 E 100m 10000m 20m 100m&lt;br /&gt;;&lt;br /&gt;localhost              A 127.0.0.1&lt;br /&gt;debianix.com.mx. A  74.125.95.104&lt;br /&gt;ns1             A 74.125.95.104&lt;br /&gt;ns2             A 74.125.95.104&lt;br /&gt;www                    A 74.125.95.104&lt;br /&gt;pop3                    A 74.125.95.104&lt;br /&gt;smtp                    A 74.125.95.104&lt;br /&gt;ftp                        A 74.125.95.104&lt;br /&gt;server01              A 74.125.95.104&lt;br /&gt;&lt;br /&gt;Se comentan acto seguido todas y cada una de las directivas y opciones de estos ficheros de configuración (un punto y coma, ";", indica que todo lo que hay a su derecha es un comentario):&lt;br /&gt;&lt;br /&gt; &lt;span style="font-weight: bold;"&gt;1. $TTL 604800:&lt;/span&gt; directiva obligatoria a partir de la versión 9 de Bind (RFC1035 y RFC2308), indica el tiempo de vida (TTL, del inglés, Time To Live) de la información contenida en el fichero. Es decir, el tiempo máximo de validez, tras el cual deberá refrescarse o actualizarse (para comprobar que no haya cambiado). Es lo que se conoce como caché positiva/negativa (del inglés, positive/negative caching), como se especifica en el RFC2308. Por defecto se usan segundos (604800 segundos equivale a siete días exactos), pero pueden usarse también semanas ($TTL 1w), días ($TTL 7d), horas ($TTL 168h) y minutos ($TTL 10080m). Estas abreviaturas se usan asimismo en el registro SOA, que se explica a continuación. Otra directiva interesante, aunque no se use en los ejemplos, es $INCLUDE &lt;zone−file&gt;, que hace que named incluya otro fichero de zona en el lugar donde la directiva se usa. Esto permite almacenar parámetros de configuración comunes a varias subzonas en un lugar separado del fichero de la zona principal.&lt;br /&gt;2. @ IN SOA ns.debianix.com.mx. hostmaster.debianix.com.mx.: el registro SOA (del inglés, Start Of Authority) se encuentra siempre tras las directivas y proclama información relevante sobre la autoridad de un dominio al servidor de nombres. Es siempre el primer recurso en un fichero de zona. El símbolo "@" (arroba)  equivale a la directiva $ORIGIN (o el nombre de la zona si dicha directiva no se ha usado − caso más frecuente) como espacio de nombres de dominio definido por este registro. Este sería el esqueleto de este registro:&lt;br /&gt;&lt;br /&gt;@ IN SOA (primary−name−server) (hostmaster−email) (&lt;br /&gt;                  (-serial−number)&lt;br /&gt;                  (time−to−refresh)&lt;br /&gt;                  (time−to−retry)&lt;br /&gt;                  (time−to−expire)&lt;br /&gt;                  (minimum−TTL) )&lt;br /&gt;&lt;br /&gt;&lt;primary−name−server&gt;&lt;hostmaster−email&gt;&lt;serial−number&gt;&lt;time−to−refresh&gt;&lt;time−to−retry&gt;&lt;time−to−expire&gt;&lt;minimum−ttl&gt;&lt;primary−name−server&gt;&lt;hostmaster−email&gt;&lt;serial−number&gt;&lt;time−to−refresh&gt;&lt;time−to−retry&gt;&lt;/time−to−retry&gt;&lt;/time−to−refresh&gt;&lt;/serial−number&gt;&lt;/hostmaster−email&gt;&lt;/primary−name−server&gt;&lt;/minimum−ttl&gt; &lt;!--   @page { size: 21.59cm 27.94cm; margin: 2cm }   P { margin-bottom: 0.21cm }  --&gt;&lt;zone−file&gt;&lt;primary−name−server&gt;&lt;hostmaster−email&gt;&lt;serial−number&gt;&lt;time−to−refresh&gt;&lt;time−to−retry&gt;&lt;time−to−expire&gt;&lt;minimum−ttl&gt;El servidor de nombres primario que es el autorizado de este dominio se usa en   &lt;span style="font-weight: bold;"&gt;(primary−name−server)&lt;/span&gt; y el correo electrónico de la persona a contactar acerca de este espacio de nombres (del inglés, namespace) se sustituye en&lt;span style="font-weight: bold;"&gt; (hostmaster−email).&lt;/span&gt;&lt;br /&gt;   El campo (&lt;span style="font-weight: bold;"&gt;serial−number)&lt;/span&gt; es un número que se incrementa cada vez que se modifica un fichero de una zona, de forma que Bind se dé cuenta de que tiene que recargar esta zona. Se recomienda usar la fecha de modificación en formato AAAAMMDD, donde AAAA es el año en formato de cuatro cifras, MM es el mes en dos cifras, y DD es el día de mes en dos cifras, seguido de un número de dos cifras, empezando por el 01. De este modo se podrán realizar hasta cien cambios por día&lt;br /&gt;     El campo&lt;span style="font-weight: bold;"&gt; (time−to−refresh)&lt;/span&gt; le dice a los   servidores secundarios (esclavos) cuánto tiempo deben esperar antes de preguntar a su servidor principal (maestro) si se ha hecho algún cambio en la zona.&lt;br /&gt;El valor del campo &lt;span style="font-weight: bold;"&gt;(serial−number)&lt;/span&gt; es usado por los  esclavos para determinar si se está usando información anticuada que deba actualizarse.&lt;br /&gt;&lt;br /&gt;   El campo&lt;span style="font-weight: bold;"&gt; (time−to−retry)&lt;/span&gt; especifica a los servidores esclavos el intervalo de tiempo a esperar antes de solicitar una actualización en el caso de que el servidor de nombres principal no esté respondiendo. Si el servidor maestro no ha respondido a la petición de actualización antes de que expire el tiempo del campo &lt;span style="font-weight: bold;"&gt;(time−to−expire)&lt;/span&gt;, el esclavo dejará de actuar como servidor el autorizado de ese espacio de nombres (zona).&lt;br /&gt;&lt;br /&gt; El campo &lt;span style="font-weight: bold;"&gt;(minimum−TTL)&lt;/span&gt; solicita a otros servidores de dominio que almacenen en su caché la información de esta zona durante al menos la cantidad de tiempo en él especificada.&lt;br /&gt;   Nótese que el campo &lt;span style="font-weight: bold;"&gt;(primary−name−server)&lt;/span&gt; termina en un punto, que es obligatorio poner, y que   representa, según lo explicado en el apartado introductorio del artículo, el servidor de nombres raíz.&lt;br /&gt;   Asimismo, este punto aparecerá en todas las referencias explícitas al dominio a lo largo del fichero. Cuando se  configura un host o subdominio, por ejemplo ftp, se hace una referencia implícita y Bind añade automáticamente el dominio, que saca de la "@" del registro SOA. En cualquier caso, es posible usar referencias implícitas o explícitas indistintamente.&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;3. NS ns1.debianix.com.mx. y NS ns2.debianix.com.mx.:&lt;/span&gt; indican los servidores de nombre que tienen autoridad sobre el dominio.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4. MX 1 ns1.debianix.com.m.: &lt;/span&gt;se trata de un registro MX (del inglés, Mail eXchanger) e indica dónde mandar el correo destinado a un espacio de nombres controlado por esta zona. El dígito que sigue a la palabra  MX representa la prioridad respecto a otros registros MX para la zona, que se especificarían en posteriores   líneas (MX 2 debianix.com.mx.), siguiendo el mismo formato pero variando dicho dígito (incrementándolo a medida que pierdan prioridad frente a anteriores registros). Es decir, cuanto más bajo es el valor de preferencia, mayor prioridad adquiere.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5. TXT "Debianix":&lt;/span&gt; este es un registro a descriptivo, en texto plano (del inglés, plain text), del servidor. Puede usarse libre y arbitrariamente para propósitos diversos. Aparecerá como resultado de una consulta sobre este tipo de registro hecha al servidor de nombres sobre esta zona.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6. HINFO "pentium III" "Debian GNU/Linux" :&lt;/span&gt; otro registro, también a título informativo y totalmente opcional (del inglés, Host INFOrmation), cuyo propósito es informar sobre el hardware y el sistema operativo, en este orden, delimitados por dobles comillas y separados por un espacio o tabulador, de la máquina sobre la cual el servidor de nombres se ejecuta. Tanto este tipo de registro (HINFO) como el anterior (TXT) pueden usarse en cada uno de los subdominios (no únicamente en el dominio principal de la zona), como se verá más abajo.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;7. LOC 39 34 58 N 2 38 2 E 100m 10000m 20m 100m: &lt;/span&gt;registro de localización geográfica del servidor, de nuevo opcional, que es usado por las herramientas de representación gráfica de localizaciones de servidores, por ejemplo las de la asociación CAIDA(10) (del inglés, Cooperative Association for Internet Data Analysis) y otras. Puede encontrarse información sobre este tipo de registro en el RFC1876. Las coordenadas (latitud, longitud y diámetro del objeto) se encuentran en formato WGS−84(11) (del inglés, World Geodetic System, del año 1984).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;8. localhost A 127.0.0.1:&lt;/span&gt; registro que relaciona el host local con su IP de loopback.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; 9. debianix.com.mx. A  74.125.95.104: &lt;/span&gt;registro que relaciona el nombre de dominio de segundo nivel (el "principal" de la zona) con la IP donde está hospedado. Este es el registro más usado, pues cualquier   petición a debianix.com.mx será resuelta mediante este registro, se use el protocolo de comunicaciones que se use  (por ejemplo, http://debianix.com.mx).&lt;br /&gt;10. ns1 A 74.125.95.104: a partir de aquí empieza la traducción de subdominios del dominio para el cual somos el autorizado: los dominios de tercer nivel y sucesivos. Fíjese en que debe crearse un registro para cada uno, sin posibilidad de "agrupar" de ningún modo. Asimismo, nótese que, al ser subdominios de la zona, se ha omitido el sufijo debianix.com.mx., que se encuentra implícito debido a que no termina en "." (punto).   Es simplemente una cuestión de claridad y ahorro de espacio, pues las representaciones en ambas zonas son (repetimos de nuevo) igualmente correctas. Otros registros similares se citan, agrupados, a continuación:&lt;br /&gt;&lt;br /&gt;              ns2     A        213.96.79.79&lt;br /&gt;                    TXT      "debianix.com.mx          secondary nameserver"&lt;br /&gt;                    HINFO    "Intel Pentium          MMX" "Debian Linux"&lt;br /&gt;            www A            217.127.38.156&lt;br /&gt;            pop3 A           217.127.38.156&lt;br /&gt;            smtp A           217.127.38.156&lt;br /&gt;            ftp A            217.127.38.156&lt;br /&gt;            ts      A        213.96.79.79&lt;br /&gt;                    TXT      "debianix.com.mx     "&lt;br /&gt;                    HINFO    "Intel Pentium          MMX" "Debian Linux"&lt;br /&gt;&lt;br /&gt;Notar que se han usado dos direcciones IP distintas, lo que indicaría a priori que, en realidad, todos estos hosts (dominios de tercer nivel) se encuentran tan sólo en dos máquinas distintas. Pero esto no tiene porqué ser cierto, pues podría tenerse una misma IP pública pero varias máquinas sirviendo los distintos puertos usados en estos servicios, gracias a la acción de un router.&lt;br /&gt;A propósito del concepto de alias (www, pop3, smtp y ftp son de hecho el mismo host) existe una controvertida discusión sobre si es mejor usar el tipo de registro CNAME (del inglés, Canonical NAME) o IN  A. Muchos gurús de Bind recomiendan no usar registros CNAME en absoluto, si bien esa discusión se escapa de los objetivos de este artículo. En cualquier caso, es muy recomendable seguir la regla de que los registros MX, CNAME y SOA nunca deben referenciar un registro CNAME, sino exclusivamente algo con un registro tipo "A". Por lo tanto, no es aconsejable usar:&lt;br /&gt;              web CNAME www&lt;br /&gt;Pero sí sería correcto:&lt;br /&gt;              web CNAME ns&lt;br /&gt;También es seguro asumir que un CNAME no es un host adecuado para una dirección de correo electrónico: webmaster@www.linuxsilo.net, sería incorrecta dada la configuración de arriba. La manera de evitar esto es usar registros "A" (y quizás algunos otros también, como el registro MX) en su lugar. El autor de este artículo se decanta por el uso de IN A y recomienda dicha práctica.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Tipos de registros del DNS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Tipo Nombre Función&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Zona SOA&lt;/span&gt; Start Of Authority Define una zona representativa del DNS&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;NS&lt;/span&gt; Name Server Identifica los servidores de zona, delega subdominios&lt;br /&gt;Básicos&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A&lt;/span&gt; Dirección IPv4 Traducción de nombre a dirección&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;AAAA&lt;/span&gt; Dirección IPv6 original Actualmente obsoleto&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A6&lt;/span&gt; Dirección IPv6 Traducción de nombre a dirección IPv6&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PTR&lt;/span&gt; Puntero Traducción de dirección a nombre&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;DNAME&lt;/span&gt; Redirección Redirección para las traducciones inversas IPv6&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;MX&lt;/span&gt; Mail eXchanger Controla el enrutado del correo&lt;br /&gt;&lt;br /&gt;Seguridad&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;KEY&lt;/span&gt; Clave pública Clave pública para un nombre de DNS&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;NXT&lt;/span&gt; Next Se usa junto a DNSSEC para las respuestas negativas&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SIG&lt;/span&gt; Signature Zona autenticada/firmada&lt;br /&gt;Opcionales&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CNAME&lt;/span&gt; Canonical Name Nicks o alias para un dominio&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;LOC&lt;/span&gt; Localización Localización geográfica y extensión&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;RP&lt;/span&gt; Persona responsable Especifica la persona de contacto de cada host&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SRV&lt;/span&gt; Servicios Proporciona la localización de servicios conocidos&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;TXT&lt;/span&gt; Texto Comentarios o información sin cifrar&lt;br /&gt;En nuestro caso definimos los NS, MX y los A.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Traducción inversa&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;En estos momentos, los programas son ya capaces de convertir el nombre debianix.com.mx a  direcciones a las cuales pueden conectarse. Pero también se requiere una zona inversa, capaz de permitir al DNS  convertir una dirección en un nombre.  Este nombre es usado por muchos servidores de diferentes clases (FTP, IRC,  WWW y otros) para decidir si quieren "hablar" con el cliente o no y, si es el caso, quizás incluso cuánta prioridad se le  debe asignar. Para poder tener acceso completo a todos estos servicios en Internet es necesario una zona inversa.&lt;br /&gt;El in-addr.arpa, que contiene las direcciones IP de todos los sistemas en una notación de puntos invertida. Por ejemplo, a la dirección 1.2.3.4 le corresponde el nombre 4.3.2.1.in-addr.arpa. El registro de recurso (RR) que define esto se llama registro PTR.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PTR&lt;/span&gt; - Es el registro inverso, a la inversa del registro a (direcciones ip), traduce direcciones ip a nombres.&lt;br /&gt;&lt;br /&gt;Proseguimos a realizar la configuración de la resolución inversa de nombres en el archivo &lt;span style="font-weight: bold;"&gt;“/etc/bind/named.conf.local”.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#74.125.95.104 solo como referencia pongo mi ip original, no es necesario ponerla&lt;br /&gt;#Aquí definimos la zona de resolución inversa. Cambia 95.125.74 por la dirección de tu red&lt;br /&gt;zone “95.125.74.in-addr.arpa” {&lt;br /&gt;type master;&lt;br /&gt;file “/etc/bind/zones/db.74.125.95″;&lt;br /&gt;allow-query { any; };&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;Ahora Editamos el Archivo “/etc/bind/zones/db.74.125.95”&lt;br /&gt;&lt;br /&gt;;&lt;br /&gt;;&lt;br /&gt;; BIND reverse data file for zone 74.125.95&lt;br /&gt;;&lt;br /&gt;$TTL 604800&lt;br /&gt;@ IN SOA ns.debianix.com.mx. hostmaster.debianix.com.mx. (&lt;br /&gt;2009031501   ; Serial&lt;br /&gt;  10800   ; Refresh (3 hours)&lt;br /&gt;   7200   ; Retry (2 hours)&lt;br /&gt;1296000   ; Expire (15 days)&lt;br /&gt; 172800 ) ; Negative Cache TTL (2 days)&lt;br /&gt;@   IN NS ns1.debianix.com.mx.&lt;br /&gt;  NS ns2.debianix.com.mx.&lt;br /&gt;104 IN PTR ns1.debianix.com.mx.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1.@ IN NS ns1.debianix.com.mx. y NS ns2.debianix.com.mx.:&lt;/span&gt; indican a qué servidores de nombres debe preguntarse por la traducción inversa de una dirección IP de esta zona.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2.104 IN PTR ns1.debianix.com.mx.:&lt;/span&gt; este es el registro que se usará para devolver el nombre que queremos que corresponda con la dirección IP que nos pertenece (cuidado al crear estos registros, pues debe hacerse referencia exclusivamente a direcciones IP que sean de nuestra propiedad o provocaríamos un conflicto). En este caso se indica que la dirección 104 (implícitamente se le añade el sufijo .95.125.74.in−addr.arpa, lo que indica que se trata de "nuestra" dirección IP 74.125.95.104) equivale al host  ns1.debianix.com.mx.&lt;br /&gt;&lt;br /&gt;Ahora hay que configura el archivo /etc/bind/named.conf.options modificamos el archivo&lt;br /&gt;&lt;br /&gt;// forwarders {&lt;br /&gt;//0.0.0.0;&lt;br /&gt;// };&lt;br /&gt;Y dejarlo en algo como esto:&lt;br /&gt;forwarders {&lt;br /&gt;200.23.242.193;&lt;br /&gt;200.23.242.201;&lt;br /&gt;};&lt;br /&gt;En este caso perteneciente al servidor dns de telmex, pero si no tienes a la mano la dns de tu proveedor de internet, o simplemente no los quieres usar (si queremos evitar el caótico servicio de telmex :s) podemos emplear, el servicio de opendns.&lt;br /&gt;&lt;br /&gt;Ahora hay que reinicar al servidor&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#/etc/init.d/bind9 reload&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Realizaremos una verificación del funcionamiento de la resolución de IP a nombre con nslookup:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#nslookup 74.125.95.104&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    Server: 74.125.95.104&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    Adress: 74.125.95.104#53&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;104.95.125.74.in-addr.arpa name= ns1.debianx.com.mx.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Después de realizar una instalación y configuración de nuestro DNS Bind9 con las zones de resolución de nombres a IP y con la resolución de nombres inversa, tenemos que realizar una verificación de nuestros ficheros de configuración por posibles fallos.&lt;br /&gt;Para ello tenemos un comando que nos ayudará a realizar esta tarea tan sencilla, es “named-checkconf”, que todo seguido mostraremos como utilizarla.&lt;br /&gt;&lt;br /&gt;Para revisar nuestro o nuestros ficheros de configuración:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#named-checkconf ubicación_del_fichero_de_configuración&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ejemplo:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#named-checkconf /etc/bind/named.conf.local&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#named-checkconf /etc/bind/named.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Para verificar la zona DNS&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#named-checkzone nombre_zona_dns archivo_de_la_zona&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ejemplo:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#named-checkzone debianix.com.mx /etc/bind/zones/db.debianix.com.mx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;zone debianix.com.mx/IN: loaded serial 2009031101&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;OK&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Basado en :&lt;br /&gt;&lt;a href="http://www.alejandrox.com/2007/11/configurar-un-servidor-dns-con-bind/"&gt;Alejandrox&lt;/a&gt;&lt;br /&gt;&lt;a href="http://bulma.net/body.phtml?nIdNoticia=1334"&gt;Bulma&lt;/a&gt;&lt;br /&gt;&lt;a href="http://88.2.226.169/instalacion-y-configuracion-de-un-servidor-dns-bind9-sobre-debian-lenny-parte-1"&gt;Nekan&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/w.nic.mx/es/Cursos.Info"&gt;NIC Mexico&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.gpltarragona.org/archives/421"&gt;GPLTarragona&lt;/a&gt;&lt;/minimum−ttl&gt;&lt;/time−to−expire&gt;&lt;/time−to−retry&gt;&lt;/time−to−refresh&gt;&lt;/serial−number&gt;&lt;/hostmaster−email&gt;&lt;/primary−name−server&gt;&lt;/zone−file&gt;&lt;/time−to−expire&gt;&lt;/time−to−retry&gt;&lt;/time−to−refresh&gt;&lt;/serial−number&gt;&lt;/hostmaster−email&gt;&lt;/primary−name−server&gt;&lt;/zone−file&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-1287517293848274588?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/1287517293848274588/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=1287517293848274588' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/1287517293848274588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/1287517293848274588'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2009/03/configuracion-servidor-dns-con-bind.html' title='Configuración servidor DNS con Bind'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-3320770027557170327</id><published>2009-03-03T17:55:00.008-06:00</published><updated>2009-03-03T19:50:29.067-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><category scheme='http://www.blogger.com/atom/ns#' term='youtube'/><category scheme='http://www.blogger.com/atom/ns#' term='flv'/><title type='text'>Descargar videos de youtube</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:georgia;"&gt;Algunos días atrás me vi en la necesidad de descargar vídeos del youtube, &lt;span style="font-style: italic;"&gt;googleando&lt;/span&gt; encontré, que usaban un programa llamado &lt;span style="font-style: italic;"&gt;youtube-dl&lt;/span&gt;, que esta en los paquetes oficiales de Debian, pero cuando me dispuse a buscarlo e instalarlo, no encontré nada :s, no se, si cambio de nombre o es un derivado, pero con el buscador de synaptic, encontré uno muy similar llamado clive, que de hecho funciona igual, aquí los pasos:&lt;/span&gt;  &lt;span style="font-family:georgia;"&gt;Para instalarlo en una terminal:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;font-family:georgia;" &gt;#apt-get install clive&lt;/span&gt;  &lt;span style="font-family:georgia;"&gt;&lt;br /&gt;&lt;br /&gt;Para descargar, solo debemos de copiar el url del vídeo deseado:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;font-family:georgia;" &gt;$clive http://www.youtube.com/watch?v=W9PKmPGOnBQ&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_O1xI4FnhCBw/Sa3c5T85OiI/AAAAAAAAAg8/2XZn_9iR19I/s1600-h/a.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_O1xI4FnhCBw/Sa3c5T85OiI/AAAAAAAAAg8/2XZn_9iR19I/s320/a.jpg" alt="" id="BLOGGER_PHOTO_ID_5309142412906019362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt; &lt;span style="font-style: italic;font-family:georgia;" &gt;esta no es la única f&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-style: italic;font-family:georgia;" &gt;unción que tiene, por lo que aconsejo, echarle un vistazo al manual:&lt;/span&gt;  &lt;span style="font-style: italic;font-family:georgia;" &gt;$man clive&lt;/span&gt;  &lt;span style="font-family:georgia;"&gt;Con esto ya esta descargado el vídeo.&lt;/span&gt;  &lt;span style="font-family:georgia;"&gt;Ahora para poder convertirlo en mpg(pues lo descargamos en el formato original que es flv o mp4), para ello necesitaremos de un programa llamado ffmpeg, para instalarlo:&lt;/span&gt; &lt;span style="font-weight: bold; font-style: italic;font-family:georgia;" &gt;&lt;br /&gt;&lt;br /&gt;#apt-get install ffmpeg&lt;/span&gt;  &lt;span style="font-family:georgia;"&gt;&lt;br /&gt;&lt;br /&gt;Para convertir el video&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;font-family:georgia;" &gt;$ffmpeg -i OriginalConstantineTrailer.mp4 a.mpg&lt;/span&gt;  &lt;span style="font-family:georgia;"&gt;&lt;br /&gt;&lt;br /&gt;Y así obtenemos nuestro vídeo a.mpg&lt;/span&gt;  &lt;span style="font-family:georgia;"&gt;&lt;br /&gt;&lt;br /&gt;Vía: &lt;a href="http://debiantotal.blogspot.com/2007/07/descargar-y-reproducir-vdeos-de-youtube.html"&gt;DebianTotal&lt;/a&gt;, &lt;a href="http://www.adslfaqs.com.ar/descargar-videos-de-youtube-en-linux-debian-y-ubuntu/"&gt;ADSLfaqs&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-3320770027557170327?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/3320770027557170327/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=3320770027557170327' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/3320770027557170327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/3320770027557170327'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2009/03/descargar-videos-de-youtube.html' title='Descargar videos de youtube'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_O1xI4FnhCBw/Sa3c5T85OiI/AAAAAAAAAg8/2XZn_9iR19I/s72-c/a.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-6873029708857338718</id><published>2009-02-28T17:54:00.007-06:00</published><updated>2009-03-01T15:06:14.056-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='googleearth'/><title type='text'>Google Earth 5</title><content type='html'>Hace algunos dias, me convencí de instalar el nuevo google earth. Para ello es muy sencillo tan solo hay que abrir una consola y escribir lo siguiente:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 233px; height: 144px;" src="http://3.bp.blogspot.com/_O1xI4FnhCBw/SanapdjqS_I/AAAAAAAAAgs/QlpdF2UtY84/s320/g2.jpg" alt="" id="BLOGGER_PHOTO_ID_5308014041676532722" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Primero debemos de dar los permisos de ejecución.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;#chmod a+x GoogleEarth.bin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Con la siguiente instrucción se instala:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;#./GoogleEarth.bin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Con eso debe funcionar..... pero que pasa! en consola me apareció la siguiente linea de error&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;./googleearth-bin: relocation error: /usr/lib/i686/cmov/libssl.so.0.9.8: symbol BIO_test_flags, version OPENSSL_0.9.8 not defined in file libcrypto.so.0.9.8 with link time reference&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;En si la librería libcrypto es el problema.&lt;br /&gt;&lt;br /&gt;Hay que escribir en una terminal lo siguiente:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;#cd /opt/google-earth&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Cambiamos el nombre de la librería en cuestión que se llama libcrypto.so.0.9.8&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;#mv libcrypto.so.0.9.8 libcrypto.so.0.9.8.old&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Y realizamos el enlace simbolico de la libreria:&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;#ln -s /usr/lib/libcrypto.so.0.9.8 libcrypto.so.0.9.8&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Vía: &lt;a href="http://lacasadetux.wordpress.com/2009/02/10/instalar-google-earth-5-en-linux/"&gt;lacasadelinux&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-6873029708857338718?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/6873029708857338718/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=6873029708857338718' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/6873029708857338718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/6873029708857338718'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2009/02/google-earth-5.html' title='Google Earth 5'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_O1xI4FnhCBw/SanapdjqS_I/AAAAAAAAAgs/QlpdF2UtY84/s72-c/g2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-3241803844683864793</id><published>2008-12-23T17:57:00.002-06:00</published><updated>2008-12-23T18:13:00.719-06:00</updated><title type='text'>Mostrar reproducción de amarok en amsn</title><content type='html'>Mediante la cencilla instalación de un plugin podremos mostrar lo que estamos escuchando, la descarga la obtenemos de aqui&lt;br /&gt;&lt;a href="http://surfnet.dl.sourceforge.net/sourceforge/amsn/music-1.3.zip"&gt;&lt;br /&gt;http://surfnet.dl.sourceforge.net/sourceforge/amsn/music-1.3.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1.- Lo desempaquetamos y copiamos la carpeta en /home/usuario/.amsn/plugins(La carpete permanece oculta, por lo que tendremos que ir a ver/mostrar los archivos ocultos, &lt;span style="font-style: italic;"&gt;en nautilus&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;2.- Le damos permiso de ejecución al archivo&lt;span style="font-weight: bold;"&gt; infoamarok&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#chmod a+x infoamarok&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3.- Abrimos amarok y seleccionamos &lt;span style="font-weight: bold;"&gt;Cuenta/Selector de plug-ins&lt;/span&gt;. Ahi aparece con el nombre de Music.&lt;br /&gt;&lt;br /&gt;4.- Seleccionamos &lt;span style="font-weight: bold;"&gt;Music&lt;/span&gt; y luego Configurar, ahi seleccionamos amarok y guardar.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-3241803844683864793?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/3241803844683864793/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=3241803844683864793' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/3241803844683864793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/3241803844683864793'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/12/mostrar-reproduccin-de-amarok-en-amsn.html' title='Mostrar reproducción de amarok en amsn'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-6702126056776765448</id><published>2008-09-19T21:21:00.002-05:00</published><updated>2008-09-19T21:42:55.663-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='configuración'/><category scheme='http://www.blogger.com/atom/ns#' term='ntfs-g3'/><category scheme='http://www.blogger.com/atom/ns#' term='particiones'/><title type='text'>configurar particiones ntfs-g3</title><content type='html'>&lt;div style="text-align: justify;"&gt;Hace algunos dias llego a mis manos un disco duro externo de marca simpletech de 250GB de almacenamiento(diseñado por &lt;a href="http://es.wikipedia.org/wiki/Pininfarina"&gt;pininfarina&lt;/a&gt;), del cual tenia que sacar algunos archivos, al conectar al puerto usb me marco un error, que me decia que el formato del disco duro &lt;span style="font-weight: bold;"&gt;ntfs-g3&lt;/span&gt; no era compatible con el sistema operativo.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Asi que, para solucionar ese pequeño problema, realicé los siguientes pasos:&lt;br /&gt;&lt;br /&gt;1.- Desde synaptic buscamos el archivo ntfs-3g o consola:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#apt-get install ntfs-3g&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;2.-Con eso crei que funcionaria, pero me apareción un error de montaje, para solucionarlo, existen dos formas la primera es montar la unidad con la siguiente instrucción&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#mount -t ntfs-3g /dev/sda5 /media/disk -o force&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;O directamente desde el fstab(para acceder al fstab escribimos &lt;span style="font-weight: bold;"&gt;#nano /etc/fstab&lt;/span&gt;):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;/dev/sad5 /media/disk ntfs-3g force 00&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;La ultima no la probe, pues con la primera opción me funcionó, como nota en donde dice sda5 se cambia por la unidad o unidades(en caso de tener varias particiones), que en mi caso fue la 5&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-6702126056776765448?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/6702126056776765448/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=6702126056776765448' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/6702126056776765448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/6702126056776765448'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/09/configurar-particiones-ntfs-g3.html' title='configurar particiones ntfs-g3'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-3245924966054602112</id><published>2008-09-08T14:31:00.002-05:00</published><updated>2008-09-08T14:46:36.136-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='videos'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><category scheme='http://www.blogger.com/atom/ns#' term='youtube'/><title type='text'>flash player</title><content type='html'>&lt;div style="text-align: justify;"&gt;Caundo instale debian, note que los navegadores (epiphany, iceweasel) no tenian el plugin de flash, que permite entre otras cosas, poder ver videos de youtube y animaciones.&lt;br /&gt;&lt;br /&gt;para instalar los paquetes flash player, tan solo hay que buscar en synaptic, o desde consola, los plugins llamados &lt;span style="font-weight: bold;"&gt;sun-java6-pluing&lt;/span&gt; y &lt;span style="font-weight: bold;"&gt;flashplugin-nonfree-extrasound&lt;/span&gt;. De esta forma podremos ver todas las aplicaciones flash.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-3245924966054602112?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/3245924966054602112/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=3245924966054602112' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/3245924966054602112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/3245924966054602112'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/09/flash-player.html' title='flash player'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-1427745569657972917</id><published>2008-09-07T19:02:00.003-05:00</published><updated>2008-09-07T19:52:10.620-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='webcam'/><category scheme='http://www.blogger.com/atom/ns#' term='ZC0301'/><category scheme='http://www.blogger.com/atom/ns#' term='camara'/><title type='text'>Webcam Genius look 312P (ZC0301)</title><content type='html'>&lt;div style="text-align: justify;"&gt;La camara genius look 312p(como seña particular, que tiene forma de perro :)), cuenta con el chip de z-star zc0301, un chip muy conocido en la comunidad linux, por ser común, y de tener un suporte directo por el kernel, por lo que su compilación es de lo mas rápido y fácil.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#apt-get install gspca-modules-2.6.26-1-686&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Que se debe de cambiar de acuerdo a la arquitectura y kernel, que se este usando(que si no se conoce, podemos escribir en consola, la instrucción &lt;span style="font-weight: bold;"&gt;$uname -a&lt;/span&gt;).&lt;br /&gt;&lt;br /&gt;Para verificar el funcionamiento de la camara, podemos instalar &lt;span style="font-weight: bold;"&gt;camorama&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#apt-get install camorama&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;y listo, ya podemos usar nuestra camara.&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;basado en:&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://ubuntufacile.blogspot.com/2007/12/webcam-z-star-zc0301-riconoscimento-su.html"&gt;&lt;br /&gt;ubuntufacile.blogspot&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://celtico-celtico.blogspot.com/2007/09/webcam-bajo-linux.html"&gt;celtico-celtico.blogspot&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-1427745569657972917?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/1427745569657972917/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=1427745569657972917' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/1427745569657972917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/1427745569657972917'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/09/webcam-genius-look-312p-zc0301.html' title='Webcam Genius look 312P (ZC0301)'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-4103596434418325178</id><published>2008-09-04T20:53:00.015-05:00</published><updated>2008-12-03T20:11:08.111-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='compiz'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='howto'/><category scheme='http://www.blogger.com/atom/ns#' term='acer'/><category scheme='http://www.blogger.com/atom/ns#' term='one'/><category scheme='http://www.blogger.com/atom/ns#' term='wifi'/><title type='text'>Acer one+debian+wifi+compiz fusion(Actualizado)</title><content type='html'>&lt;div style="text-align: justify;"&gt;la Aspire ONE es la ultraportatil de acer, cuenta con un &lt;strong style="font-weight: normal;"&gt;procesador Intel Atom a 1,6 Ghz, 1 Gb de RAM, pantalla retroiluminada mediante LEDs de 8,9″, 120GB de disco, lector de tarjetas de memoria, sistema operativo Windows XP,(aunque tambien existe otra ve&lt;/strong&gt;&lt;strong style="font-weight: normal;"&gt;rsión con disco ssd de 8Gb y sistema operativo limpus, si, es un GNU/linux). A continuación estan los pasos para instalar debian.&lt;/strong&gt;&lt;br /&gt;&lt;strong style="font-weight: normal;"&gt;&lt;/strong&gt;&lt;/div&gt;&lt;strong style="font-weight: normal;"&gt;&lt;br /&gt;&lt;/strong&gt;&lt;div style="text-align: justify;"&gt;&lt;strong style="font-weight: normal;"&gt;El primer problema es instalar el SO, ya que no cuenta con unidad de cd rom, afortunadamente en la comunidad linux, dan muchas opciones de instalación, muchas de ellas muy interesantes, pero al final se decidio por medio de una memoria usb(como no los cuenta &lt;a href="http://krypto84sv.blogspot.com/2007/12/arrancar-debian-desde-una-memoria-usb.html"&gt;cripto84sv&lt;/a&gt;).&lt;/strong&gt;&lt;br /&gt;&lt;strong style="font-weight: normal;"&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;strong style="font-weight: normal;"&gt;Se requiere de una memoria usb como minimo de 256 Mb.&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;div style="text-align: justify;"&gt;&lt;strong style="font-weight: normal;"&gt;Descargar la iso de debian conocida como &lt;a href="http://cdimage.debian.org/debian-cd/4.0_r4a/i386/iso-cd/"&gt;netisnt&lt;/a&gt; y el archivo llamado installer, pero hay un problema el archivo installer tiene que ser exactamente igual a la versión del netinst, en el momento en que se instalo esta laptop existe la version del &lt;/strong&gt;&lt;strong style="font-weight: normal;"&gt;netinst &lt;span style="font-weight: bold;"&gt;revisión 4 &lt;/span&gt;mientras que el installer solo llega a la &lt;span style="font-weight: bold;"&gt;revisión 3&lt;/span&gt;, al momento de instalar marcará un error de incompatibilidad de kernel y aunque se puede continuar, no quisimos arriesgar la instalación y sobre todo el tiempo, por lo que tuvimos que conseguir el netinst r3 desde un torrent de &lt;a href="http://linuxtracker.org/index.php?id=d1b8e54aff750b3f43eab9e40495ca59413e9276&amp;amp;page=torrent-details"&gt;aqui&lt;/a&gt; y bajar el &lt;a href="http://ftp.nl.debian.org/debian/dists/etch/main/installer-i386/current/images/hd-media/"&gt;installer&lt;/a&gt; disponible, el archivo se llama boot.img.gz&lt;/strong&gt;&lt;br /&gt;&lt;strong style="font-weight: normal;"&gt;&lt;/strong&gt;&lt;/div&gt;&lt;strong style="font-weight: normal;"&gt;&lt;br /&gt;Ahora que se tiene los archivos, se procede a copiar a la memoria(como nota, la memoria tiene que estar formateada en fat 16 y tener los flags en la opcion de boot, esto se puede hacer desde el gparted), y escribimos en una consola lo siguien&lt;/strong&gt;&lt;strong style="font-weight: normal;"&gt;te:&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;span style="font-weight: bold;"&gt;# gzip -dc boot.img.gz &gt; /dev/sdb1&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;(sdb1 corresponde a la unidad de memoria)&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;ahora hay que copiar la iso a la memoria&lt;span style="font-weight: bold;"&gt;.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Se requiere que al iniciar la pc, se debe seleccionar la memoria como inicio.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Al terminar la instalación debe de marcar un error de configuración de video, siendo una tarjeta intel(si es que se instalo la versión etch, que fue nuestro caso)&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;/span&gt;para solucionarlo debemos de realizar una reconfiguración de video por medio del siguiente comando(si se dificulta &lt;a href="http://debiantotal.blogspot.com/2008/02/reconfigurar-servidor-grfixo-xorg-en.html"&gt;aqui&lt;/a&gt; un tutorial donde se explica las preguntas que nos muestra al estar configurando)&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#dpkg-reconfigure xserver-xorg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Ahi seleccionamos la configuración de video vesa(que es el driver generico, esto permitira acceder al sistema grafico), a una resolución menor a 1280x800, profundidad de 16, y colocamos las opcines genericas, con eso debemos de poder entrar al entorno grafico&lt;span style="font-weight: bold;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span&gt;Una vez dentro del&lt;/span&gt;&lt;span&gt; ento&lt;/span&gt;&lt;span&gt;rno grafico, realizamos la actualización a la versión lenny&lt;/span&gt;&lt;span&gt;(y si se preguntan porque no usar lenny desde el inicio, pues la razon es que la tarjeta de ethernet es muy inestable al momento de que el sistema de instalación lo reconosca, curiosamente en etch lo reconoce mas facil que lenny, ya que en lenny se bloquea y ya no permite seguir instalando, asi que optamos por etch, como nota que en windows la detecto y trabajo si ningun problema, asi que descartamos problemas de hardware)&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span&gt;Antes de cambiar a lenny debemos de actualizar con un &lt;span style="font-weight: bold;"&gt;apt-get update&lt;/span&gt; y con las que aparece en el icono de gestor de actualiz&lt;/span&gt;&lt;span&gt;ación para evitar problemas de dependencias&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;Para realizar la actualización solo debemos de cambiar las direcciones del sources.list&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;#nano /etc/apt/sources.list&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;Ahi cambiamos todo lo que diga etch por lenny&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span&gt;y actualizamos con apt-get update&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;Ya teniendo lenny podemos reconfigurar el video y la wireless(el sonido se reconcio automaticamente).&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;Para la wireless&lt;/span&gt;(&lt;span style="font-weight: bold;"&gt;atheros AR5007/AR242X&lt;/span&gt;), al inicio al probar con &lt;span style="font-weight: bold;"&gt;ifconfig&lt;/span&gt; se reconocia pero no se lograba conectar; al instalar los paquetes madwifi-source y madwifi-tools(tratando de hacerla funcionar), la tarjeta quedo inhabilitada :(, en algunos blogs decian que el modelo de la tarjeta no era compatible con los drivers que trae debian&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;(Siguiendo los paso&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-style: italic;"&gt;s que nos explica el blog de &lt;/span&gt;&lt;a style="font-style: italic;" href="http://crokan.blogspot.com/2008/04/atheros-ar5007ar242x-en-debian-lenny.html"&gt;crokan&lt;/a&gt;&lt;span style="font-style: italic;"&gt;, pasamos a descargar el &lt;/span&gt;&lt;a style="font-style: italic;" href="http://snapshots.madwifi.org/special/madwifi-nr-r3366+ar5007.tar.gz"&gt;archivo&lt;/a&gt;&lt;span style="font-style: italic;"&gt; de los drivers, pero al momento de descomprimir no aparecio nada(tan solo el readme), desde &lt;/span&gt;&lt;a style="font-style: italic;" href="http://gndx.org/2008/08/wifi-atheros-en-debianubuntu/"&gt;gndx.org&lt;/a&gt; nos muestran otra fuente de &lt;a style="font-style: italic;" href="http://gndx.org/wp-content/themes/MassiveNews/images/dot.gif"&gt;descarga&lt;/a&gt;&lt;span style="font-style: italic;"&gt;)&lt;/span&gt;. ACTUALIZADO. Los driver anteriores del r3366 ya no son de utilidad, &lt;a href="http://madwifi-project.org/ticket/1192"&gt;aqui&lt;/a&gt; la descripción del problema, por lo que debemos de conseguir los nuevos drivers, de&lt;a href="http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/"&gt; aqui&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Para poder compilar a veces nos puede marcar error de cabecera del kernel, o algo parecido. Para resolverlo debemos primero instalar el siguiente paquete:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# uname -r&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Uname nos muestra la versión del kernel&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#aptitude install build-essential linux-headers-`uname -r`&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Para instalar los driver(como lo cuenta &lt;a href="http://gndx.org/2008/10/wifi-atheros-ar5007-debian-lenny/"&gt;gndx&lt;/a&gt;).&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;#&lt;span style="font-weight: bold;"&gt;tar zxvf &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;madwifi-hal-0.10.5.6-r3879-20081204.tar.gz&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;#cd /home/usuario/descarga/&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;madwifi-hal-0.10.5.6-r3879-20081204&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#chmod a+x &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;madwifi-hal-0.10.5.6-r3879-20081204&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#ma&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;ke&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;#make install&lt;br /&gt;&lt;br /&gt;#modprobe ath_pci&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;en este punto ya se tiene la tarjeta activa&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;ahora se agrega el modulo ath_pci a la lista de modulos que cargan en el arranque&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;#gedit /etc/modules&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;y escribimos &lt;span style="font-weight: bold;"&gt;ath_pci&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;luego activamos la tarjeta&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;#ifconfig ath0 up&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;Se comprueba el funcionamiento (se debe de tener instalado el paquete &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;wireless-tools&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;:&lt;br /&gt;&lt;br /&gt;#iwlist ath0 scan&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;con esto ya tendremos configurada nuestra tarjeta, se puede instalar &lt;span style="font-weight: bold;"&gt;wifiradar&lt;/span&gt; (o el que se prefiera)para que adminstre nuestras conexiones&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;.&lt;br /&gt;&lt;br /&gt;Ahora toca turno de configurar el compiz&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;La configuración es mas fácil, podemos detener el entorno grafico&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;(siguiendo el manual de &lt;a href="http://javoaxian.blogspot.com/2008/03/configurar-compiz-fusion-en-debian.html"&gt;javoaxian&lt;/a&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;#/etc/init.d/gdm stop&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;al ejecutar el comando&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#glxinfo | grep render&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;apareció direct rendering: &lt;span style="font-weight: bold;"&gt;no&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Para solucuinar&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#dpkg-reconfigure xserver-xorg&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;Aqui debemos seleccionar la configuración de la tarjeta intel, ya que anteriormente estaba con vesa&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#aptitude reinstall xserver-xorg-video-intel, libgl1-mesa-dri, libgl1-mesa-glx, libglu1-mesa mesa-utils&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Algo extraño pero el xorg.conf no parece estar configurado, pero al hacer la instrucción&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#glxinfo | grep render&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;direct redering aparece como yes,(tal vez un caso muy particular, si no es asi, puedes saltar, asta la instalación de compiz). Para configurar el xorg.conf&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#nano /etc/X11/xorg.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Y añadimos lo siguiente&lt;br /&gt;&lt;br /&gt;En la sección "Module" agregaremos las siguientes líneas en caso de que no existan.&lt;br /&gt;Deberán ajustar los espacios de tabulaciones de acuerdo a su archivo.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Load         "dri"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Load         "glx"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Load         "dbe"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;En la sección "Device" agregar:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Option      "XAANoOffscreenPixmaps" "true"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Option      "DRI"     "true"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;En la sección "ServerLayout" agregar:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Option      "AIGLX" "true"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;En la sección "DRI" verificar que exista algo así:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Group      "video"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Mode       0660&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Y en la sección "Extensions" agregar:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Option "Composite" "Enable"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Si no existe, deberá crearse al final del archivo y colocandolo de la siguiente manera:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Section "Extensions"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;      Option          "Composite"     "Enable"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;EndSection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Para instalar el compiz(&lt;a href="http://shame.tuxfamily.org/repo/?cat=11"&gt;tuxfamily&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;colocamos en el&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt; sources.list&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;y en consola la key publica.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="texto"&gt;&lt;span style="font-weight: bold;"&gt;wget http://download.tuxfamily.org/shames/A42A6CF5.gpg -O- | apt-key add -&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Ahora solo hay que realizar desde consola&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#apt-get update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Y por ultimo instalar el compiz de acuerdo al gusto&lt;br /&gt;&lt;p style="font-weight: bold;"&gt;# apt-get install compiz-fusion-kde (para KDE)&lt;br /&gt;# apt-get install compiz-fusion-gnome (para Gnome)&lt;br /&gt;# apt-get install compiz-gnome emerald emerald-themes (para XFCE)&lt;br /&gt;# apt-get install compiz-fusion-all (o todos los paquetes para cualquier entorno)&lt;/p&gt;Y listo el compiz fusion debe de estar funcionando despues de dar una reiniciada.&lt;br /&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;En colaboración con &lt;a href="http://discovegoogle.blogspot.com/"&gt;Nephtali&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;basado en:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;a href="http://javoaxian.blogspot.com/2008/03/configurar-compiz-fusion-en-debian.html"&gt;javoaxian.blogspot&lt;/a&gt;&lt;br /&gt;&lt;a href="http://madwifi.org/attachment/ticket/1935/madwifi-dfs-ieee80211-skb-update.patch"&gt;madwifi.org&lt;/a&gt;&lt;br /&gt;&lt;a href="http://crokan.blogspot.com/2008/04/atheros-ar5007ar242x-en-debian-lenny.html"&gt;crokan.blogspot&lt;/a&gt;&lt;br /&gt;&lt;a href="http://gndx.org/2008/08/wifi-atheros-en-debianubuntu/"&gt;gndx.org&lt;/a&gt;&lt;br /&gt;&lt;a href="http://krypto84sv.blogspot.com/2007/12/arrancar-debian-desde-una-memoria-usb.html"&gt;krypto84sv.blogspot&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-4103596434418325178?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/4103596434418325178/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=4103596434418325178' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/4103596434418325178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/4103596434418325178'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/09/acer-onedebianwificompiz-fusion.html' title='Acer one+debian+wifi+compiz fusion(Actualizado)'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-9027291594244116871</id><published>2008-09-03T22:20:00.004-05:00</published><updated>2008-09-04T16:27:04.328-05:00</updated><title type='text'>grandr, Debian con monitor secundario</title><content type='html'>&lt;div style="text-align: justify;"&gt;Cuando llegamos a necesitar de un segundo monitor o un proyector, este sencillo programa nos puede solucionar el problema, con una interfaz sencilla y facil de manejar, podemos configurar las caracteristicas de la pantalla sin mayor problema, para instalar:&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;#apt-get install grandr&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-9027291594244116871?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/9027291594244116871/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=9027291594244116871' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/9027291594244116871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/9027291594244116871'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/09/grandr-debian-con-monitor-secundario.html' title='grandr, Debian con monitor secundario'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-1711055416585232511</id><published>2008-09-02T23:24:00.004-05:00</published><updated>2008-09-03T23:00:30.441-05:00</updated><title type='text'>Debian multimedia</title><content type='html'>&lt;div style="text-align: justify;"&gt;Para los que queremos ver peliculas en dvd y demas formatos multimedia, les traigo este pequeño tutorial, primero es necesario obtener los repositorios de esta &lt;a href="http://debian-multimedia.org/"&gt;pagina&lt;/a&gt;(debian multimedia), y copiamos la versión que usemos, en mi caso es lenny.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Abrimos una consola y escribimos&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#nano /etc/apt/sources.list&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;y pegamos la dirección&lt;br /&gt;&lt;br /&gt;&lt;b&gt;deb http://www.debian-multimedia.org lenny main&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;Cerramos y tecleamos&lt;b&gt; &lt;/b&gt;la public key&lt;b&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;#&lt;/span&gt;&lt;/b&gt;&lt;span style="font-weight: bold;"&gt;wget http://debian-multimedia.org/gpgkey.pub -O - | apt-key add - &amp;amp;&amp;amp; apt-get install debian-multimedia-keyring     &lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;#apt-get update&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;En este punto ya tenemos los paquetes, ahora solo se tienen que instalar, para ello&lt;b&gt; &lt;/b&gt;colocamos&lt;b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 255, 255);"&gt;#&lt;/span&gt;&lt;/b&gt;&lt;span style="color: rgb(255, 255, 255); font-weight: bold;"&gt; apt-get install  gxine &lt;strong&gt;gxineplugin&lt;/strong&gt; libdvdcss2  libdvdnav4  libdvdplay0  libdvdread3&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;y asi ya podemos ver peliculas.&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-1711055416585232511?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/1711055416585232511/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=1711055416585232511' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/1711055416585232511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/1711055416585232511'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/09/debian-multimedia.html' title='Debian multimedia'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-3611946269914402634</id><published>2008-08-27T22:17:00.002-05:00</published><updated>2008-08-27T22:53:56.110-05:00</updated><title type='text'>Dar permisos a carpetas y archivos con chmod</title><content type='html'>Algunas veces llegamos a necesitar, acceso a carpetas o archivos que se encuentran fuera del home, y, aunque no es recomendable meterse con archivos del sistema(mas si es uno novato), aqui van las instrucciones:&lt;br /&gt;&lt;br /&gt;para identificar los permisos podemos escribir en consola&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ls -l&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Los permisos que tiene cada archivo o carpeta los identificamos con las letras&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;r lectura &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;w escritura&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;x ejecución&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;para dar los permisos:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;signo - (menos) para quitar permisos&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;signo + (mas) para agregar permisos&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;En consecuencia si nosotro hacemos lo siguiente:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ sudo chmod +w hola.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;le hemos agregado permisos de escritura al archivo hola.txt&lt;br /&gt;&lt;br /&gt;si aplicamos el siguiente comando&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ sudo chmod -w hola.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;le quitamos el permiso de escritura al mismo archivo.&lt;br /&gt;&lt;br /&gt;con el comando&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ sudo chmod +xrw hola.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;le hemos agregado todos los permisos al archivo, es decir, ejecución, lectura y escritura.&lt;br /&gt;&lt;br /&gt;tipo de usuarios.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;u: usuario dueño del archivo&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;g: grupo o dueño del archivo&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;o: otros usuarios&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;a: para todos&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;veamos ejemplos:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ sudo chmod a+x hola.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;con ello todos pueden ejecutar el archivo hola.txt&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ sudo chmod ug+x hola.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;el dueño y el grupo dueño podrá ejecutar el archivo.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;USANDO EL METODO OCTAL&lt;br /&gt;&lt;br /&gt;La otra forma bastante utilizada para administrar los permisos de archivos y carpetas en GNU/Linux, es el método octal.&lt;br /&gt;&lt;br /&gt;Este método utiliza los números octales del siguiente modo:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;000: ningún permiso&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;001: ejecución para el dueño del archivo&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;002: escritura para el dueño del archivo&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;004: lectura para el dueño del archivo&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;010: ejecución para el grupo dueño del archivo&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;020: escritura para el grupo dueño del archivo&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;040: lectura para el grupo dueño del archivo&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;100: ejecución para resto de usuarios&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;200: escritura para resto de usuarios&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;400: lectura para resto de usuarios&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Bien, quizás es un poco complicado entender este método, pero no, realmente es fácil. Para asignar los permisos estos se suman conforme a la tabla, obteniéndose un solo número que definirá los permisos que tiene nuestro archivo o carpeta, por ejemplo:&lt;br /&gt;&lt;br /&gt;Asignemos todos los permisos al archivo hola.txt y para todos el resto de los usuarios.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ sudo chmod 777 hola.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;¿cómo es eso?&lt;br /&gt;&lt;br /&gt;claro veamos dijimos que ejecución para el resto era 100, escritura para el resto era 200 y lectura para el resto era 400, por lo tanto.&lt;br /&gt;&lt;br /&gt;ordenemos estos permisos&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;100&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;200&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;400&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;700 es la suma que queda para el resto&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;010&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;020&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;040&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;070 es la suma que queda para el grupo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;001&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;002&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;004&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;007 es la suma que queda para el dueño del archivo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;fuente: &lt;a href="http://ubuntusur.org/?p=141"&gt;ubuntusur.org&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-3611946269914402634?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/3611946269914402634/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=3611946269914402634' title='5 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/3611946269914402634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/3611946269914402634'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/08/dar-permisos-carpetas-y-archivos-con.html' title='Dar permisos a carpetas y archivos con chmod'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-7800018823489331749</id><published>2008-07-09T22:47:00.006-05:00</published><updated>2008-09-16T13:00:29.334-05:00</updated><title type='text'>configuracion video en Debian lenny</title><content type='html'>&lt;div style="text-align: justify;"&gt;Al descargar e instalar el cd de lenny todos los procesos salieron bien sin ningun error o problema, pero cuando me dispuse a instalar el compiz, descubri que el archivo xorg.conf estaba con los controladores genericos, una situación complicada si queremos explotar sus capacidades, asi que despues de buscar un rato por google encontre la solución. Al no reconocer la tarjeta "real", debemos de instalarla manualmente ya sea por synaptic o por consola.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;#apt-get install xserver-xorg-video-i810&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;y para activar la aceleración grafica:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;#&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;aptitude install libgl1-mesa-dri libgl1-mesa-glx mesa-utils&lt;br /&gt;&lt;br /&gt;Si es el caso de necestitar un configuración avanzada sigue el link de mi anterior &lt;a href="http://debianix.blogspot.com/2007/12/compiz-fusion.html"&gt;post&lt;/a&gt;&lt;br /&gt;Fuente&lt;br /&gt;&lt;a href="http://debiantotal.blogspot.com/2007/11/instalar-driver-intel-en-debian-etch.html"&gt;debian total&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-7800018823489331749?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/7800018823489331749/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=7800018823489331749' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/7800018823489331749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/7800018823489331749'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/07/configuracion-video-en-debian-lenny.html' title='configuracion video en Debian lenny'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-9215413675522694813</id><published>2008-06-28T22:40:00.002-05:00</published><updated>2008-06-28T23:33:11.402-05:00</updated><title type='text'>hola mundo!!! en python</title><content type='html'>&lt;div style="text-align: justify;"&gt;Esta es mi primera incursión en el lenguaje &lt;a href="http://es.wikipedia.org/wiki/Python"&gt;python&lt;/a&gt;, y por medio del famoso hola mundo podremos adentrarnos a la sintaxis de este exelente lenguaje. Para implementarlo podemos hacerlo de dos formas, una es usando el interprete de python, linea a linea, para ello colocamos el siguiente texto, &lt;span style="font-weight: bold;"&gt;print "hola mundo!!"&lt;/span&gt;, y le damos enter.&lt;br /&gt;&lt;br /&gt;La otra forma es, escribiendo la sintaxis &lt;span style="font-weight: bold;"&gt;print&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;"hola mundo!!!"&lt;/span&gt; en un documento de texto y guardamos con extención .py, por ejemplo&lt;span style="font-style: italic;"&gt; hola.py, &lt;/span&gt;para ejecutar el archivo, abrimos una consola y nos ubicamos en la carpeta en donde se encuentre hola.py, ahi escribimo&lt;span style="font-style: italic;"&gt;s,&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; python hola.py&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Esto es la forma mas simple, con el uso de una consola, ahora vamos a ver como es el hola mundo, empleando los recursos de &lt;a href="http://es.wikipedia.org/wiki/GTK"&gt;gtk&lt;/a&gt;, y de esta manera se podra obtener, un mensaje con interfaz grafica, por lo que se empleará un codigo un poco mas completo, que es el siguiente que coloco aqui:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;import pygtk&lt;br /&gt;pygtk.require('2.0')&lt;br /&gt;import gtk&lt;br /&gt;&lt;br /&gt;class HelloWorld:&lt;br /&gt;&lt;br /&gt;    # This is a callback function. The data arguments are ignored&lt;br /&gt;    # in this example. More on callbacks below.&lt;br /&gt;    def hello(self, widget, data=None):&lt;br /&gt;        print "Hello World"&lt;br /&gt;&lt;br /&gt;    def delete_event(self, widget, event, data=None):&lt;br /&gt;        # If you return FALSE in the "delete_event" signal handler,&lt;br /&gt;        # GTK will emit the "destroy" signal. Returning TRUE means&lt;br /&gt;        # you don't want the window to be destroyed.&lt;br /&gt;        # This is useful for popping up 'are you sure you want to quit?'&lt;br /&gt;        # type dialogs.&lt;br /&gt;        print "delete event occurred"&lt;br /&gt;&lt;br /&gt;        # Change FALSE to TRUE and the main window will not be destroyed&lt;br /&gt;        # with a "delete_event".&lt;br /&gt;        return gtk.FALSE&lt;br /&gt;&lt;br /&gt;    # Another callback&lt;br /&gt;    def destroy(self, widget, data=None):&lt;br /&gt;        gtk.main_quit()&lt;br /&gt;&lt;br /&gt;    def __init__(self):&lt;br /&gt;        # create a new window&lt;br /&gt;        self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)&lt;br /&gt;   &lt;br /&gt;        # When the window is given the "delete_event" signal (this is given&lt;br /&gt;        # by the window manager, usually by the "close" option, or on the&lt;br /&gt;        # titlebar), we ask it to call the delete_event () function&lt;br /&gt;        # as defined above. The data passed to the callback&lt;br /&gt;        # function is NULL and is ignored in the callback function.&lt;br /&gt;        self.window.connect("delete_event", self.delete_event)&lt;br /&gt;   &lt;br /&gt;        # Here we connect the "destroy" event to a signal handler. &lt;br /&gt;        # This event occurs when we call gtk_widget_destroy() on the window,&lt;br /&gt;        # or if we return FALSE in the "delete_event" callback.&lt;br /&gt;        self.window.connect("destroy", self.destroy)&lt;br /&gt;   &lt;br /&gt;        # Sets the border width of the window.&lt;br /&gt;        self.window.set_border_width(10)&lt;br /&gt;   &lt;br /&gt;        # Creates a new button with the label "Hello World".&lt;br /&gt;        self.button = gtk.Button("Hello World")&lt;br /&gt;   &lt;br /&gt;        # When the button receives the "clicked" signal, it will call the&lt;br /&gt;        # function hello() passing it None as its argument.  The hello()&lt;br /&gt;        # function is defined above.&lt;br /&gt;        self.button.connect("clicked", self.hello, None)&lt;br /&gt;   &lt;br /&gt;        # This will cause the window to be destroyed by calling&lt;br /&gt;        # gtk_widget_destroy(window) when "clicked".  Again, the destroy&lt;br /&gt;        # signal could come from here, or the window manager.&lt;br /&gt;        self.button.connect_object("clicked", gtk.Widget.destroy, self.window)&lt;br /&gt;   &lt;br /&gt;        # This packs the button into the window (a GTK container).&lt;br /&gt;        self.window.add(self.button)&lt;br /&gt;   &lt;br /&gt;        # The final step is to display this newly created widget.&lt;br /&gt;        self.button.show()&lt;br /&gt;   &lt;br /&gt;        # and the window&lt;br /&gt;        self.window.show()&lt;br /&gt;&lt;br /&gt;    def main(self):&lt;br /&gt;        # All PyGTK applications must have a gtk.main(). Control ends here&lt;br /&gt;        # and waits for an event to occur (like a key press or mouse event).&lt;br /&gt;        gtk.main()&lt;br /&gt;&lt;br /&gt;# If the program is run directly or passed as an argument to the python&lt;br /&gt;# interpreter then create a HelloWorld instance and show it&lt;br /&gt;if __name__ == "__main__":&lt;br /&gt;    hello = HelloWorld()&lt;br /&gt;    hello.main()&lt;br /&gt;&lt;br /&gt;Como dije un poco mas completo, y mas interesante para comprender a python, codigos, que parece mas un algoritmo :).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://mundogeek.net/archivos/2008/01/16/mi-primer-programa-en-python/"&gt;http://mundogeek.net/archivos/2008/01/16/mi-primer-programa-en-python/&lt;/a&gt; &lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-9215413675522694813?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/9215413675522694813/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=9215413675522694813' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/9215413675522694813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/9215413675522694813'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/06/hola-mundo-en-python.html' title='hola mundo!!! en python'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-6324013836278598975</id><published>2008-04-20T19:43:00.003-05:00</published><updated>2008-04-20T20:50:56.354-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='servidor'/><category scheme='http://www.blogger.com/atom/ns#' term='impresora'/><category scheme='http://www.blogger.com/atom/ns#' term='samba'/><title type='text'>Samba, configuraciones básicas</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;a href="http://es.wikipedia.org/wiki/Samba_%28programa%29"&gt;Samba&lt;/a&gt; es un programa que nos permite acceder a las redes de windows, conpartir y acceder a carpetas, archivos, impresoras, unidades, etc. y tambien los usuarios de windows podran hacer lo mismo con nuestras carpetas compartidas, para instalar podemos ir a synaptic o directamente desde la consola.&lt;br /&gt;&lt;br /&gt;#apt-get install samba samba-common smbfs smbclient&lt;br /&gt;&lt;br /&gt;Una vez instalado, debemos configurar el archivo smb.conf escribimos en consola&lt;br /&gt;&lt;br /&gt;#nano /etc/samba/smb.conf&lt;br /&gt;&lt;br /&gt;Aqui nos dirigimos a la parte en donde se localiza el grupo de trabajo&lt;br /&gt;&lt;br /&gt;# Change this to the workgroup/NT-domain name your Samba server will part of&lt;br /&gt;workgroup = WORKGROUP&lt;br /&gt;&lt;/div&gt;adelante de workgroup se debe de colocar el grupo de trabajo de windows&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;Una vez modificado el archivo, solo nos queda reiniciar samba.&lt;br /&gt;sudo /etc/init.d/samba restart&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Compartiendo Archivos con Samba&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Vamos a modificar el archivo de configuración de Samba:&lt;br /&gt;&lt;br /&gt;#nano /etc/samba/smb.conf&lt;br /&gt;&lt;br /&gt;Busca la línea que dice:&lt;br /&gt;&lt;br /&gt;; security = user&lt;br /&gt;&lt;br /&gt;Y la modificamos por:&lt;br /&gt;&lt;br /&gt;security = user&lt;br /&gt;username map = /etc/samba/smbpasswd&lt;br /&gt;&lt;br /&gt;Con esto lo que estamos haciendo es diciendole a Samba que vamos a autentificar por usuario y donde está la lista de los usuarios permitidos que fue la que creamos anteriormente.&lt;br /&gt;&lt;br /&gt;Para darle acceso a los usuario a sus respectivos directorios home o personales, hacemos lo siguiente:&lt;br /&gt;&lt;br /&gt;Buscamos las línea donde dice&lt;br /&gt;&lt;br /&gt;;[homes]&lt;br /&gt;; comment = Home Directories;&lt;br /&gt;;browseable = no&lt;br /&gt;;valid users = %S&lt;br /&gt;;writable = no&lt;br /&gt;&lt;br /&gt;Y le quitamos el ; para descomentarlos, y en writable le cambiamos no por yes para que el usuario pueda escribir en el directorio.&lt;br /&gt;&lt;br /&gt;Siempre que cambiemos la configuración del archivo smb.conf debemos ejecutar el siguiente comando:&lt;br /&gt;&lt;br /&gt;testparm&lt;br /&gt;&lt;br /&gt;lo que hace este parámetro es verificar que los parámetros del archivo smb.conf estén correctos, luego que nos diga que todo esta bien ejecutamos:&lt;br /&gt;&lt;br /&gt;/etc/init.d/samba restart&lt;br /&gt;&lt;br /&gt;para aplicar los cambios.&lt;br /&gt;&lt;br /&gt;Ahora si quieremos compartir un directorio que llamaremos grupo hacemos lo siguiente, primero creamos la carpeta que queremos compartir si ya no la habíamos creado:&lt;br /&gt;&lt;br /&gt;mkdir /home/grupo&lt;br /&gt;chmod 777 /home/grupo&lt;br /&gt;&lt;br /&gt;La puedes crear donde quieras. Ahora vamos a modificar el archivo de smb.conf, voy a suponer que ya modificaste la parte de security y agregaste /etc/samba/smbusers a este archivo y que ya sabes como abrirlo para editarlo de ahora en adelante. Agregamos la siguientes lineas al final del archivo:&lt;br /&gt;&lt;br /&gt;[Grupo]&lt;br /&gt;comment = Archivos Compartidos&lt;br /&gt;path = /home/grupo&lt;br /&gt;public = yes&lt;br /&gt;writable = yes&lt;br /&gt;create mask = 0700&lt;br /&gt;directory mask = 0700&lt;br /&gt;force user = nobody&lt;br /&gt;force group = nogroup&lt;br /&gt;&lt;br /&gt;Analicemos esta estructura, comment simplemente es un comentario de lo que es la carpeta puedes colocar lo que quieras, path por supuesto es donde esta la carpeta que queremos compartir, public es si quieres hacer esta carpeta disponible publicamente o no, para cambiarlo simplemente coloca no, writable permite definir si se puede escribir en la carpeta o no, create mask y directory mask es la mascara con la que se crearan los archivos (es decir que privilegios tendrán los archivos y directorios creados) si quieras que puedan hacer cualquier acción en la carpeta coloca 0777 en ambas, force group y force user es para forzar que solo un grupo específico o usuario se pueda conectar a esta carpeta.&lt;br /&gt;&lt;br /&gt;Si además queremos que solo un grupo de usuarios pueda accesar a la carpeta agregamos esta línea después de writable:&lt;br /&gt;&lt;br /&gt;valid users = nombre_usuario1 nombre_usuario2&lt;br /&gt;&lt;br /&gt;Donde puedes agregar los usuarios que quieras que tengan acceso.&lt;br /&gt;&lt;br /&gt;Luego de que termines de agregar las carpetas que quieras compartir Guarda el archivo y probamos el archivo smb.conf y reiniciamos el servidor de Samba:&lt;br /&gt;&lt;br /&gt;testparm&lt;br /&gt;/etc/init.d/samba restart&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Compartir y acceder a impresoras&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Compartir impresoras en Samba es muy sencillo simplemente busca estas dos líneas en el archivo /etc/samba/smb.conf&lt;br /&gt;…&lt;br /&gt;# printing = cups&lt;br /&gt;# printcap name = cups&lt;br /&gt;…&lt;br /&gt;&lt;br /&gt;Y descomentalas&lt;br /&gt;…&lt;br /&gt;printing = cups&lt;br /&gt;printcap name = cups&lt;br /&gt;…&lt;br /&gt;&lt;br /&gt;/etc/init.d/samba restart&lt;br /&gt;&lt;br /&gt;De esta forma la impresora podra verse desde una pc con windows e instalar el controlador.&lt;br /&gt;&lt;br /&gt;Para acceder a una impresora a windows lo que tenemos que hacer es, ir a sistema-administración-printing, ahi aparece agregar una nueva impresora y le damos la opción de impresora de red, elegimos la opción de smb windows, nos pide la contraseña de root, despues en host, presionamos la flecha y seleccionamos a la pc con la impresora compartida, abajo seleccionamos el nombre de la impresora. Posteriormente seleccionamos el fabricante y su respectivo modelo y continuamos, hasta que termine de instalar, de esta forma esta ya lista para funcionar.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://m3n3chm0.wordpress.com/2007/06/28/instalando-samba-en-ubuntu-debian-para-compartir-archivos-e-impresoras-en-redes-windows-2/"&gt;&lt;br /&gt;http://m3n3chm0.wordpress.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.maty1206linuxeando.com/?p=791"&gt;http://www.maty1206linuxeando.com/?p=791&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-6324013836278598975?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/6324013836278598975/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=6324013836278598975' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/6324013836278598975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/6324013836278598975'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/04/samba-configuracones-bsicas.html' title='Samba, configuraciones básicas'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-7815472399551208482</id><published>2008-04-18T16:05:00.003-05:00</published><updated>2008-04-18T17:54:43.252-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='servidor'/><category scheme='http://www.blogger.com/atom/ns#' term='ip estatica'/><category scheme='http://www.blogger.com/atom/ns#' term='ddclient'/><title type='text'>convierte ip dinamica en estatica con ddclient</title><content type='html'>&lt;div style="text-align: justify;"&gt;Tal y como lo dice el titulo ddclient nos permite mantener nuestra &lt;a href="http://es.wikipedia.org/wiki/Direcci%C3%B3n_IP"&gt;ip&lt;/a&gt; estatica en dinamica, pero como funciona, ddclient por si solo no es capaz de realizar semejante asaña primero hay que tener una cuenta con algun proveedor de este tipo de servicios, la mas conocida es &lt;a href="https://www.dyndns.com/"&gt;dyndns&lt;/a&gt;, la cual usaremos para configurar nuestro ddclient, el registro basico es gratuito y permite crear varios dominios, aunque si se requiere de opciones mas avanzada como el servicio de correo, habra que pagar.&lt;br /&gt;&lt;br /&gt;Su funcionamiento es cencillo, una vez que tienes un dominio creado por ejemplo rca.homelinux.com, se le asignara el ip que tengasen ese momento, al instante de que esta cambia ddclient le indica a dyndns que hay un cambio y te reasigna la nueva ip a tu dominio de esta forma no importa cuantas veces cambie tu ip, tu pagina se mantendra activa.&lt;br /&gt;&lt;br /&gt;Para instalar ddclient podemos ir a synaptic o directamente desde la consola escribir:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#apt-get install ddclient&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Durante la instalación nos aparecerá un menu en el que seleccionarames al servico en el que estamos dados de alta en este caso es dyndns (www.dyndns.com) en la siguiente opción&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;DynDNS fully qualified domain names: rca.homelinux.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;si existieran varios dominos se colocan separados por comas y sin espacios(ejemplo1.homelinux.com,ejemplo2.ath.cx).&lt;br /&gt;&lt;br /&gt;Posteriormente:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Username for dynamic DNS service: tuusuario-de-dyndns&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Password for dynamic DNS service: tucontraseña-de-dyndns&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;En la siguiente pregunta es necesario colocar la interface de red que estamos usando en mi caso es la eth2 que es la inalambrica, pero esta interface varia en cada maquina de acuerdo al numero de puertos que tenga.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Interface used for dynamic DNS service: eth2 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;en caso de que no aparesca el menu de configuración anterior podemos editar el archivo siguiente:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#nano /etc/ddclient.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;daemon=300&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;syslog=yes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mail=usuario@gmail.com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mail-failure=usuario@gmail.com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;pid=/var/run/ddclient.pid&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;protocol=dyndns2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;use=if, if=eth2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;server=members.dyndns.org&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;protocol=dyndns2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;login=usuario-de-dynds&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;password=’escribir-mi-password-de-usuario-de-dyndns-entre-comillas‘&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;rca.ath.cx,otrodominio.ath.cx,otrositio.ath.cx&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Ahora es muy importante tomar en cuenta lo siguiente, exiten modems de banda ancha como los 3com o linksys con los cuales hay opciones de configurar los puertos para el dyndns de esta forma se permite el acceso y salida de información hacia los servidores, sin embargo aqui en México que el proveedor de servicios de internet es telmex con su chafa prodigy, a tudos sus usuarios, les proporciona un modem muy deficiente, siendo uno de los mas corrientes que puedan haber (2wire), &lt;span style="font-weight: bold;"&gt;  &lt;/span&gt;en el cual no existe esa opción de conexión con dyndns, asi que hay que configurarlo para que nos permita realizar la conexión, primero hay que ir home(desde el navegador) e ir  a la opción de bloque de intruso y luego ir a la opción de configuración de bloqueo de intrusos, ahi seleccionas a tu computadora y luego a la opcion de DMZ que permite desbloquear el firewall y aceptar, de esta manera el dyndns podra funcionar.&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-7815472399551208482?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/7815472399551208482/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=7815472399551208482' title='3 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/7815472399551208482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/7815472399551208482'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/04/ip-dinamica-en-estatica-con-ddclient.html' title='convierte ip dinamica en estatica con ddclient'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-1816908788810303642</id><published>2008-04-16T15:15:00.002-05:00</published><updated>2008-04-16T15:36:55.099-05:00</updated><title type='text'>APTonCD, todos tus programas en cd</title><content type='html'>&lt;div style="text-align: justify;"&gt;Por una u otra razón es necesario llevar nuestros programas favoritos a otra computadora o, a la nuestra cuando llegamos a formatearla, esto llega a ser muy tardado(mas si nuestra conexion no es muy rapida) e incluso desesperante  al momento de descargarlos, APTonCD  nos permite colocar todos los programas que estan instalados en el sistema,ya sea en cd o dvd, esto es una gran ayuda, y nos libera de estar atados a la conexión de internet, su interfaz es cencilla y falcil de manejar, nos muestra una lista de los programas que fueron instalados y da la opción de descartar los que no nos interesen.&lt;br /&gt;&lt;br /&gt;  Para instalarlo solo debemos de ir a synaptic y buscar aptoncd, o directamente desde la consola, apt-get install aptoncd, un programa que nos facilita la vida y realmente nos ahorra mucho tiempo.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-1816908788810303642?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/1816908788810303642/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=1816908788810303642' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/1816908788810303642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/1816908788810303642'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/04/aptoncd-todos-tus-programas-en-cd.html' title='APTonCD, todos tus programas en cd'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-638589193231413953</id><published>2008-03-25T22:31:00.002-06:00</published><updated>2008-03-27T13:15:01.307-06:00</updated><title type='text'>Instalando netbeans 6</title><content type='html'>Primero hay  que instalar los paquetes necesarios, podemos buscar en el synaptic o ir directamente en la consola y escribir lo siguiente:&lt;br /&gt;&lt;br /&gt;#apt-get install sun-java6-bin sun-java6-jdk sun-java6-jre&lt;br /&gt;&lt;br /&gt;Una vez que se instalaron hay que colocar la siguiente linea&lt;br /&gt;&lt;br /&gt;#export JAVA_HOME=/usr/lib/jvm/java-6-sun&lt;br /&gt;&lt;br /&gt;Ahora solo tenemos que bajar el netbeans desde su &lt;a href="http://download.netbeans.org/netbeans/6.0/final/"&gt;pagina.&lt;/a&gt; Una vez descargado hay que abrir la consola y escribir lo siguiente:&lt;br /&gt;&lt;br /&gt;para dar permisos de ejecución:&lt;br /&gt;&lt;br /&gt;#chmod +x netbeans-6.0.1-ml-linux.sh&lt;br /&gt;&lt;br /&gt;Y luego para instalar:&lt;br /&gt;&lt;br /&gt;#./netbeans-6.0.1-ml-linux.sh&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-638589193231413953?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/638589193231413953/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=638589193231413953' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/638589193231413953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/638589193231413953'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/03/instalando-netbeans-6.html' title='Instalando netbeans 6'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-168686664606993429</id><published>2008-03-15T19:22:00.002-06:00</published><updated>2008-09-02T18:33:11.361-05:00</updated><title type='text'>Particiones en fstab</title><content type='html'>Para dar de alta una partición del disco duro desde linux hay que hacer los siguientes pasos:&lt;br /&gt;&lt;br /&gt;1.- Primero debemos de acceder al directorio /etc/fstab, que es donde se encuentra los puntos de montaje de los dispositivos extraibles. para las particiones fat es algo parecido a esto:&lt;br /&gt;&lt;br /&gt;# /etc/fstab: static file system information.&lt;br /&gt;#&lt;br /&gt;# &lt;file&gt; &lt;mount&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt;&lt;br /&gt;proc            /proc           proc    defaults        0       0&lt;br /&gt;/dev/hda3       /               ext3    defaults,errors=remount-ro 0       1&lt;br /&gt;/dev/hda6       none            swap    sw              0       0&lt;br /&gt;/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/dev/hda1 /mnt/windows vfat defaults,user,rw 0 0&lt;br /&gt;/dev/hda5 /mnt/windows98 vfat defaults,user,rw 0 0&lt;br /&gt;&lt;br /&gt;Y para los ntfs es:&lt;br /&gt;&lt;br /&gt;# /etc/fstab: static file system information.&lt;br /&gt;#&lt;br /&gt;# &lt;file&gt; &lt;mount&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt;&lt;br /&gt;proc            /proc           proc    defaults        0       0&lt;br /&gt;/dev/sda2       /               ext3    defaults,errors=remount-ro 0       1&lt;br /&gt;/dev/sda7       none            swap    sw              0       0&lt;br /&gt;/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/dev/sda1 /mnt/hd1 ntfs umask=0222 0 0&lt;br /&gt;/dev/sda5 /mnt/hd5 ntfs umask=0222 0 0&lt;br /&gt;/dev/sda6 /mnt/hd6 ntfs umask=0222 0 0&lt;br /&gt;&lt;br /&gt;(nota: la s de sda1 implica que el disco duro es sata)&lt;br /&gt;&lt;br /&gt;2- Luego hay que crear un directorio para montar el disco duro para ello debemos de ir a la terminal y entrar como root y crear un directorio con la siguiente instrucción&lt;br /&gt;&lt;br /&gt;#mkdir /mnt/TuDirectorio&lt;br /&gt;&lt;br /&gt;3.- Ahora hay que montar el disco duro:&lt;br /&gt;&lt;br /&gt;#mount -t p /dev/hdax /mnt/TuDirectorio&lt;br /&gt;&lt;br /&gt;En 'p' debemos de poner el tipo de partición la x para el numero de partición (vfat o ntfs).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://vargux.blogspot.com/search/label/debian"&gt;http://vargux.blogspot.com/search/label/debian&lt;/a&gt;&lt;/pass&gt;&lt;/dump&gt;&lt;/options&gt;&lt;/type&gt;&lt;/mount&gt;&lt;/file&gt;&lt;/pass&gt;&lt;/dump&gt;&lt;/options&gt;&lt;/type&gt;&lt;/mount&gt;&lt;/file&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-168686664606993429?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/168686664606993429/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=168686664606993429' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/168686664606993429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/168686664606993429'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/03/particiones-en-fstab.html' title='Particiones en fstab'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-8635437773781678646</id><published>2008-03-13T14:09:00.006-06:00</published><updated>2008-03-29T00:08:08.809-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='servidor'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>INSTALACIÓN APACHE-PHP-MySQL</title><content type='html'>&lt;div style="text-align: justify;"&gt;Ya teniendo un poco de experiencia con apache y todo lo que le rodea, escribo este nuevo post, espero ser lo mas entendible y claro posible. Con esto voy a demostrar lo fácil que puede llegar a tener un servidor en exelentes condiciones.&lt;br /&gt;Para instalar apache solo se debe de escribir la siguiente linea en la consola:&lt;br /&gt;&lt;br /&gt;apt-get install apache2&lt;br /&gt;&lt;br /&gt;En la siguiente, se pueden instalar algunos complementos.&lt;br /&gt;&lt;br /&gt;apt-get install apache2-mpm-prefork apache2-doc apache2-utils&lt;br /&gt;&lt;br /&gt;De esta forma tendremos ya funcionando el apache en nuestra computadora, para comprobar que realmente esta funcionando debemos de abrir el iceweasel o epiphany y escribir en la barra de dirección localhost o 127.0.0.1 una vez que cargue saldra un mensaje de it's work!. Ahora hay que instalar el mysql, esto se logra con lo siguiente:&lt;br /&gt;&lt;br /&gt;$ apt-get install mysql-server&lt;br /&gt;Por ultimo se instala el php.&lt;br /&gt;$ apt-get install phpmyadmin&lt;br /&gt;$ apt-get install phpx&lt;br /&gt;$ apt-get install libapache2-mod-phpx&lt;br /&gt;$ apt-get install phpx-gd&lt;br /&gt;$ apt-get install phpx-dom&lt;br /&gt;El x se refiere a las versiones del php, ya que algunos programas no funcionan bien con el 5 y viceversa, pero al fin yo recomendaría instalar la ultima versión.&lt;br /&gt;&lt;br /&gt;$ apt-get install phpx-pgsql&lt;br /&gt;$ apt-get install phpx-mysql&lt;br /&gt;&lt;br /&gt;Tengo entendido que si instalas PHP5 del repositorio (con el 4 no estoy seguro), no se utiliza MySQL por defecto, por lo que deberemos activarlo así: (como root)&lt;br /&gt;&lt;br /&gt;$ nano /etc/php5/apache2/php.ini&lt;br /&gt;&lt;br /&gt;Y quitando el comentario (;) de la línea que aparece a continuación, dejándola así:&lt;br /&gt;&lt;br /&gt;extension=mysql.so&lt;br /&gt;&lt;br /&gt;Por último, reiniciamos nuestro apache: (como root)&lt;br /&gt;&lt;br /&gt;sudo /etc/init.d/apache2 force-reload&lt;br /&gt;&lt;br /&gt;para visualizar nuestras paginas de php los podemos localizar en el directorio /var/www/apache2-default, si creamos por ejemplo, el archivo outime.php, y accedemos por http://localhost/outime.php, nos mostrará eso mismo.&lt;br /&gt;&lt;br /&gt;Aquí está la manera de como tener varios dominios virtuales, en lenguaje mortal como tener varios servidores con una sola IP ej. www.misitio1.com www.misitio2.com www.misitio3.com etc en una misma máquina.&lt;br /&gt;&lt;br /&gt;Debemos tener en cuenta que es muy importante la carpeta /etc/apache2/sites-available ahí se fundamenta toda la estructura de los dominios virtuales, ahi existe un archivo llamado default que es un ejemplo de un dominio virtual. Pues este archivo, es en pocas palabras un dominio virtual que representaría a algo así como www.default.com y ahora nosotros crearemos nuestros dominios virtuales.&lt;br /&gt;En mi caso decidí hacer mi dominio http://rca.homelinux.com/.&lt;br /&gt;#nano /etc/apache2/sites-available/rca&lt;br /&gt;Ahi colocamos las siguientes lineas, se puede abrir el de default para guiarse en como se pueden configurar los dominios&lt;br /&gt;NameVirtualHost *:80&lt;br /&gt;&lt;br /&gt;Con esto ya esta la configuración basica del dominio virtual, pero aun no esta dado de alta en el servidor apache, para ello nos vamos al directorio:&lt;br /&gt;# cd /etc/apache2/sites-available/rca&lt;br /&gt;# sudo a2ensite rca&lt;br /&gt;# sudo /etc/init.d/apache2 force-reload&lt;br /&gt;Para entender el comando a2 significa apache2, en significa enabled (activado) y por último site significa sitio. Ahora con esta configuración cuando escriba la dirección http://rca.homelinux.com en algún navegador web, me dirigirá hacia el sitio de rca.&lt;br /&gt;La linea que contiene las palabras force-reloaded es para forzar a apache2 a que vuelva como a reiniciarse, en este caso sería como recargarse con los nuevos parametros.&lt;br /&gt;Si quiero agregar otro dominio virtual, simplemente repito los pasos que hice para rca y activo mi sitio. También es importante mencionar que el dominio virtual default no me sirve y entonces tengo que desactivarlo y eso lo logro con el siguiente comando.&lt;br /&gt;# sudo a2dissite default&lt;br /&gt;Y automáticamente queda desabilitado a2 significa apache2, dis sinifica disabled y site significa sitio.&lt;br /&gt;&lt;br /&gt;Esta es la primera parte de como crear un servidor, en los siguientes post, mencionare la forma en como se instala la resolución de doinios bind, ssh, servidor de correos, samba y demas recursos, y de los dyndns que son muy útiles para los que no contamos con ips estaticas.&lt;br /&gt;&lt;br /&gt;http://soporteknix.blogspot.com/2006/12/instalar-apache2-mysql-php.html&lt;br /&gt;http://angelclasico.wordpress.com/category/apache/&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-8635437773781678646?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/8635437773781678646/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=8635437773781678646' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/8635437773781678646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/8635437773781678646'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/03/instalacin-apache-php-mysql.html' title='INSTALACIÓN APACHE-PHP-MySQL'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-5462383743808500793</id><published>2008-02-09T22:34:00.000-06:00</published><updated>2008-02-10T17:45:22.813-06:00</updated><title type='text'>ataque DDOS a genbeta</title><content type='html'>Me acabo de enterar que &lt;a href="http://www.genbeta.com/"&gt;genbeta&lt;/a&gt; blog perteneciente a WeblogsSL uno de los blogs de mayor influencia de España, sufrio durante varios dias, &lt;a href="http://es.wikipedia.org/wiki/DDoS"&gt;ataques DDOS&lt;/a&gt; (ataque distribuido de denegación de servicio) debido a una &lt;a href="http://www.genbeta.com/2007/11/13-quieres-saber-quien-te-tiene-no-admitido-en-el-msn-pues-no-des-tu-contrasena-a-desconocidos/"&gt;publicación&lt;/a&gt; realizada en noviembre,en la que se habla, sobre &lt;span style="font-weight: bold;"&gt;los fraudes&lt;/span&gt; que se realizan a los usuarios de messenger, el cual consiste en paginas que te dicen que contactos te tienen como no admitidos o eliminado, para ello, solicitan tu cuenta de usuario y contraseña para poder notifiacarte, obviamente esto es un fraude y que solo es para fines maliciosos.. despues de reiteradas amenzas el dia 3 de febrero la amenaza fue cumplida.. como se  menciona en el articulo, hay que tener mucho cuidado con este tipo de paginas, siempre hay que desconfiar y nunca dar información personal de ningun tipo, la seguridad empieza por uno mismo, evitemos que se siga dando este tipo de fraudes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-5462383743808500793?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/5462383743808500793/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=5462383743808500793' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/5462383743808500793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/5462383743808500793'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/02/ataque-ddos-genbeta.html' title='ataque DDOS a genbeta'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-7281129671573070991</id><published>2008-02-02T20:46:00.000-06:00</published><updated>2008-02-02T21:39:37.261-06:00</updated><title type='text'>configurar ndiswrapper</title><content type='html'>&lt;p style="text-align: justify;"&gt;Para aquellos que tienen tarjetas inalambricas de red sin drivers nativos en linux esta es una buena opción para hacerlas funcionar, aqui pongo los pasos para poder configurarla, espero y les sea de utilidad.&lt;br /&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;Agregar bcm43xx a la blacklist de modprobe&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="text-align: justify;"&gt;&lt;code&gt;# echo 'blacklist bcm43xx' | tee -a /etc/modprobe.d/blacklist&lt;/code&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="text-align: justify;"&gt;Instalar los paquetes necesarios.&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="text-align: justify;"&gt;&lt;code&gt;# aptitude install module-assistant cabextract&lt;/code&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="text-align: justify;"&gt;Instalar ndiswrapper&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;pre&gt;&lt;code&gt;# m-a prepare&lt;br /&gt;# m-a a-i ndiswrapper&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;p style="text-align: justify;"&gt;Descargamos el driver de la tarjeta(el driver tiene que ser un exe para windows xp ya que aun no hay soporte para los de vista).&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;Ejecutamos el cabextract(el archivo .exe que aparece aqui se debe sustituir por el que bajaste).&lt;br /&gt;&lt;pre&gt;&lt;code&gt;cabextract sp34152.exe&lt;/code&gt;&lt;/pre&gt;Instalar el driver usando ndiswrapper. &lt;pre&gt;&lt;code&gt;# ndiswrapper -i bcmwl5.inf&lt;br /&gt;# ndiswrapper -l&lt;br /&gt;# depmod -a&lt;br /&gt;# modprobe ndiswrapper&lt;br /&gt;# cp /etc/network/interfaces /etc/network/interfaces.orig&lt;br /&gt;# echo -e 'auto loniface lo inet loopbackn' | tee /etc/network/interfaces&lt;br /&gt;# ndiswrapper -m&lt;br /&gt;# echo 'ndiswrapper' | tee -a /etc/modules&lt;br /&gt;# echo 'ENABLED=0' | tee -a /etc/default/wpasupplicant&lt;/code&gt;&lt;/pre&gt; &lt;/div&gt;&lt;p style="text-align: justify;"&gt;Reiniciar&lt;/p&gt;&lt;div style="text-align: justify;"&gt;Para comprobar si realmente funciona ejecutamos #iwconfig y verificamos si se detecta la tarjeta&lt;br /&gt;&lt;br /&gt;fuente:&lt;br /&gt;&lt;br /&gt;http://www.kellyandsopho.com/tiki/tiki-index.php?page=LinuxOnHpPaviliontx1000z&lt;br /&gt;&lt;br /&gt;http://blog.leugim.com.mx/index.php/2007/08/08/instalando-debian-gnulinux-40-en-hp-dv6420la/&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-7281129671573070991?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/7281129671573070991/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=7281129671573070991' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/7281129671573070991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/7281129671573070991'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/02/configurar-ndiswrapper.html' title='configurar ndiswrapper'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-5219649050023018973</id><published>2008-02-01T16:26:00.000-06:00</published><updated>2008-02-01T18:04:37.606-06:00</updated><title type='text'>configuración hp tx1219</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;En este post voy a describir como configurar una hp tx1219, que cuenta con procesadar de amd Turion 64bits de doble nucleo, tarjeta de video nvidia gforce go 6150, 2GB de memoria ram ddr2, el  primer paso es descargar el debian 64bits, que tambien funciona en 32 bits pero no se explota al 100% la capacidad del procesador. Una ves que insertamos el cd, debemos de escribir en el boot de inicio lo siguiente:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;code  style="color: rgb(255, 255, 255);font-family:arial;"&gt;&lt;span style="font-weight: bold;"&gt;Press F1 for help, or ENTER to boot: install noapic nolapic noriqpoll&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;code face="arial" style="color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;code face="arial" style="color: rgb(255, 255, 255);"&gt;Esto permite que el video se configure adecuadamente, de lo contrario el entorno grafico no va a arrancar. De ahi todo lo demas es igual en la instalación.&lt;/code&gt;&lt;br /&gt;&lt;code face="arial" style="color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;Hay que actualizar el sistema a lenny ya que esto permitira que se configure mas fácil para ello se debe de editar el fichero(se debe de ejecutar en superusuario de aqui en adelante todos los comandos en terminal): #nano /etc/apt/sources.list y colocar las siguientes direcciones.&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;span style="font-weight: bold;"&gt;deb http://ftp.es.debian.org/debian testing main contrib non-free&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;span style="font-weight: bold;"&gt;deb http://security.debian.org/ testing/updates main contrib non-free&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;Una vez instalado todo es recomendable instalar los driver de nvidia(necesario si se quiere instalar el compiz fusion) para ello se debe de abrir una terminal y escribir la siguiente linea&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;code style="font-weight: bold; font-family: arial; color: rgb(255, 255, 255);"&gt;#aptitude install build-essential linux-headers-`uname -r`&lt;/code&gt;&lt;br /&gt;&lt;code style="font-weight: bold; font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-weight: bold; font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;En donde el uname -r va la versión del kernel&lt;/code&gt;&lt;code style="font-weight: bold; font-family: arial; color: rgb(255, 255, 255);"&gt;.&lt;/code&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt; Ahora hay hay que bajar el driver de la pagina oficial de nvidia &lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;a href="http://www.nvidia.es/Download/index.aspx?lang=es"&gt;http://www.nvidia.es/Download/index.aspx?lang=es&lt;/a&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;Ahi se especifica el modelo que queremos descargar en nuestro caso es el gforce go 6150(es importante que si se tiene instalado el debian de 32bits se tiene que descargar el driver de 32bits), y descargarmos el driver de 64bits. Para instalar el driver es necesario detener la ejecución del entorno grafico. para ello se debe de abrir un terminal y ejecutar el siguiente codigo:&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;code style="font-weight: bold; font-family: arial; color: rgb(255, 255, 255);"&gt;#/etc/init.d/gdm stop&lt;/code&gt;&lt;br /&gt;&lt;code style="font-weight: bold; font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;El gdm pertence al entorno de gnome si estas usando kde se debe de sustituirlo por kdm Una una vez que se detenga, debemos de escribir el usuario y contraseña y posteriormente ubicar el lugar en donde se encuentra el archivo que descargamos de nvidia y escribimos lo siguiente:&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;span style="font-weight: bold;"&gt;#sh NVIDIA-Linux-version-pkg1.run&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;Primero nos muestra la licencia. Nos movemos con los cursores y la aceptamos con el “Enter” cuando el foco esté sobre el botón “&lt;/span&gt;&lt;em style="font-family: arial; color: rgb(255, 255, 255);"&gt;Aceppt&lt;/em&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;“.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;Seguramente nos dirá que no ha encontrado una interfaz precompilada para nuestro kernel. Nos pregunta si queremos descargar alguno desde su sitio. Le decimos que sí.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;Lo más seguro es que no lo encuentre y nos avisará de ello. Le damos a OK para pasar a la siguiente.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;El instalador comenzará el proceso de compilación del driver.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;Cuando acabe nos pregunta si queremos que el instalador configure nuestro xorg.conf. Si ya lo tenemos configurado del driver anterior, podéis decirle que no, en caso contrario, decidle que sí.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;Finalmente nos avisa que ya lo ha instalado y se sale devolviéndonos la consola.&lt;/span&gt;&lt;br /&gt;&lt;code style="font-weight: bold; font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;code style="font-weight: bold; font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;Para reiniciar el sistema grafico solo hay que ejecutar la siguiente linea:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;code style="font-weight: bold; font-family: arial; color: rgb(255, 255, 255);"&gt;#/etc/init.d/gdm start&lt;/code&gt;&lt;br /&gt;&lt;code style="font-weight: bold; font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;code style="font-weight: bold; font-family: arial; color: rgb(255, 255, 255);"&gt;&lt;/code&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;Modificamos el fuchero de xorg.conf. Las secciones que se detallan a continuación deben quedar así:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;# nano /etc/X11/xorg.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;Section "Module"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        Load    "bitmap"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        Load    "dbe"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        Load    "ddc"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        Load    "extmod"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        Load    "freetype"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        Load    "glx"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        Load    "int10"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        Load    "record"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        Load    "v4l"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        Load    "vbe"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;EndSection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;Section "Device"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        Identifier      "nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300]"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255); font-weight: bold;font-family:arial;" &gt;        Driver          "nvidia"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        BusID           "PCI:1:0:0"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255); font-weight: bold;font-family:arial;" &gt;&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;EndSection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;Section "Screen"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        Identifier      "Default Screen"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        Device          "nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300]"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        Monitor         "Monitor genérico"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255); font-weight: bold;font-family:arial;" &gt;        DefaultDepth    24&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255); font-weight: bold;font-family:arial;" &gt;        Option          "AddARGBGLXVisuals" "True"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        SubSection "Display"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;                Depth           1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;                Modes           "1280x800" "1024x768" "800x600" "640x480"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        EndSubSection&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;  ....&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 255, 255);font-family:arial;" &gt;         (OMITO EL RESTO DE DATOS)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;        ....&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;EndSection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;#Section "DRI"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;#Mode    0666&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;#EndSection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255); font-weight: bold;font-family:arial;" &gt;Section "Extensions"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255); font-weight: bold;font-family:arial;" &gt;        Option "Composite" "true"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255); font-weight: bold;font-family:arial;" &gt;EndSection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;Ahora solo queda instalar el compiz fusion para ello debemos de seleccionar de la siguiente &lt;/span&gt;&lt;a style="font-family: arial; color: rgb(255, 255, 255);" href="http://shame.tuxfamily.org/repo/?cat=11"&gt;pagina&lt;/a&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;y seleccionar el que corresponda a nuestra distro, en nuestro caso es el de lenny.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 255, 255);font-family:arial;" &gt;deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;Esta direccion se inserta en el /ect/apt/sources.list posteriormente en terminal se ejecuta la siguiente instrucción:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;&lt;span style="font-weight: bold;"&gt;wget http://download.tuxfamily.org/shames/A42A6CF5.gpg -O- | apt-key add -&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255); font-weight: bold;font-family:arial;" &gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255); font-weight: bold;font-family:arial;" &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255); font-weight: bold;font-family:arial;" &gt;&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;Y posteriormente escribir lo siguiente:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;&lt;/span&gt;&lt;strong style="font-weight: bold; color: rgb(255, 255, 255); font-family: arial;"&gt;apt-get install compiz-fusion-all&lt;/strong&gt;&lt;br /&gt;&lt;strong style="font-weight: bold; color: rgb(255, 255, 255); font-family: arial;"&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong style="font-weight: bold; color: rgb(255, 255, 255); font-family: arial;"&gt;&lt;/strong&gt;&lt;strong style="color: rgb(255, 255, 255); font-weight: normal; font-family: arial;"&gt;C&lt;/strong&gt;&lt;strong style="font-weight: bold; color: rgb(255, 255, 255); font-family: arial;"&gt;&lt;/strong&gt;&lt;a style="font-family: arial; color: rgb(255, 255, 255);" href="http://shame.tuxfamily.org/repo/?cat=11"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(255, 255, 255);font-family:arial;" &gt;on esto ya debe de estar ejecutandose el compiz.. :-)&lt;br /&gt;&lt;br /&gt;Otro problema que encontre fue el del sonido, que aunque instale todo lo necesario(alsa-base, alsatools, etc) no funcionó, despues de estar algun tiempo buscando en google, la unica solución que me dieron fue el de instalar la ultima versión de &lt;a href="http://www.alsa-project.org/main/index.php/Main_Page"&gt;alsa&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a style="color: rgb(255, 255, 255);" href="ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.16rc2.tar.bz2" class="external text" title="ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.16rc2.tar.bz2" rel="nofollow"&gt;alsa-driver-1.0.16rc2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;Una vez descargado hacemos un tar -zxvf alsa-driver-1.0.16rc2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$ ./configure&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;$ make&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;# make install-modules&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:arial;" &gt;&lt;span style="color: rgb(255, 255, 255);"&gt;Al terminar la instalación solo queda entrar al alsamixer desde terminal y subir el volumen. Y listo con esto debe de estar escuchandose.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;Por cuestines de tiempo, no me fue posible terminar de configurar la pantalla tactil, que espero poder hacerlo en otro momento con una segunda parte de este tutorial.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;De estas paginas me guie:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;http://tuxpepino.wordpress.com/2007/09/21/instalar-los-ultimos-drivers-de-nvidia/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;http://shame.tuxfamily.org/repo/?cat=11&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;http://www.kellyandsopho.com/tiki/tiki-index.php?page=LinuxOnHpPaviliontx1000z&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;http://www.ubuntu-es.org/index.php?q=node/35543&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;http://blog.leugim.com.mx/index.php/2007/08/08/instalando-debian-gnulinux-40-en-hp-dv6420la/&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-5219649050023018973?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/5219649050023018973/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=5219649050023018973' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/5219649050023018973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/5219649050023018973'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/02/configuracin-hp-tx1219.html' title='configuración hp tx1219'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-7641709928424790762</id><published>2008-01-09T23:44:00.000-06:00</published><updated>2008-01-10T00:34:17.221-06:00</updated><title type='text'>Problemas de sonido debian (solucionado)</title><content type='html'>Despues de varios meses desque que instale el debian 4 todo quedo de maravilla exepto el mousepad (que se arreglo actualizando el kernel) y el sonido, que por alguna razon si se detectaba la tarjeta e instalaba los alsa pero nunca se escuchó :(... seguí varios tutoriales que encontre en internet pero seguia igual.&lt;br /&gt;&lt;br /&gt;  Pero despues de tanto lo consegui. Algo que me alegro mucho, aqui los pasos que segui:&lt;br /&gt;&lt;br /&gt;Primero hay que instalar los repositorios de alsa, esto se hace mediande un apt-get install alsa-base desde la consola, despues instalar todos los paquetes de gnome audio tools que los hice desde el sypnaptic, y algunos repositorios de alsa que no estaban seleccionados (que no son necesarios, pero en la desesperacion uno hace de todo), despues es importante hacer desde la consola un alsaconf para que el kernel configure tu tarjeta,ahi solo hay que seguir los pasos, y aqui lo importante entrar al alsamixer (tambien consola) en donde se arreglo todo; aqui aparecen varias barras donde te muestran los distintos niveles de audio por ejemplo audifono, master, line, cd, ahi hay que subirles  volumen a 100 hay otros como el microfono estan en ceros o desactivados, para activar o desactivar es precionando la letra m del teclado que es la opcion de mudo, hay una opcion llamda external o external amplifier, solo precione la letra m y ponerlo como desactivo y ya se acabo todo se escucho.. :)&lt;br /&gt;&lt;br /&gt;Y por ultimo tambien note que todos los mp3 y sonidos se escuchaban ecepto los de youtube y similares, para ello solo hay sistema/preferencias/sonido y desactivar la opcion mezcla de sonidos por software y listo, todo funcionando al 100%.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-7641709928424790762?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/7641709928424790762/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=7641709928424790762' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/7641709928424790762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/7641709928424790762'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2008/01/problemas-de-sonido-debian-solucionado.html' title='Problemas de sonido debian (solucionado)'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-3031961915703320492</id><published>2007-12-17T16:24:00.001-06:00</published><updated>2008-09-07T15:05:22.356-05:00</updated><title type='text'>compiz-fusion intel i810</title><content type='html'>&lt;div style="text-align: justify;"&gt;los pasos que enumero a continuación son los que realize para instalarlo:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Primero hay que saber que tarjeta grafica tenemos instalada en nuestra computadora con la siguiente instruccion &lt;span style="font-weight: bold;"&gt;lspci, &lt;/span&gt;despues de comprobar que tarjeta tenemos, en mi consola desplego la intel &lt;span style="font-weight: bold;"&gt;i810,  &lt;/span&gt;posteriormente hay que bajar los paquetes para la aceleración grafica:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#apt-get install xlibmesa-dri&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#apt-get install xlibmesa-gl&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#apt-get install mesa-utils&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Para probar que tenemos funcionando la aceleración grafica&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;# glxinfo&lt;br /&gt;&lt;br /&gt;y buscamos la linea que dice&lt;br /&gt;&lt;br /&gt;direct rendering:&lt;br /&gt;&lt;br /&gt;&lt;p&gt;y si está a Yes, (direct rendering: Yes) entonces ya tenemos el soporte habilitado.&lt;/p&gt; &lt;p&gt;Si por alguna razón, microprocesador muy lento, poca memoria RAM, etc. no se ha habilitado la aceleración, verificar en el archivo de configuración /etc/X11/xorg.conf en la sección “Screen”, ejemplo:&lt;/p&gt; &lt;p&gt;Section “Screen”&lt;br /&gt;Identifier    “Default Screen”&lt;br /&gt;Device        “Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller”&lt;br /&gt;Monitor        “Monitor genérico”&lt;br /&gt;DefaultDepth    24&lt;br /&gt;SubSection “Display”&lt;br /&gt;Modes        “1280×800″&lt;br /&gt;EndSubSection&lt;br /&gt;EndSection&lt;/p&gt; &lt;p&gt;donde dice 24 reemplazarlo por 16, guardamos y reniciamos el servidor gráfico de nuevo y probamos de vuelta, normalmente tendria que funcionarnos.&lt;/p&gt;Para instalar los paquetes &lt;span style="font-weight: bold;"&gt;no oficiales&lt;/span&gt; por lo que tenemos que agregar en el sources.list&lt;br /&gt;&lt;br /&gt;# nano /etc/apt/sources.list&lt;br /&gt;&lt;br /&gt;y colocamos(en el caso mio es de debian etch pero se puede adaptar a la distribución que tengas la direccion es desde esta pagina           &lt;a href="http://shame.tuxfamily.org/repo/?cat=11"&gt;http://shame.tuxfamily.org/repo/?cat=11&lt;/a&gt; ) ojo aqui tienes que verificar que distribucion tienes instalada y seleccionar la adecuada ya sea etch, lenny o sid:&lt;br /&gt;&lt;br /&gt;deb http://download.tuxfamily.org/shames/debian-etch/desktopfx/stable/ ./&lt;br /&gt;&lt;br /&gt;guardamos y salimos, despues hay que agregar la clave del repositorio:&lt;br /&gt;&lt;br /&gt;&lt;span class="texto"&gt;#sudo wget http://download.tuxfamily.org/shames/A42A6CF5.gpg -O- | apt-key add -&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="texto"&gt;Ahora deberemos actualizar nuestra lista de repositorios para que funcione correctamente y reconozca nuestros repositorios nuevos. Tecleamos entonces:&lt;br /&gt;&lt;br /&gt;sudo apt-get update&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;Hay que configurar el xorg.conf, para dar de alta el acelerador grafico para ello desde la consola hay que ingresar la siguiente linea.&lt;/p&gt;&lt;p&gt; pico /etc/X11/xorg.conf&lt;/p&gt;&lt;p&gt;Una ves que entramos hay que editar las siguientes partes:&lt;/p&gt;&lt;p&gt;- Agregamos la seccion Extensions&lt;br /&gt;Section "Extensions"&lt;br /&gt;Option "Composite" "Enable"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Modificamos la seccion Device:&lt;br /&gt;Section "Device"&lt;br /&gt;Identifier "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"&lt;br /&gt;Driver "i810"&lt;br /&gt;BusID "PCI:0:2:0"&lt;br /&gt;Option "RenderAccel" "true" # render accel is enabled by default&lt;br /&gt;Option "AllowGLXWithComposite" "true"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Modificamos la seccion Screen:&lt;br /&gt;Section "Screen"&lt;br /&gt;Identifier "Default Screen"&lt;br /&gt;Device "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"&lt;br /&gt;Monitor "EPSON PJ"&lt;br /&gt;DefaultDepth 16&lt;br /&gt;Option "AddARGBGLXVisuals" "True"&lt;br /&gt;SubSection "Display"&lt;br /&gt;Depth 16&lt;br /&gt;Modes "1280x1024" "1280x960" "1280x800" "1024x768" "832x624" "800x600" "720x400" "640x480"&lt;br /&gt;EndSubSection&lt;br /&gt;EndSection           &lt;/p&gt;&lt;p&gt;Instalar los paquetes de Compiz Fusion&lt;/p&gt; &lt;p&gt;Dependiendo del entorno escritorio en el cual deseamos ver los efectos gráficos, es conveniente instalar…&lt;/p&gt; &lt;p&gt;# apt-get install compiz-fusion-kde (para KDE)&lt;br /&gt;# apt-get install compiz-fusion-gnome (para Gnome)&lt;br /&gt;# apt-get install compiz-gnome emerald emerald-themes (para XFCE)&lt;br /&gt;# apt-get install compiz-fusion-all (o todos los paquetes para cualquier entorno)&lt;/p&gt;Y listo el compiz fusion debe de estar funcionando despues de dar una reiniciada.&lt;br /&gt;&lt;br /&gt;Aqui las paginas de las cuales me guie:&lt;br /&gt;&lt;br /&gt;http://debinfor.cl/blog/?page_id=53&lt;br /&gt;&lt;br /&gt;http://subnacion.com/?cont=lec&amp;amp;art=444&lt;br /&gt;&lt;br /&gt;http://shame.tuxfamily.org/repo/?cat=11&lt;br /&gt;&lt;br /&gt;http://bitnegro.blogspot.com/2007/08/compiz-fusion-en-debian-lenny-con.html&lt;br /&gt;&lt;br /&gt;http://www.linuxarg.org/modules/ipboard/index.php?showtopic=328&amp;amp;st=0&amp;amp;#entry3233&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-3031961915703320492?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/3031961915703320492/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=3031961915703320492' title='3 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/3031961915703320492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/3031961915703320492'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2007/12/compiz-fusion.html' title='compiz-fusion intel i810'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-914900976226028923</id><published>2007-12-04T22:43:00.002-06:00</published><updated>2009-01-28T15:17:58.859-06:00</updated><title type='text'>Conexion a mysql con java en netbeans parte 2</title><content type='html'>&lt;div style="text-align: justify;"&gt;En la anterior entrada mostré como hacer una conexión de forma cencilla, y que al final nos regresaba un mensaje desde la consola del editor. Ahora procederemos a hacer una conexion un poco mas avanzada, bueno en el sentido de que lo realizaremos mediante botones y cajas de texto, algo ya mas acoplado a la realidad.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;    Para empezar les voy a mencionar como crear una tabla desde la consola y digitamos para entrar a mysql&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;shell&gt; mysql -h host -u user -p&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Enter password: ********&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ahora creamos la base de datos:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mysql&gt; CREATE DATABASE base;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;y luego debemos de crear una tabla&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mysql&gt; CREATE TABLE usuario (nombre VARCHAR(20), ciudad VARCHAR(20);&lt;/span&gt;&lt;br /&gt;colocamos la información&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;mysql&gt; INSERT INTO usuario&lt;br /&gt;-&gt; VALUES ('s','toluca');&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Una ves que llenemos la tabla nos vamos a netbeans y abrimos un archivo nuevo de GUI un jFrame Form y comenzamos a colocar el codigo, pero antes de continuar olvidaba que se tienen que crear los label y textbox correspondientes a los campos que tengamos que el caso de la base de datos que creamos solo son dos(para crearlos es en el lado de diseño):&lt;br /&gt;&lt;br /&gt;//Aqui colocamos las librerias que se requieren para que se realize la conexion&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;package clientes;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;import java.awt.*;  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;import java.sql.*;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;import java.awt.event.*;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;import javax.swing.*;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;public class dbojxs extends javax.swing.JFrame {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;private  Connection cnx;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;     Statement stmt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;     ResultSet rset;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//En esta parte se encuenctra el constructor y donde creamos los metodos&lt;br /&gt;publix dbojsx () {&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;jButton1.addActionListener(new oyente());&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;jTextField1.setText("");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;jTextField2.setText("");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;//El main de abajo aparece automaticamente&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;public static void main(String args[]){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;java.awt.EventQueue.invokelater(new Runnable){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;public void run(){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;new dbojsx().setVisible(true);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;});&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;//Se crea el oyente para el boton&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;private class oyente implements ActionListener{&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    public void actionPerformed(ActionEvent event)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;try{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;String r="";&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;if (r.equals(jTextField1.getText())&amp;amp;&amp;amp;r.equals(jTextField2.getText())){&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;JOptionPane.showMessageDialog(null,"no se puede introducir los datos ver si no hay espacio en blanco");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;else{&lt;/span&gt;&lt;br /&gt;//Aqui es donde se registra en controlador&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;DriverManager.registerDriver(new org.gjt.mm.mysql.Driver());&lt;/span&gt;&lt;br /&gt;// donde equipo: es el equipo en el que esta la base de datos&lt;br /&gt;//base: es la base de datos que creamos&lt;br /&gt;//y el usuario y contraseña&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;cnx=DriverManager.getConnection("jdbc:mysql://equipo:3306/base","usuario","contraseña");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;stmt=cnx.createStatement();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;//usuario es el nombre de nuestra base de datos&lt;br /&gt;//nombre y ciudad son los campos&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;stmt.executeUpdate("INSERT INTO usuario(nombre, ciudad)VALUES('"+ jTextField1.getText()+"','" + jTextField2.getText()+ "');");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;JOptionPane.showMessageDialog(null,"guardado el dato");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;jTextField1.setText("");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;jTextField2.setText("");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;cnx.clse();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;}catch (SQLException sqle)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;System.out.println(sqle.getMessage());&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;System.exit(0);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;}&lt;/span&gt;&lt;br /&gt;//Aqui se crean las variables del diseño de forma automatica&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;//Variables declaration - do not modify&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;private javax.swing.JButton jButton1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;private javax.swing.JLabel jLabel1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;private javax.swing.JLabel jLabel2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;private javax.swing.JTextField jTextField1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;private javax.swing.JTextField jTextField2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;//End of viariables declaration &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Y es todo, lo ejecutamos y al llenar los datos deben de guardarse ya en la base que creamos, es importante mencionar que fue diseñado desde el netbeans y creando los botones desde la opción de diseño, del manual en el que me base todas las variables se declaran desde el inicio y es algo asi&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;package clientes;&lt;br /&gt;import java.awt.*;    //CODIGO PARA DAR DE ALTA A PROVEEDORES CON  BASE DE DATOS&lt;br /&gt;    import java.sql.*;&lt;br /&gt;  import java.awt.event.*;&lt;br /&gt;   import javax.swing.*;&lt;br /&gt;&lt;br /&gt;   public class clientes extends JFrame {&lt;br /&gt;      private JLabel label1, label2, label3, label4, label5,label6,label7;&lt;br /&gt;      private JTextField textField1, textField2, textField3,textField4,textField5,textField6;&lt;br /&gt;       private JPasswordField passwordField;&lt;br /&gt;        private JButton boton1;&lt;br /&gt;               Connection cnx;&lt;br /&gt;               Statement stmt;&lt;br /&gt;               ResultSet rset;&lt;br /&gt;&lt;br /&gt;    public clientes()&lt;br /&gt;    {&lt;br /&gt;       super( "ALTA_clientes" );&lt;br /&gt;&lt;br /&gt;       Container container = getContentPane();&lt;br /&gt;       container.setLayout( new FlowLayout() );&lt;br /&gt;       container.setBackground( Color.BLACK);&lt;br /&gt;&lt;br /&gt;       label1 = new JLabel( "Nombre" );&lt;br /&gt;       label1.setToolTipText( "inserte su nombre" );&lt;br /&gt;       label1.setBackground(Color.darkGray);&lt;br /&gt;       label1.setForeground(Color.RED);&lt;br /&gt;       container.add( label1 );&lt;br /&gt;       textField1 = new JTextField( 30 );&lt;br /&gt;       textField1.setBackground(Color.lightGray);&lt;br /&gt;       container.add( textField1  );&lt;br /&gt;&lt;br /&gt;       label2 = new JLabel("Direccion");&lt;br /&gt;       label2.setForeground(Color.RED);&lt;br /&gt;       label2.setToolTipText( "cuale es su direccion" );&lt;br /&gt;       container.add(label2);&lt;br /&gt;&lt;br /&gt;       textField2=new JTextField(30);&lt;br /&gt;       textField2.setBackground(Color.lightGray);&lt;br /&gt;       container.add( textField2 );&lt;br /&gt;&lt;br /&gt;       label3=new JLabel("Telefono");&lt;br /&gt;       label3.setForeground(Color.RED);&lt;br /&gt;       label3.setToolTipText("inserte su telefono");&lt;br /&gt;       container.add(label3);&lt;br /&gt;       textField3=new JTextField(30);&lt;br /&gt;       textField3.setBackground(Color.lightGray);&lt;br /&gt;       container.add(textField3);&lt;br /&gt;&lt;br /&gt;        label4 = new JLabel("e-mail");&lt;br /&gt;        label4.setForeground(Color.RED);&lt;br /&gt;       label4.setToolTipText( "@" );&lt;br /&gt;       container.add(label4);&lt;br /&gt;        textField4=new JTextField(30);&lt;br /&gt;       textField4.setBackground(Color.lightGray);&lt;br /&gt;       container.add( textField4 );&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;              boton1 = new JButton( "Guardar" );&lt;br /&gt;              boton1.setForeground( Color.RED);&lt;br /&gt;              boton1.setBackground(Color.black);&lt;br /&gt;&lt;br /&gt;       container.add( boton1 );&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        escuchador escucha=new escuchador();&lt;br /&gt;&lt;br /&gt;              boton1.addActionListener(escucha);&lt;br /&gt;       setSize(410, 217 );&lt;br /&gt;       setVisible( true );&lt;br /&gt;&lt;br /&gt;    } // end constructor&lt;br /&gt;&lt;br /&gt;     private class escuchador implements ActionListener {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                 public void actionPerformed( ActionEvent event )&lt;br /&gt;       {&lt;br /&gt;&lt;br /&gt;        try {&lt;br /&gt;                     String r=" ";&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;            if(r.equals(textField1.getText())&amp;amp;&amp;amp;&lt;br /&gt;               r.equals(textField2.getText())&amp;amp;&amp;amp;&lt;br /&gt;               r.equals(textField3.getText())&amp;amp;&amp;amp;&lt;br /&gt;               r.equals(textField4.getText())){&lt;br /&gt;&lt;br /&gt;         JOptionPane.showMessageDialog(null,"no se puede introducir los datos ver si no ay espacio en blanco");&lt;br /&gt;         }&lt;br /&gt;         else{&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;          DriverManager.registerDriver(new org.gjt.mm.mysql.Driver());&lt;br /&gt;    cnx = DriverManager.getConnection("jdbc:mysql://127.0.0.1/almacen","root","");&lt;br /&gt;    stmt = cnx.createStatement();&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        stmt.executeUpdate("INSERT INTO proveedores(nombre, direccion, telefono, email) VALUES ('" + textField1.getText()+ "','" + textField2.getText() + "','" +  textField3.getText()+"','" + textField4.getText()+ "');");&lt;br /&gt;&lt;br /&gt;        JOptionPane.showMessageDialog(null,"guardado el dato");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                      textField1.setText(" ");&lt;br /&gt;               textField2.setText(" ");&lt;br /&gt;               textField3.setText(" ");&lt;br /&gt;               textField4.setText(" ");&lt;br /&gt;     cnx.close();&lt;br /&gt;        }&lt;br /&gt; } catch (SQLException sqle)&lt;br /&gt; {&lt;br /&gt;   System.out.println(sqle.getMessage());&lt;br /&gt;   System.exit(0);&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;Las paginas de donde me base son de:&lt;br /&gt;&lt;br /&gt;http://www.mygnet.net/ -- Muy buena y recomendada&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-914900976226028923?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/914900976226028923/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=914900976226028923' title='5 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/914900976226028923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/914900976226028923'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2007/12/conexion-mysql-con-java-en-netbeans-2.html' title='Conexion a mysql con java en netbeans parte 2'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-5521169450453597944</id><published>2007-12-02T00:46:00.000-06:00</published><updated>2007-12-06T19:00:31.383-06:00</updated><title type='text'>Windows Vista, uno de los peores productos tecnológicos de todos los tiempos.</title><content type='html'>&lt;div style="text-align: justify;"&gt;El listado lo ha elaborado la prestigiosa publicación C|Net, en un artículo, "Top ten terrible tech products", en el que repasa los peores productos tecnológicos de todos los tiempos.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;1. Sinclair C5&lt;br /&gt;2. Barcode Battler&lt;br /&gt;3. The Squircle&lt;br /&gt;4. Gizmondo&lt;br /&gt;5. Tamagotchi&lt;br /&gt;6. Apple Puck Mouse&lt;br /&gt;7. Atari Jaguar&lt;br /&gt;8. Amstrad E-m@iler Telephone&lt;br /&gt;9. Sony rootkit CDs&lt;br /&gt;10. Windows Vista.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Literalmente y tal como traduce Enrique Dans en su bitácora: "Cualquier sistema operativo que provoque una campaña pidiendo la reintroducción de su predecesor merece ser calificado como tecnología terrible. Cualquier sistema operativo que haga que los fabricantes de PCs introduzcan silenciosamente una opción de downgrade a la edición previa merece ser calificado como tecnología terrible. Cualquier sistema operativo que necesite seis años para su desarrollo pero que provoque el odio instantáneo de hordas de entusiastas y profesionales del PC merece ser calificado como de tecnología terrible.&lt;br /&gt;&lt;br /&gt;Windows Vista cumple todo lo anterior. Su incompatibilidad con el hardware, su obsesivo requerimiento de interacción humana para tomar decisiones de seguridad en interminables alertas con ventanas de diálogo, y su uso abusivo del odiado DRM, por no mencionar su falta de aporte o necesidad como mejora son sólo unos cuantos ejemplos de porqué este caro sistema operativo merece la última posición en nuestra lista de tecnologías terribles".&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;VIA:Hispamp3&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-5521169450453597944?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/5521169450453597944/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=5521169450453597944' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/5521169450453597944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/5521169450453597944'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2007/12/windows-vista-uno-de-los-peores.html' title='Windows Vista, uno de los peores productos tecnológicos de todos los tiempos.'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-6207719834061259311</id><published>2007-11-27T11:40:00.000-06:00</published><updated>2007-12-06T19:01:29.239-06:00</updated><title type='text'>conexion a mysql con java en netbeans</title><content type='html'>&lt;div style="text-align: justify;"&gt;Hola a todos, ahora les voy a contar como hacer una conexion de java con netbeans(5.5.1) y mysql(5.0.4), desde mi punto de vista pues aun soy principiante en esto de la conexion por lo que los pasos y codigo son de lo mas cencillo y lo mas entendible posible, espero y les resulte util estos procedimientos..&lt;br /&gt;&lt;br /&gt;primero es instalar el conector de java a mysql(mysql-jconnector) que en debian solo debes de escribir en el buscador del gestor de paquetes de Synaptic &lt;span style="font-weight: bold;"&gt;libmysql-java&lt;/span&gt;, o en el caso de otro SO debes de bajarlo desde la pagina oficial http://www.mysql.com/products/connector/j/ recuerda que tiene que serla misma version que el mysql que tengas instalado.&lt;br /&gt;&lt;br /&gt;Ahora hay que ir al netbeans y agregar el archivo mysql.jar a la lista de librerias, para agregarlo se deben de seguir los siguientes pasos:&lt;br /&gt;&lt;br /&gt;Primero debes de ir a menu/tools/library Manager/, en el que se va a aparecer una ventana.&lt;br /&gt;&lt;br /&gt;En la izquierda inferior presionamos el boton New library... y se va a abrir una ventana nueva en el recuadro de Library Name escribimos MySQL todo sin espacios, en library type seleccionamos Class Libraries y presionamos OK&lt;br /&gt;&lt;br /&gt;En el lado izquierdo seleccionamos MySQL, y al lado derecho aparecen tres pestañas Classpath Sources y Javadoc nos debemos de asegurar de que la pestaña Classpath este seleccionada, y presionamos el boton AddJar/Folder... en el que aparece una ventana donde se va a buscar el archivo mysql.jar, normalmente se encuentra en /usr/share/java o en alguna subcarpeta,&lt;br /&gt;El JAR de MySQL se llama mysql-connector-java-5.0.4.jar. Tambien crea un vínculo llamado mysql.jar. Te recomiendo este último pues si en algún momento el paquete se actualiza, y cambia a la version 5.0.4 o a la 5.0.6, si agregaste el primero te darán error tus aplicaciones, con el segundo no, pues el vínculo se actualiza por el paquete actualizado, y presionamos el boton Addjar folder, luego presiona ok.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;para hacer la prueba de si realmente funciona solo hay que crear un archivo nuevo de java&lt;br /&gt;&lt;br /&gt;con este codigo que saque de un foro, podremos comprobar la conexion:&lt;br /&gt;&lt;br /&gt;package sdb;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;import java.*;&lt;br /&gt;import java.sql.*;&lt;br /&gt;import java.sql.DriverManager;&lt;br /&gt;import java.sql.Connection;&lt;br /&gt;import java.lang.ClassNotFoundException;&lt;br /&gt;import java.sql.SQLException;&lt;br /&gt;/**&lt;br /&gt;*&lt;br /&gt;* @author ramos&lt;br /&gt;*/&lt;br /&gt;public class sc6 {&lt;br /&gt;  &lt;br /&gt;   /** Creates a new instance of sc6 */&lt;br /&gt;   public sc6() {&lt;br /&gt;   &lt;br /&gt;   }&lt;br /&gt;  &lt;br /&gt;   /**&lt;br /&gt;    * @param args the command line arguments&lt;br /&gt;    */&lt;br /&gt;   public static void main(String[] args) {&lt;br /&gt;       // TODO code application logic here&lt;br /&gt;       try {&lt;br /&gt;// Se registra el Driver de MySQL&lt;br /&gt;          &lt;br /&gt;&lt;br /&gt;   /**** Cargamos el driver ****/&lt;br /&gt;          &lt;br /&gt;                               Class.forName("com.mysql.jdbc.Driver");&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;   /**** Realizamos la conexión ****/&lt;br /&gt;//donde equipo es nombre del equipo donde esta la base de datos ya sea local o remoto&lt;br /&gt;//el 3306 es el puerto al que se esta conectando que por lo general es el estandard&lt;br /&gt;//basededatos, la base a la que queremos conectarnos&lt;br /&gt;//usuario y la contraseña&lt;br /&gt;                               String url = "jdbc:mysql:/equipo:3306/basededatos";&lt;br /&gt;   Connection con = DriverManager.getConnection( "jdbc:mysql://equipo:3306/basededatos", "usuario", "contraseña" );&lt;br /&gt;                              &lt;br /&gt;   /**** Ok: avisamos ****/&lt;br /&gt;   System.out.println( "Si he llegado hasta aquí es que se ha producido la conexión");&lt;br /&gt;   System.out.println( "Si no se hubiera producido, se habría disparado SQLException");&lt;br /&gt;&lt;br /&gt;   /**** Una buena costumbre: cerramos la conexión ****/&lt;br /&gt;   con.close();&lt;br /&gt;  }&lt;br /&gt;  /**** Excepción que se dispara si falla la carga del driver ****/&lt;br /&gt;  catch( ClassNotFoundException e ) { e.printStackTrace();  }&lt;br /&gt;&lt;br /&gt;  /**** Excepción que se dispara si falla la conexión *****/&lt;br /&gt;  catch ( SQLException e) { e.printStackTrace();  }&lt;br /&gt;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;   }&lt;br /&gt;  &lt;br /&gt;//}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Pero aun no esta terminado el siguiente paso es de colocar la libreria del mysql, para hacerlo solo tienes que ir al navegador de proyectos(si no aparece el navegador lo puedes obtener en menu  window/navigator/), e ir a la carpeta de libraries del poryecto en el que estamos trabajando ahi hacemos boton derecho del raton y seleccionamos add library, solo tenemos que seleccionar MySQL y presionar ok en la ventana y listo, nuestra primera conexion esta lista para probarse, si lo hiciste bien te debe de aparecer en la ventana lo que esta en el system.out.printl del codigo.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;de estas paginas me guie&lt;br /&gt;&lt;br /&gt;http://www.chuidiang.com/java/mysql/PruebaMySQL.java.txt&lt;br /&gt;http://www.ubuntu-es.org/index.php?q=node/23389&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-6207719834061259311?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/6207719834061259311/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=6207719834061259311' title='5 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/6207719834061259311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/6207719834061259311'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2007/11/conexion-mysql-con-java-en-netbeans.html' title='conexion a mysql con java en netbeans'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5504172786866404344.post-1617306500800947198</id><published>2007-09-13T22:15:00.001-05:00</published><updated>2008-06-08T12:49:30.324-05:00</updated><title type='text'>Configuración de red inalambrica ipw2200 en Debian</title><content type='html'>Hola hoy mostrare como realizar la configuración de tarjeta inalambrica centrino ipw2200BG. En mi caso es el de una laptop Vaio VNG-B100.&lt;br /&gt;&lt;br /&gt;Para  Trabajar necesitamos configurar el mouse(en mi caso al momento de instalar, por alguna razon el mousepad no funcionó correctamente)&lt;em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style=""&gt;&lt;br /&gt;&lt;br /&gt;modprobe  mousedev&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style=""&gt;&lt;br /&gt;modprobe  evdev&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style=""&gt;&lt;br /&gt;modprobe  psmouse&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Despues saber que tarjeta tiene nuestro portatil, para eso ponemos la siguiente orden(aquí nos va a mostrar todo el hardware que detecta en nuestra computadora):&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;debian:/# lspci&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;#detectamos a la tarjeta inalambrica &lt;p&gt;#en este caso es la ipw2200&lt;/p&gt;00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)&lt;br /&gt;00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)&lt;br /&gt;00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)&lt;br /&gt;00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)&lt;br /&gt;00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)&lt;br /&gt;00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)&lt;br /&gt;00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)&lt;br /&gt;00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)&lt;br /&gt;00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)&lt;br /&gt;00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)&lt;br /&gt;00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)&lt;br /&gt;00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)&lt;br /&gt;00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)&lt;br /&gt;00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)&lt;br /&gt;02:04.0 CardBus bridge: Texas Instruments PCI7420 CardBus Controller&lt;br /&gt;02:04.2 FireWire (IEEE 1394): Texas Instruments PCI7x20 1394a-2000 OHCI Two-Port PHY/Link-Layer Controller&lt;br /&gt;02:04.3 Mass storage controller: &lt;pci_lookup_name:&gt;&lt;br /&gt;02:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (MOB) Ethernet Controller (rev 83)&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;02:0b.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)&lt;/span&gt;&lt;br /&gt;&lt;style type="text/css"&gt;&lt;!--   @page { size: 21.59cm 27.94cm; margin: 2cm }   P { margin-bottom: 0.21cm }  --&gt;&lt;/style&gt;&lt;br /&gt; escribimos las siguientes lineas:&lt;br /&gt;&lt;/pci_lookup_name:&gt;&lt;p&gt;&lt;/p&gt; &lt;pre style="font-style: normal; text-decoration: none; font-weight: bold;"&gt;deb http://ftp.es.debian.org/debian testing main contrib non-free&lt;br /&gt;&lt;br /&gt;deb http://security.debian.org/ testing/updates main contrib non-free&lt;/pre&gt;&lt;p&gt; &lt;em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;Con esta instrucción actualizamos la base de datos.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;&lt;em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;apt-get update&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;Aqui configuramos el sonido(en caso que sea necesario)&lt;br /&gt;&lt;em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;em style="font-weight: bold;"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;apt-get install alsa-base&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;em style="font-weight: bold;"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;apt-get install module-assistant&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt; (facilita la creación de paquetes debian, a partir de los ficheros fuente)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; Ahora colocamos las instrucciones para descargar los paquetes de la tarjeta de red.&lt;br /&gt;&lt;p style="font-weight: bold;"&gt;&lt;em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;m-a -t update&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;m-a -t -f get ipw2200&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;m-a -t build ipw2200&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;m-a -t install ipw2200&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;Seguidamente cargamos el módulo:&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt; &lt;p style="font-weight: bold;"&gt;&lt;em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;modprobe ipw2200&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="text-decoration: none;"&gt;Aparentemente deberia estar funcionando pero no fue asi por lo que, realize el siguiente paso&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;   &lt;br /&gt;descargamos la version del firmware de la página web oficial:  &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://ipw2200.sourceforge.net/"&gt;&lt;span style="font-style: normal;"&gt;http://ipw2200.sourceforge.net/&lt;/span&gt;&lt;/a&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-style: normal;"&gt;Apretamos  a firmware y debemos descargar la versión que sea compatible  con nuestro núcleo. En mi caso de un nucleo 2.6.21 sera &lt;/span&gt;&lt;/em&gt;&lt;strong&gt;&lt;span style="font-style: normal;"&gt;ipw2200-fw-2.4.tgz&lt;/span&gt;&lt;/strong&gt;&lt;em&gt;&lt;span style="font-style: normal;"&gt; o la ipw2200-fw-3.0.tgz&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;Descomprimimos los archivos.    &lt;p&gt;            &lt;strong&gt;&lt;span style="font-style: normal;"&gt;tar xzvf ipw2200-fw-2.4.tgz&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;ol&gt;&lt;li&gt;&lt;p style="font-style: normal;"&gt;optenemos unos archivos como estos  o parecidos.   &lt;/p&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;span style="font-style: normal;"&gt;debian:/home/ramos/Desktop/ipw2200-fw-2.4# ls&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-style: normal;"&gt;ipw2200-bss.fw      ipw2200-ibss.fw     LICENSE.ipw2200-fw&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-style: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-style: normal;"&gt;ipw2200-fw-2.4.tgz  ipw2200-sniffer.fw&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-style: normal;"&gt;&lt;br /&gt;debian:/home/ramos/Desktop/ipw2200-fw-2.4#&lt;/span&gt;&lt;/p&gt; &lt;ol&gt;&lt;li&gt;&lt;p style="font-style: normal;"&gt;Estos archivos los tenemos de  copiar en una carpeta   &lt;/p&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;strong&gt;&lt;span style="font-style: normal;"&gt;cp /home/ramos/descargas/ipw2200-fw-2.4/*.*  /usr/lib/hotplug/firmware/&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;ol&gt;&lt;li&gt;&lt;p style="font-style: normal;"&gt;Una vez copiado nos aseguramos que  todo funciona correctamente.   &lt;/p&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p style="font-style: normal;"&gt;debian:~# &lt;span style="font-weight: bold;"&gt;rmmod ipw2200&lt;/span&gt;&lt;br /&gt;debian:~# &lt;span style="font-weight: bold;"&gt;rmmod ieee80211&lt;/span&gt;&lt;br /&gt;debian:~# &lt;span style="font-weight: bold;"&gt;modprobe ieee80211&lt;/span&gt;&lt;br /&gt;debian:~# &lt;span style="font-weight: bold;"&gt;modprobe ipw2200&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="font-style: normal;"&gt;debian:/home/ramos# &lt;span style="font-weight: bold;"&gt;iwconfig&lt;/span&gt;&lt;br /&gt;lo        no wireless extensions.&lt;br /&gt;&lt;br /&gt;eth1      no wireless extensions.&lt;br /&gt;&lt;br /&gt;eth0      no wireless extensions.&lt;br /&gt;&lt;br /&gt;eth2      IEEE 802.11g  ESSID:"2WIRE442"  Nickname:"2WIRE442"&lt;br /&gt;    Mode:Managed  Frequency:2.437 GHz  Access Point: 00:18:3F:16:4E:B1&lt;br /&gt;    Bit Rate:54 Mb/s   Tx-Power=20 dBm   Sensitivity=8/0&lt;br /&gt;    Retry limit:7   RTS thr:off   Fragment thr:off&lt;br /&gt;    Encryption key:9259-6795-50   Security mode:restricted&lt;br /&gt;    Power Management:off&lt;br /&gt;    Link Quality=78/100  Signal level=-51 dBm  Noise level=-88 dBm&lt;br /&gt;    Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0&lt;br /&gt;    Tx excessive retries:0  Invalid misc:0   Missed beacon:0&lt;br /&gt;&lt;/p&gt;&lt;p style="font-style: normal;"&gt;Si te aparece algo asi es que lo hiciste bien. Reiniciamos el portátil y  ya tenemos detectada. Ahora faltara configurar la tarjeta red.   &lt;/p&gt;  &lt;p&gt;&lt;span style="font-style: normal;"&gt;debian:/home/ramos# &lt;/span&gt;&lt;strong&gt;&lt;span style="font-style: normal;"&gt;nano /etc/network/interfaces&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p style="font-style: normal;"&gt;iface eth1 inet dhcp&lt;br /&gt;wireless-essid TURED&lt;br /&gt;wireless-key TUPASS&lt;/p&gt; &lt;p style="font-style: normal;"&gt;o en caso de estático&lt;/p&gt; &lt;p style="font-style: normal;"&gt;iface eth1 inet static&lt;br /&gt;wireless-essid TURED&lt;br /&gt;wireless-key s:TUPASS&lt;br /&gt;address 192.168.1.31&lt;br /&gt;netmask 255.255.255.0&lt;br /&gt;gateway 192.168.1.1&lt;/p&gt; &lt;p&gt;NOTA: Esta configuración fue tomada de&lt;br /&gt;&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;http://bulma.net/body.phtml?nIdNoticia=2306&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;http://www.kriptopolis.org/debian-portatil-centrino-y-wireless&lt;/span&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5504172786866404344-1617306500800947198?l=debianix.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://debianix.blogspot.com/feeds/1617306500800947198/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5504172786866404344&amp;postID=1617306500800947198' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/1617306500800947198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5504172786866404344/posts/default/1617306500800947198'/><link rel='alternate' type='text/html' href='http://debianix.blogspot.com/2007/09/configuracin-de-red-en-debian.html' title='Configuración de red inalambrica ipw2200 en Debian'/><author><name>ramos</name><uri>http://www.blogger.com/profile/01408475297956810885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
