23 diciembre, 2009

i love google :)

-inurl:(htm|html|php|asp) intitle:"index of" +"last modified" +"parent directory" +description +size +(wma|mp3|flac|ogg|avi) "metallica"

07 diciembre, 2009

symbian codigos y atajos

Ver Imei: *#06#
Ver versión del software: *#0000#
Ver ID/MAC del bluetooth: *#2820#
Reset normal: *#7780#
Reset completo: *#7370#
Borrar datos del monedero: *#7370925538#
Temporizador total: *#92702689#
Ver MAC de la tarjeta WIFI : *#62209526#
Código de seguridad por defecto: 12345

09 noviembre, 2009

WRT54G V8 unbrick resucitar

Tengo un router WRT54G V8 que por una mala actualización... se quedo brick

un ladrillo que solo respondia pings.en mi caso: el telnet no funciona , el tftp no funciona. 30 30 30 no funciona. ¿que se puede hacer?

con un cable de red nos ponemos ip fija la ip del router es 192.168.1.1 yo me puse la 192.168.1.2 (o que este en el rango)

enviamos ping a 192.168.1.1 y responde



en mi caso hice un puente. en el chip de broadcom entre los pines 15 y 16.

con el router conectado enviando pings hice el puente. y todos los led encendieron quede esperando unos momentos y no paso nada... quite el cable de corriente y lo conecte nuevamente. los pings respondian y tftp funciono otra vez :)

el router tiene un chip de broadcom con el numero de los pines a los costados.

ahora conectate con tftp



ahora enviamos el firmware de ddwrt Y NO APAGAMOS EL ROUTER
bananita-yeye:/home/neo/Desktop# tftp
tftp> connect 192.168.1.1
tftp> binary
tftp> put
(file) dd-wrt.v24_micro_generic.bin
Sent 1765376 bytes in 3.0 seconds

se queda asi un rato. despues de un momento se comienza a anunciar como ddwrt ahora esta listo. thanks scar

06 noviembre, 2009

que versión tengo instalada debian ubuntu

siempre las ubico por numero... pero cuando te dicen por nombre de algo nomas no se cual es cual :s aplica para debian y ubuntu


lsb_release


help
Usage: lsb_release [options]

Options:
-h, --help show this help message and exit
-v, --version show LSB modules this system supports
-i, --id show distributor ID
-d, --description show description of this distribution
-r, --release show release number of this distribution
-c, --codename show code name of this distribution
-a, --all show all of the above information
-s, --short show requested information in short format


neo@bananita-yeye:~$ lsb_release -a


No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 5.0.3 (lenny)
Release: 5.0.3
Codename: lenny

05 noviembre, 2009

Google wave, google gears en iceweasel debian

el google wave no jala en iceweasel asi que!

escriban en la barra de direcciones

about:config

busquen
“general.useragent.extra.firefox”

cambienlo por
“Firefox/3.0.5”

04 octubre, 2009

Google analytics en blogger

google analytics es una herramienta de monitoreo y estadística que nos da datos como usuarios , trafico el navegador que usan para ver nuestro sitio. y un montón de funciones.

Para integrarlo con blogger tenemos que registrar el sitio

Google Analytics

cuando nos den el codigo lo pegamos de la siguiente manera, entramos en blogger y vamos a

Diseño / Edicion HTML

buscamos en el final

<!-- end outer-wrapper -->
pega el codigo aqui
</body>
</html>

ahora solo espera un tiempo y ya lo tendras integrado, segun google el tiempo de actualización es de 24 horas

03 octubre, 2009

Recuperar Contraseña de hotmail robada crackeada o como le dicen algunos hackeada

No es la primera vez que me preguntan como recuper un password de hotmail. sorpresa no uso hotmail

y generalmente no recuerdan su pregunta secreta. y nunca han puesto un email alternativo y ahi andan llorando de que no pueden entrar y les "hackean" el facebook ahí quieren que otro "hacker" les recupere su cuenta, no mamen -.-

Vallan directamente al soporte técnico de Microsoft !!!,

el enlace puede dejar de funcionar en cualquier momento. es una pagina en https, y en la cual es un formulario y pueden llenar los datos que ahi piden. preguntan cosas como cual es su ISP. cual es su nombre. los contactos que recuerdes etc. espero les sirva

https://support.live.com/default.aspx?productkey=wlmail&locale=es-es&sid=e8d93227-f4cd-472a-b206-e9e3d994e9ef&mapquerytype=keyword&mapquery=qaf&sid=e8d93227-f4cd-472a-b206-e9e3d994e9ef&project=mailfull&market=es-es
screenshot del sitio
De dos

02 octubre, 2009

Contpaq remoto

Contpaq remotamente casa oficina
conexion remota contpaq

para este tuto se uso:
winxp en maquina virtual (virtualbox funciono bien)
contpaq i 2.0.0 demo version (solo te limita los dias y no funcionalidades)
aircrack-ng (para colgarme a otra red de telmex y hacer la prueba remota)
paciencia para escribirlo

Contapq es un software desarrollado por la empresa computación en acción, hace sistemas administrativos y contables y tiene gran presencia en México

Mi hermano me pregunto “ Oye cabrón, puedo usar contpaq en la casa...” me quede pensando a chinga pues si, no? digo si. ps si... a webo!

Y bueno ahora me pongo ha hacer las pruebas y llego a esto, hace algun tiempo publique como hacer tu servidor web casero.
http://artzneo.blogspot.com/2008/07/crear-tu-servidor-casero-con-no-ipcom-e.html

