sábado, 28 de junio de 2008

Mac OSX Leopard: environment variables on bash

References:
  • http://www.macdevcenter.com/pub/a/mac/2004/02/24/bash.html
Solution:
  1. create a file ".profile" in your $HOME directory
  2. declare the environment variable as follows:
    export JAVA_HOME=/usr/bin/java

Mac OSX Leopard: Configure the default login shell

References:
  • http://web.ipac.caltech.edu/staff/hoard/pages/MacOSX_configuration_tips.html#login_shell
Quote:

"The application utility Netinfo Manager no longer exists in Leopard. Instead, open the “Accounts” preferences in System Preferences. Unlock the preferences by clicking on the lock icon in the lower left corner of the preferences panel and entering an administrator password. Then right-click (or control-click) on a user name and select the “Advanced Options” menu. Select the desired login shell from the pull-down menu, and click on “OK”.Log out and back in to put the change into efffect."

miércoles, 9 de abril de 2008

Ubuntu: cracking WPA and WEP keys

Referencias:
  • http://docs.lucidinteractive.ca/index.php/Cracking_WEP_and_WPA_Wireless_Networks#Overview
  • http://ubuntuforums.org/archive/index.php/t-412145.html

Ubuntu: Kismet, localhost:2501 TCP error: socket returned EOF, server has closed the connection

Referencias:
  • http://www.linuxquestions.org/questions/linux-wireless-networking-41/kismet-not-behaving-with-netgear-ma111-262304/
  • http://www.netstumbler.org/f50/kismet-slackware-problem-10628/

Al ejecutar kismet se produce el siguiente error en la pantalla de Status:

"localhost:2501 TCP error: socket returned EOF, server has closed the connection"


Solución:
  1. sudo apt-get install linux-wlan-ng
  2. wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
  3. Configurar la IP de la máquina como estática