Aqui sera lo mismo la verdad no es nada complicado de hacer , les mostrare la forma de conectar una terminal de contpaq hacia un servidor remoto. Esto para que trabajen desde casa...

Primero que nada tenemos que instalar el servidor de contpaq I . les recomiendo no usar cracks no hay como tener su software legal (diganmelo a mi), esto por que si falla por culpa del crack te culparan a ti así que aclara eso, en lo personal lo tengo legal. Junto con el soporte que te da (que en lo personal he tenido muy malos ratos ahi xD ) no uso mucho windows pero aqui se tiene que usar. (maquina virtual)

Debido a que la mayoría de nosotros contamos con IP dinámica esta cambia constantemente y para conectarnos a nuestro servidor tenemos que saber su ip. Pero si esta cambia no habrá forma de conectarnos si no tenemos la IP, ahí entra los servicios de un DNS gratuito en mi caso usare noip

primero necesitaremos

1.- Instalar contpaq servidor use el 2.0.0 para esta guia en una versión demo
2 .-Instalar y configurar noip o cualquiera que de DNS gratuito también esta mydns y no se que mas exista
3 .-hacer port scan para saber que puerto usa contpaq
4 .-configurar firewall
5 .-configurar router
6 .-configurar las terminales contpaq
7.- ir por unas cervezas con una chica sexy y/o los amigos

1.-esta no es una guía de instalación de contpaq así que asumiré que ya tienen instalado contpaq, en caso de no tenerlo leer el manual correspondiente (RTFM)

2.- Entramos en la pagina de noip y nos registramos http://www.no-ip.com/
damos de alta un email y bajamos el cliente y lo instalamos en nuestro equipo.

Al email nos llegara un correo pidiendo que activemos la cuenta dando click en el hipervinculo que nos enviara

nos logueamos en la pagina de noip y añadimos el hostname que usaremos. Yo use un blabla.no-ip.org

De dos


Una vez que activamos la cuenta en noip, instalamos el cliente en nuestro equipo usamos nuestro email y el pass que le dimos para logearnos, recomiendo usar pass distintos a los de la cuenta de correo por obvias razones que pondrian riesgo la seguridad .
Con el cliente corriendo ya sabremos que ip tenemos aun que cambie, esta se actualizara cada X minutos dependiendo como lo configuremos

De dos




3 con GNU/LINUX y nmap (no uso windows y no se como hacer lo en windows ) he hecho un scan al servidor para saber que puerto es el que usa contpaq i y esto es lo que me ha dado...

skyppy:/home/neo# nmap -v A 172.16.1.100

Starting Nmap 4.76 ( http://nmap.org ) at 2009-10-01 22:58 CDT
Failed to resolve given hostname/IP: A. Note that you can't use '/mask' AND '1-4,7,100-' style IP ranges
Initiating ARP Ping Scan at 22:58
Scanning 172.16.1.100 [1 port]
Completed ARP Ping Scan at 22:58, 0.02s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 22:58
Completed Parallel DNS resolution of 1 host. at 22:58, 0.00s elapsed
Initiating SYN Stealth Scan at 22:58
Scanning Equipo01 (172.16.1.100) [1000 ports]
Discovered open port 9009/tcp on 172.16.1.100
Discovered open port 1099/tcp on 172.16.1.100
Completed SYN Stealth Scan at 22:59, 6.86s elapsed (1000 total ports)
Host Equipo01 (172.16.1.100) appears to be up ... good.
Interesting ports on Equipo01 (172.16.1.100):
Not shown: 998 filtered ports
PORT STATE SERVICE
1099/tcp open unknown
9009/tcp open unknown
MAC Address: 08:00:27:97:9C:05 (Cadmus Computer Systems)

Read data files from: /usr/share/nmap
Nmap done: 1 IP address (1 host up) scanned in 7.19 seconds
Raw packets sent: 2000 (87.998KB) | Rcvd: 4 (174B)

dice que el puerto 1099 y el 9009 esta open
ahora un scan sin el contpaq ejecutándose o.O

skyppy:/home/neo# nmap -v A 172.16.1.100

Starting Nmap 4.76 ( http://nmap.org ) at 2009-10-01 23:02 CDT
Failed to resolve given hostname/IP: A. Note that you can't use '/mask' AND '1-4,7,100-' style IP ranges
Initiating ARP Ping Scan at 23:02
Scanning 172.16.1.100 [1 port]
Completed ARP Ping Scan at 23:02, 0.01s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 23:02
Completed Parallel DNS resolution of 1 host. at 23:02, 0.00s elapsed
Initiating SYN Stealth Scan at 23:02
Scanning Equipo01 (172.16.1.100) [1000 ports]
Discovered open port 9009/tcp on 172.16.1.100
Completed SYN Stealth Scan at 23:03, 11.08s elapsed (1000 total ports)
Host Equipo01 (172.16.1.100) appears to be up ... good.
Interesting ports on Equipo01 (172.16.1.100):
Not shown: 998 filtered ports
PORT STATE SERVICE
1099/tcp closed unknown
9009/tcp open unknown
MAC Address: 08:00:27:97:9C:05 (Cadmus Computer Systems)

Read data files from: /usr/share/nmap
Nmap done: 1 IP address (1 host up) scanned in 11.40 seconds
Raw packets sent: 1999 (87.954KB) | Rcvd: 3 (126B)

puerto 1099 cerrado... y el 9009 open , esos son nuestros puertos =) el 1099 y 9009,

4.-entramos en el panel de control / firewall de windows / excepciones
damos en agregar puerto añadimos el 1099 y el 9009 , o desactiva el firewall hahahaha pero no te lo recomiendo

De dos


5.- Configurar router
entremos a nuestro router. Yo dejare aquí una imagen del mio, es un linksys con DD-WRT muchos usan los 2wire de telmex. Asi que dejare imágenes de ambos.
De dos



Lo que se tiene que hacer es tomar el puerto 1099 y 9009 y hacerles foward. Eso o poner en DMZ , prefiero hacer el port foward
dentro de windows o de su firewall tienen que abrir el puerto 1099

en el 2wire es entrar en la red domestica de ahi a “modificar configuracion de cortafuegos” / Agregar una nueva aplicacion definida por usuario lo definimos con los puertos 1099 y hacemos lo mismo para el puerto 9009, debemos de dejar los 2 puertos habilitados. Si uno no esta no funcionara

De dos
De dos
De dos


6.- Configurar terminales contpaq
la instalación de la terminal es igual que en LAN. Solo que en lugar de poner la ip , pondremos nuestrodominio.no-ip.org

De dos


7.- cobrale y vámonos por las chelas!(cerveza) Valora tu trabajo no le cobres barato

bueno otra cosa, la terminal se debe configurar manualmente. si esta fuera de la LAN usara dominio.no-ip.org , SI ESTA EN LA LAN USARA LA IP DEL SERVIDOR


Problemas posibles de que no se conecte:

+revista noip que este funcionando o usa la ip publica del servidor
+revisa el firewall tengas los puertos abiertos
+revisa la ip del servidor sea la que esta en el router y si lo deceas usar ip fija en lugar de DHCP
+que tengas los cambios en tu router efectuados
+que tengas conexión a internet (en verdad suele pasar)
+++los puertos que use yo fueron para el caso de este tutorial el 9009 y el 1099, en ocasiones cambian los puertos es por eso que hago con nmap un portscan, puedes usar DMZ para evitarte el problema de que puerto usar en caso de que no sepas hacer un escaneo de puertos, pero ten en cuenta que el equipo quedara algo expuesto fuera del firewall del router

++cualquier error de capa 8 no se como resolverlo =P

espero les sirva y espero sus comentarios ayudas mentadas etc

agrego:
ahora pendejeando encontre estas lineas en un archivo llamado
CompacCliente.properties

y estas lineas

servidor.puerto = 1099
servidor.puerto.1 =1099
servidor.puerto.2 =1138
servidor.puerto.3 =1139
servidor.puerto.4 =1775
servidor.puerto.5 =2003
servidor.direccionIP = 192.168.2.201

asi que ya sabemos que puertos se deben usar :)

01 octubre, 2009

Memoria USB en VirtualBox debian ubuntu

no se que le pasa al virtualbox pero hay que añadir al usuario al grupo vboxusers
como root

adduser tuusuario vboxusers

init 6 para reiniciar y ruleo bytez!

29 septiembre, 2009

VPN con windows xp -.-

si ya se que me van a mentar la madre y creo que es mejor L2TP+seguridad pero de vez en cuando se tiene que usar win aunque no quieras... sino por que es de a huevo como decimos en México (aunque no quieras, a fuerza, etc) no hablare del protocolo de PPTP (pinche putada toda pitera) ahí esta wikipedia que siempre nos ayuda para esas dudas ok empezamos, esto es basico y rapido como prefiero el modo texto las GUI se me hacen raras así que lo haré al estilo geek... (sin screenshots)

Servidor:

Panel de control / conexiones de red / crear una conexion nueva
sale un asistonto y damos siguiente y seleccionamos
Configurar una conexión avanzada / siguiente
Aceptar Conexiones entrantes / siguiente
Dispositivos de comunicaciones entrantes NO SELECCIONAR NADA / siguiente
Permitir conexiones virtuales privadas / siguiente
Permisos de usuarios (quien se puede conectar al equipo) / siguiente
si quieres añades algún protocolo / siguiente
FINALIZAR

Cliente

Conectarse a la red de mi lugar de trabajo (¿por que no dicen "conectarme a la oficina"? / siguiente
pon la ip o el nombre del host. haré pruebas con noip o algún DNS gratuito luego les cuento
usuario contraseña y ya

usen banda ancha

16 agosto, 2009

Angel de Acero

1:09
hermanos de sangre volamos al fin
yo moriré por ti y tu lo harás por mi
blanca estela y el rugir del motor
negras nubes oscurecen los cielos


1:36
amartilla tu arma
prepara tu fuego
domina a tu miedo
no te dejes vencer

1:43
badits 12 en punto salen por el sol
impactos y esquirlas
no me detendrán
un sudor frió recorre mi cuerpo
sin pensar empiezo a actuar

2:10
amartilla tu arma
prepara tu fuego
domina a tu miedo
no te dejes vencer

2:18
un impacto certero su nave hace estallar
tormenta de fuego
muerte en el cielo
alguien llorara acaso importara
su alma partirá

2:35
la misión
tenemos que alcanzar
y la muerte hay que sembrar
el ángel de acero nos protegerá
y el dolor pronto llegara

4:09
ángel de acero
dentro de ti
me siento seguro
volando hacia casa

por esta vez
lo hemos logrado
pero mañana
tengo que volver

sera mi fin
o podre vivir
sera mi fin
o podre vivir

03 agosto, 2009

versitos que no tenia que hacer...

relámpago
destroza el silencio
ilumina mi camino
destroza a mi enemigo


extraño horizonte deslumbra a mi ser
una luz en el cielo no me hará perder
mi camino en el sendero voy a recorrer
yo no voy a perecer

frío de la noche mi piel hace estremecer
yo correré hasta el amanecer
por el valle de lamentos no me dejare vencer
tu estruendo alimentara a mi ser


pensar que puedes escapar de aquí
si tu vida ya no es de ti
mira el cielo y quiere observar
una esperanza por la cual luchar

tu vida ahora me pertenece
la esencia mortal pronto se desvanece
tu mortal correrás
sin rumbo fijo tu al final cederás

tu jamas me derrotaras
tu meta no conseguirás
yo peleare por mi salvación
voy a evitar mi perdición

rayos y centellas iluminan mi camino
deslumbrando las entrañas de los que ya han caído
cuerpos sin vida yacen ante mis pies
devorados por cienpies


en el valle de la muerte llega la desesperación
es hora de tomar tu ultima decisión
les contaras sobre tu rendición
escrita en una triste canción

28 mayo, 2009

Mi pequeña coleccion de puzzles

pues me gustan los puzzles mecanicos tipo rubik aunque no soy de speed solo busco poder resolverles. ando aprendiendo como resolver el 4x4x4 ya despues el 5x5x5 por eso sigue en su caja. el square 1 me sa algo de problemas y el megaminx ya me tardo 9 min. bueno ahi les dejo una foto.

es uno de madera que no se como se llama
despues un rubik que me dio mi novia
uno de 5x5x5 4x4x4 y 3x3x3 y uno pequeño 2x2x2
un rubik magic. (el de los 3 circulos)
un megaminx (el dodecaedro con estrellas)
un square one (el que se mira de color verde)

02 mayo, 2009

Cursor en terminal

el paquete en debian se llama gpm

apt-get install gpm

ahi ta corriendo el curson sin X

29 abril, 2009

Mi lactosa debianera



Mi laptosa debianera esta calca de vinil me la rolo xanatos , aa mira que bonita esta xD jajaja chido

en mi thinkpad R61

26 abril, 2009

corrector ortografico

para añadir esto es simple

aspell-es

con esto tenemos el corrector ortografico activado en pidgin y otros mas... que no se cuales -.-

11 marzo, 2009

Iron Maiden

aqui les dejo un concierto que conseui y lo trepe al google video



Somewhere Back In Time World Tour - 2008 en puerto alegre Brazil


parte 1
http://video.google.es/videoplay?docid=-3830382671164795051&q=source%3A002068199614312915908&hl=es

parte 2
http://video.google.es/videoplay?docid=3362061341357157562&hl=es

10 marzo, 2009

trackpoint debian


aqui dejo esta parte del xorg.conf para activar el scroll de el track point. solo manten presionado el boton central y mueve arriba o abajo el trackpoint en un navegador web por ejemplo.
tambien puedes usar el paquete
configure-trackpoint
http://sourceforge.net/project/showfiles.php?group_id=1212&package_id=136714&release_id=634030

esto es para lenny independientemente del paquete que mencione esto es para activar el scroll

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"

#add those three lines
Option "EmulateWheel" "true"
Option "EmulateWheelTimeOut" "200"
Option "EmulateWheelButton" "2"
EndSection

25 febrero, 2009

Bash 4.0 liberada

se ha liberado la version 4.0 de bash

puedes descargarla aqui

se instala asi... da una leida al README

./configure
make
make install

novedades...

+========== NEWS ==========+
This is a terse description of the new features added to bash-4.0 since
the release of bash-3.2. As always, the manual page (doc/bash.1) is
the place to look for complete descriptions.

1. New Features in Bash

a. When using substring expansion on the positional parameters, a starting
index of 0 now causes $0 to be prefixed to the list.

b. The `help' builtin now prints its columns with entries sorted vertically
rather than horizontally.

c. There is a new variable, $BASHPID, which always returns the process id of
the current shell.

d. There is a new `autocd' option that, when enabled, causes bash to attempt
to `cd' to a directory name that is supplied as the first word of a
simple command.

e. There is a new `checkjobs' option that causes the shell to check for and
report any running or stopped jobs at exit.

f. The programmable completion code exports a new COMP_TYPE variable, set to
a character describing the type of completion being attempted.

g. The programmable completion code exports a new COMP_KEY variable, set to
the character that caused the completion to be invoked (e.g., TAB).

h. If creation of a child process fails due to insufficient resources, bash
will try again several times before reporting failure.

i. The programmable completion code now uses the same set of characters as
readline when breaking the command line into a list of words.

j. The block multiplier for the ulimit -c and -f options is now 512 when in
Posix mode, as Posix specifies.

k. Changed the behavior of the read builtin to save any partial input received
in the specified variable when the read builtin times out. This also
results in variables specified as arguments to read to be set to the empty
string when there is no input available. When the read builtin times out,
it returns an exit status greater than 128.

l. The shell now has the notion of a `compatibility level', controlled by
new variables settable by `shopt'. Setting this variable currently
restores the bash-3.1 behavior when processing quoted strings on the rhs
of the `=~' operator to the `[[' command.

m. The `ulimit' builtin now has new -b (socket buffer size) and -T (number
of threads) options.

n. The -p option to `declare' now displays all variable values and attributes
(or function values and attributes if used with -f).

o. There is a new `compopt' builtin that allows completion functions to modify
completion options for existing completions or the completion currently
being executed.

p. The `read' builtin has a new -i option which inserts text into the reply
buffer when using readline.

q. A new `-E' option to the complete builtin allows control of the default
behavior for completion on an empty line.

r. There is now limited support for completing command name words containing
globbing characters.

s. Changed format of internal help documentation for all builtins to roughly
follow man page format.

t. The `help' builtin now has a new -d option, to display a short description,
and a -m option, to print help information in a man page-like format.

u. There is a new `mapfile' builtin to populate an array with lines from a
given file. The name `readarray' is a synonym.

v. If a command is not found, the shell attempts to execute a shell function
named `command_not_found_handle', supplying the command words as the
function arguments.

w. There is a new shell option: `globstar'. When enabled, the globbing code
treats `**' specially -- it matches all directories (and files within
them, when appropriate) recursively.

x. There is a new shell option: `dirspell'. When enabled, the filename
completion code performs spelling correction on directory names during
completion.

y. The `-t' option to the `read' builtin now supports fractional timeout
values.

z. Brace expansion now allows zero-padding of expanded numeric values and
will add the proper number of zeroes to make sure all values contain the
same number of digits.

aa. There is a new bash-specific bindable readline function: `dabbrev-expand'.
It uses menu completion on a set of words taken from the history list.

bb. The command assigned to a key sequence with `bind -x' now sets two new
variables in the environment of the executed command: READLINE_LINE_BUFFER
and READLINE_POINT. The command can change the current readline line
and cursor position by modifying READLINE_LINE_BUFFER and READLINE_POINT,
respectively.

cc. There is a new &>> redirection operator, which appends the standard output
and standard error to the named file.

dd. The parser now understands `|&' as a synonym for `2>&1 |', which redirects
the standard error for a command through a pipe.

ee. The new `;&' case statement action list terminator causes execution to
continue with the action associated with the next pattern in the
statement rather than terminating the command.

ff. The new `;;&' case statement action list terminator causes the shell to
test the next set of patterns after completing execution of the current
action, rather than terminating the command.

gg. The shell understands a new variable: PROMPT_DIRTRIM. When set to an
integer value greater than zero, prompt expansion of \w and \W will
retain only that number of trailing pathname components and replace
the intervening characters with `...'.

hh. There are new case-modifying word expansions: uppercase (^[^]) and
lowercase (,[,]). They can work on either the first character or
array element, or globally. They accept an optional shell pattern
that determines which characters to modify. There is an optionally-
configured feature to include capitalization operators.

ii. The shell provides associative array variables, with the appropriate
support to create, delete, assign values to, and expand them.

jj. The `declare' builtin now has new -l (convert value to lowercase upon
assignment) and -u (convert value to uppercase upon assignment) options.
There is an optionally-configurable -c option to capitalize a value at
assignment.

kk. There is a new `coproc' reserved word that specifies a coprocess: an
asynchronous command run with two pipes connected to the creating shell.
Coprocs can be named. The input and output file descriptors and the
PID of the coprocess are available to the calling shell in variables
with coproc-specific names.

ll. A value of 0 for the -t option to `read' now returns success if there is
input available to be read from the specified file descriptor.

mm. CDPATH and GLOBIGNORE are ignored when the shell is running in privileged
mode.

nn. New bindable readline functions shell-forward-word and shell-backward-word,
which move forward and backward words delimited by shell metacharacters
and honor shell quoting.

oo. New bindable readline functions shell-backward-kill-word and
shell-kill-word
which kill words backward and forward, but use the same word boundaries
as shell-forward-word and shell-backward-word.

2. New Features in Readline

a. A new variable, rl_sort_completion_matches; allows applications to inhibit
match list sorting (but beware: some things don't work right if
applications do this).

b. A new variable, rl_completion_invoking_key; allows applications to discover
the key that invoked rl_complete or rl_menu_complete.

c. The functions rl_block_sigint and rl_release_sigint are now public and
available to calling applications who want to protect critical sections
(like redisplay).

d. The functions rl_save_state and rl_restore_state are now public and
available to calling applications; documented rest of readline's state
flag values.

e. A new user-settable variable, `history-size', allows setting the maximum
number of entries in the history list.

f. There is a new implementation of menu completion, with several improvements
over the old; the most notable improvement is a better `completions
browsing' mode.

g. The menu completion code now uses the rl_menu_completion_entry_function
variable, allowing applications to provide their own menu completion
generators.

h. There is support for replacing a prefix of a pathname with a `...' when
displaying possible completions. This is controllable by setting the
`completion-prefix-display-length' variable. Matches with a common prefix
longer than this value have the common prefix replaced with `...'.

i. There is a new `revert-all-at-newline' variable. If enabled, readline will
undo all outstanding changes to all history lines when `accept-line' is
executed.

j. If the kernel supports it, readline displays special characters
corresponding to a keyboard-generated signal when the signal is received.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer

09 febrero, 2009

Enviar archivos bluetooth con thunar

quiere el gnome y para enviar con thunar archivos via bluetooth hay que instalar

gnome-bluetooth

cuando ya este configurado bluetooth , abrimos thunar y en


Editar/aciones personalizadas/ añadir una nueva accion

en orden ponemos

gnome-obex-send %f

%f es la ruta al primer fichero seleccionado. ahi hay mas opciones

ahora ponle cosas bonitas...

ya que tengas esto con el boton secundario sobre send to o enviar a algo asi. sale bluetooth =)

Debian y opengl habilitar

puse el openarena y era el openarena lento -.- , no tenia el opengl corriendo segun algunos test de cedega tons instale estos...

libgl1-mesa-dri libgl1-mesa-glx mesa-utils

solo hay que instalarles jeje

08 febrero, 2009

Fingerprint en Lenovo R61 huella digital

exelente tuto

pd acualize el kernel y ya no sirvio xD use el 2.6.26

Por cdk1:

na de las características que mas me llamó la atención de este laptop -Lenovo R61- pués es su lector de huellas digitales para autenticar…

1.- Resolviendo problemas de dependencias:

Reina-Tonia:/# apt-get -f install
Leyendo lista de paquetes… Hecho
Creando árbol de dependencias
Leyendo la información de estado… Hecho
0 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados.
Reina-Tonia:/#

2.- Updateando los repositorios:

Reina-Tonia:/# apt-get update

3.- Actualizar el sistema;

Reina-Tonia:/# apt-get upgrade
Leyendo lista de paquetes… Hecho
Creando árbol de dependencias
Leyendo la información de estado… Hecho
0 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados.
Reina-Tonia:/#

Con esto verificamos que tenemos un sistema limpio y al día, en realidad no tan limpio pero algo es algo…

4.- Instalando lo necesario;

Reina-Tonia:/# apt-get install libthinkfinger0 libpam-thinkfinger thinkfinger-tools
Leyendo lista de paquetes… Hecho
Creando árbol de dependencias
Leyendo la información de estado… Hecho
Se instalarán los siguientes paquetes NUEVOS:
libpam-thinkfinger libthinkfinger0 thinkfinger-tools
0 actualizados, 3 se instalarán, 0 para eliminar y 0 no actualizados.
Se necesita descargar 0B/56,9kB de archivos.
After this operation, 348kB of additional disk space will be used.
Seleccionando el paquete libthinkfinger0 previamente no seleccionado.
(Leyendo la base de datos …
77977 ficheros y directorios instalados actualmente.)
Desempaquetando libthinkfinger0 (de …/libthinkfinger0_0.3+rev118.2-4_amd64.deb) …
Seleccionando el paquete libpam-thinkfinger previamente no seleccionado.
Desempaquetando libpam-thinkfinger (de …/libpam-thinkfinger_0.3+rev118.2-4_amd64.deb) …
Seleccionando el paquete thinkfinger-tools previamente no seleccionado.
Desempaquetando thinkfinger-tools (de …/thinkfinger-tools_0.3+rev118.2-4_amd64.deb) …
Processing triggers for man-db …
Configurando libthinkfinger0 (0.3+rev118.2-4) …
Configurando libpam-thinkfinger (0.3+rev118.2-4) …
Configurando thinkfinger-tools (0.3+rev118.2-4) …
Reina-Tonia:/#

Configurando:

Reina-Tonia:/# tf-tool –acquire

ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig

Initializing… done.
Please swipe your finger (successful swipes 3/3, failed swipes: 0)… done.
Storing data (/root/.thinkfinger.bir)… done.
Reina-Tonia:/# tf-tool –verify

ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig

Initializing… done.
Please swipe your finger (successful swipes 1/1, failed swipes: 0)… done.
Result: Fingerprint does match.
Reina-Tonia:/#

Nos falta configurar PAM para seleccionar el método de autentificaicón;
Reina-Tonia:/# nano etc/pam.d/common-auth

Dejándolo de este modo;

#
# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authentication modules that define
# the central authentication scheme for use on the system
# (e.g., /etc/shadow, LDAP, Kerberos, etc.). The default is to use the
# traditional Unix authentication mechanisms.
#
#auth required pam_unix.so nullok_secure

auth sufficient pam_thinkfinger.so
auth required pam_unix.so nullok_secure try_first_pass

Añadiendo usuarios a thinkfiner;

Reina-Tonia:/# tf-tool –add-user CdK1

ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig

Two output paths specified, but you may only specify one:
–add-user
CdK1
Reina-Tonia:/# tf-tool –add-user root

ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig

Two output paths specified, but you may only specify one:
–add-user
root
Reina-Tonia:/#

Y seguimos;

Reina-Tonia:/# groupadd fingerprint
Reina-Tonia:/#

Reina-Tonia:/# nano etc/udev/rules.d/60-thinkfinger.rules

Quedando así:

#
# udev rules file for the thinkfinger fingerprint scanner
#
# gives access to the fingerprint reader to those in the "fingerprint" group
#
# Taken from:
# http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger
# which was taken and modified from:
# http://article.gmane.org/gmane.linux.drivers.thinkfinger/329
#

# SGS Thomson Microelectronics Fingerprint Reader
SYSFS{idVendor}=="0483", SYSFS{idProduct}=="2016", SYMLINK+="input/thinkfinger-%k", MODE="0660", GROUP="fingerprint"

# the also-needed uinput device

Editamos;

Para los que usamos GNOME, lo siguiente nos permite autenticarnos usando la huella digital en GDM;

Como $USER repetimos los pasos anteriores;

CdK1@Reina-Tonia:~$ tf-tool --acquire

ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig

Initializing... done.
Please swipe your finger (successful swipes 3/3, failed swipes: 0)... done.
Storing data (/home/CdK1/.thinkfinger.bir)... done.
CdK1@Reina-Tonia:~$ tf-tool --verify

ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig

Initializing... done.
Please swipe your finger (successful swipes 1/1, failed swipes: 0)... done.
Result: Fingerprint does match.
CdK1@Reina-Tonia:~$

CdK1@Reina-Tonia:~$ su
Password or swipe finger:
Reina-Tonia:/home/CdK1# cp .thinkfinger.bir /etc/pam_thinkfinger/CdK1.bir
Reina-Tonia:/home/CdK1# gpasswd -a CdK1 fingerprint
Añadiendo al usuario CdK1 al grupo fingerprint
Reina-Tonia:/home/CdK1# chown CdK1:root /etc/pam_thinkfinger/CdK1.bir
Reina-Tonia:/home/CdK1# chmod 400 /etc/pam_thinkfinger/CdK1.bir
Reina-Tonia:/home/CdK1#

Para el "screensaver"

Si bien se necesitan determinadas versiones de xscreensaver y gnome-screensaver,
dudo que alguien no las tenga debido a lo antiguas que son...

Reina-Tonia:/# nano etc/pam.d/gnome-screensaver

Reina-Tonia:/# nano /etc/udev/rules.d/60-thinkfinger.rules

#
# udev rules file for the thinkfinger fingerprint scanner
#
# gives access to the fingerprint reader to those in the “fingerprint” group
#
# Taken from:
# http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_Thin$
# which was taken and modified from:
# http://article.gmane.org/gmane.linux.drivers.thinkfinger/329
#

# SGS Thomson Microelectronics Fingerprint Reader
SYSFS{idVendor}==”0483″, SYSFS{idProduct}==”2016″, SYMLINK+=”input/thinkfinger-$

# the also-needed uinput device
KERNEL==”uinput”, MODE=”0660″, GROUP=”fingerprint”

Editamos;

Reina-Tonia:/# nano /etc/pam.d/gnome-screensaver

@include common-auth
#auth optional pam_gnome_keyring.so

auth sufficient pam_thinkfinger.so
auth required pam_unix.so try_first_pass nullok_secure

Verificamos que el módulo del thiinkfinger este cargado;

Reina-Tonia:/# lsmod | grep uinput
uinput 14208 1
Reina-Tonia:/#

Agregamos “uinput” a /etc/modules

Reina-Tonia:/# nano etc/modules

añadimos

uinput

Con esto tenemos todo listo…

03 febrero, 2009

wicd instalando en debian, adios nm-applet y wifi-radar,

wicd es un administrador grafico para conectarnos a redes wifi wpa wep y wpa y wep y tambien wpa entre otras que no menciono aqui. ok ustedes entienden

pero no esta en los repos de debian, el dia de hoy... y añadir lineas al sources.list para 1 solo paquete como que no me gusta je =P

este tiene la opcion de manejar ip fija, manejar los DNS, algunos programas externos y nos dice los dbm de la señal =)

en debian lo instale asi

primero consegui en sourceforge el paquete de wicd, en lo personal use la version 1.5.8 (por que es la unica que hay cuando escribi esto talvez cuando lo leas tu ya hay una mas nueva)
y es la actual version estable (feb 2009 xD ) hay una testing pero mas delante la mirare

yo lo que tengo es esto

neo@Bragas:~$ uname -a
Linux Bragas 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux
neo@Bragas:~$ cat /etc/debian_version
5.0

Instalando.

ya que tenemos el paquete lo ponemos con

dpkg -i paquete.deb
pero nos marcara un error que no encuentra este directorio. habra que crearlo
/opt/wicd/encryption/configurations



cd /opt
mkdir wicd
cd wicd
mkdir encryptions
cd encryptions
mkdir configurations

yo lo reinstale xD .

ahora solo corremos wicd como root, yo no tenia un area de noticifacion pero al dar
Bragas:/opt/wicd/encryption/configurations# ps aux | grep wicd
root 7315 0.4 0.5 11352 5480 ? S 12:48 0:01 python -O /usr/lib/wicd/wicd-daemon.py
root 7320 0.0 0.5 10384 5460 ? S 12:48 0:00 python /usr/lib/wicd/monitor.py
neo 7484 0.7 2.1 33040 22144 ? Ss 12:50 0:01 python -O /usr/lib/wicd/wicd-client.py
root 8312 0.0 0.0 3144 768 pts/2 R+ 12:53 0:00 grep wicd

note que el proceso ahi estaba espero le sirva a alguien mas bytez!!
ahi una screenshot pero tiene mas cosas

31 enero, 2009

mi conkyrc

background yes
cpu_avg_samples 2
net_avg_samples 2
out_to_console yes
use_xft yesf
xftfont matrix :size=6
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type normal
xftalpha 0.8
update_interval 1.0
double_buffer yes
minimum_size 10 10
maximum_width 320
draw_shades yes
draw_outline yes
draw_borders yes
stippled_borders 2
border_width 0
alignment bottom_left
use_spacer yes
no_buffers yes
uppercase no

${color green}${hr}$color
TEXT
${color purple}La tostadora de Neo: $kernel
${color green}${hr}$color
${color red}CPU $color ${cpu cpu1}% ${color yellow}Uptime:$color $uptime ${color red} Temp: $color ${acpitemp}cº
${color green}${cpugraph cpu1 78af78 a3a3a3}
${color green}Procs:$color $processes ${color green}Running:$color $running_processes
${color green}Ram:
$color $mem/$memmax - ${color white}$memperc% $membar
${color #00ff00}Swap Usado:
$color $swap/$swapmax - ${color red}$swapperc% ${swapbar}
${color red}Espacio libre:
${color}Raiz ${color}${fs_used /}/${fs_size /}${alignr}${color green}${fs_bar 5,120 /}
${color}/home ${color}${fs_used /home}/${fs_size /home}${alignr}${color green}${fs_bar 5,120 /home}
${color green}${hr}$color
${color yellow}CPU Activos:
${color green}Name PID CPU% MEM%
$color ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
$color ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
$color ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
$color ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
$color ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color yellow}${hr}$color
${color #00ff00}RAM Activos:
$color ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
$color ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
$color ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
$color ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
$color ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
${color green}${hr}$color
${color green}Ethernet: eth0 - ${addr eth0}
${color red}Net Down: ${downspeed eth0} k/s${color green} ${offset 62}Net Up:$color ${upspeed eth0} k/s
${color purple}${downspeedgraph eth0 22,150 104E8B 0077ff} $alignr${color #0077ff}${upspeedgraph eth0 22,150 104E8B 0077ff}
${color green}Wifi: eth1 - ${addr eth1}
${color yellow}Net Down:$color ${downspeed eth1} k/s${color red} ${offset 62}Net Up:$color ${upspeed eth1} k/s
${color brown}${downspeedgraph eth1 22,150 104E8B 0077ff} $alignr${color green}${upspeedgraph eth1 22,150 104E8B 0077ff}
${color purple}${hr}$color
${color yellow}Port(s)${alignr}#Connexiones
$color ALL: ${alignr}$color ${tcp_portmon 1 65535 count}
${color orange}Port(s)${alignr}#INPUT
${color purple}Remote Address ${alignr} Local Service/Port$color
${tcp_portmon 1 65535 rhost 0} ${alignr} ${tcp_portmon 1 65535 lservice 0}
${tcp_portmon 1 65535 rhost 1} ${alignr} ${tcp_portmon 1 65535 lservice 1}
${tcp_portmon 1 65535 rhost 2} ${alignr} ${tcp_portmon 1 65535 lservice 2}
${tcp_portmon 1 65535 rhost 3} ${alignr} ${tcp_portmon 1 65535 lservice 3}
${tcp_portmon 1 65535 rhost 4} ${alignr} ${tcp_portmon 1 65535 lservice 4}
${tcp_portmon 1 65535 rhost 5} ${alignr} ${tcp_portmon 1 65535 lservice 5}
${color red}Port(s)${alignr}#OUTPUT
${color purple}${hr}$color
${color green}Remote Address ${alignr} Local Service/Port$color
${tcp_portmon 1 65535 rhost 0} ${alignr} ${tcp_portmon 1 65535 rservice 0}
${tcp_portmon 1 65535 rhost 1} ${alignr} ${tcp_portmon 1 65535 rservice 1}
${tcp_portmon 1 65535 rhost 2} ${alignr} ${tcp_portmon 1 65535 rservice 2}
${tcp_portmon 1 65535 rhost 3} ${alignr} ${tcp_portmon 1 65535 rservice 3}
${tcp_portmon 1 65535 rhost 4} ${alignr} ${tcp_portmon 1 65535 rservice 4}
${tcp_portmon 1 65535 rhost 5} ${alignr} ${tcp_portmon 1 65535 rservice 5}
${color orange}${hr}$color
${color red}Wifi$color
${color green}ESSID: ${color orange}$alignr${wireless_essid eth1}
${color blue}link quality max $alignr${wireless_link_qual_max eth1}
${color purple}AP's MAC $alignr${wireless_ap eth1}
${color yellow}Quality: $alignr${color red}${wireless_link_qual_perc eth1}% (${wireless_bitrate eth1})
${wireless_link_bar eth1}
${color orange}${hr}$color
${color red}battery:$alignr ${battery}
${color blue}batetery time: $alignr${battery_time}
${color yellow}battery percent: $alignr${battery_percent}%

30 enero, 2009

screenshot usando la consola (por que mi plug in no servia -.-)

see queria tomar un screenshot en xfce y tomalas.. que no habia con que -.- y segun eso el plug in estaba instalado pero ah que mas da.

instalar imagemagick

y se usa algo asi

import -window root imagen.png y ya hahaha

28 enero, 2009

Mi sources.list

deb http://mmc.igeofcu.unam.mx/debian/ lenny main contrib non-free
deb-src http://mmc.igeofcu.unam.mx/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

#para que chin.. quiero mas? son de la unam =)

24 enero, 2009

color prompt

bueno ahi tengo una vieja pc sin X y el blanco y negro me daba hueva y mire como cambiar el color y ahora es verde modificando el $HOME/.bashrc al final le puse esta exprecion que encontre en la red no se el autor o.O

PS1="\[\e[32m\]\u@\h:\w\$\[\e[m\] "

y en root

PS1="\[\e[31m\]\h:\w#\[\e[m\] "


uno verde el otro rojo xD chevere

02 enero, 2009

Debian. compilar kernel debian a la manera mas huevona (haragan o sin esfuerzo para los que no sean de Mèxico)

instalamos estos paquetes que son necesarios:

build-essential
linux-headers-$(uname -r)
libncurses5-dev
kernel-package

entramos en

www.kernel.org
y bajamos el source
wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.8.tar.gz

ya que lo bajas lo descomprimes
tar -zvxf linux-2.6.28.tar.gz

entra en el directorio que te creo y pon
make clean
make menuconfig

si tienes un .config lo puedes cargar si no configura tu kernel ahi mismo

compilalo asi

make-kpkg --initrd kernel_image kernel_headers

el --initrd te crea una imagen initrd en el pakage que se va a guardar en /boot kernel_image kernel_headers crean dos paquetes .deb uno es el kernel y otro son los headers estos los crea en el directorio superior

lo instalas con
dpkg -i paquete.deb

y ya =) enjoy

(lo hice con una p3 a 800 mhz y 64 en ram tardo 2 dias -.-)