martes, 14 de octubre de 2008

Ubuntu: Hardy Heron, configurar un VNC Server

Referencias:
  • http://maketecheasier.com/set-up-a-vnc-server-in-ubuntu-hardy-heron/2008/05/30
Solución:
  • Ir a: System->Preferences->Remote Desktop.

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

Bash: find command

Referencias:
  • https://help.ubuntu.com/community/find
  • http://www.go2linux.org/usages-examples-of-find-command

lunes, 7 de abril de 2008

Ubuntu: There was an error starting the GNOME Settings Daemon.

Referencias:
  • http://depratama.wordpress.com/2007/12/19/ubuntu-error-starting-the-gnome-settings-daemon/
El siguiente error se produce al bootear linux.

"
There was an error starting the GNOME Settings Daemon.

Some things, such as themes, sounds, or background settings may not work correctly.

The last error message was:

Failed to connect to socket /tmp/dbus-E5LfJ0BbwA: Connection refused

GNOME will still try to restart the Settings Daemon next time you log in.
"


Solucion
Cito:

"
i found 2 solution.

1. add two line in file /etc/network/interfaces:
auto lo
iface lo inet loopback

and commenting out all entries with IPv6
then type sudo ifup lo on terminal
and reboot linux box (ubuntu 7.04/feisty fawn)

2. Go in the sound preferences and disable ESD

Then i use the first solution, and it works. So if you have the same problem, just do 2 solution above, and i hope it works to you too.

"

Ubuntu: WPA WIreless

Referencias:
  • http://www.debianadmin.com/enable-wpa-wireless-access-point-in-ubuntu-linux.html
Cito:

"

To update the source list run the following command

sudo apt-get

sudo apt-get install wpasupplicant

sudo apt-get install network-manager-gnome network-manager

sudo gedit /etc/network/interfaces

Comment out everything other than “lo” entries in that file and save the file

Create a file called /etc/default/wpasupplicant, add entry ENABLED=0 and save the file

sudo touch /etc/default/wpasupplicant

Reboot your system or use the following command

sudo /etc/init.d/dbus restart

Once you login back in to your machine you need to left-click the network manager icon in Gnome and select your wireless network It should prompts for password, type, etc and It will ask you to choose a password for your new “keyring”.

"

viernes, 4 de abril de 2008

Ubuntu: AWN en AMD64

Referencias
  • https://answers.launchpad.net/awn/+question/11608
  • http://wiki.awn-project.org/InstallingFromSource#Instructions
Se compila desde cero el código.

Instalar previamente estas librerías:

  1. python-dev
  2. python-gtk-dev
  3. python-cairo-dev
  4. python-gconf
  5. python-gnome2-dev
  6. python-gnome2-desktop

Cito

"
https://code.edge.launchpad.net/~awn-curves-team/awn/awn-curves
to check if there's some news and then:
----------------------------------------------------------------------------------------------------------------------------------
#first of all you need bazaar i can't remember the name of the package right now but i'm sure you'll get by yoursel, or searching here in lounchpad
#install dependency
sudo apt-get install build-essential automake1.9 autotools-dev libxdamage-dev libxcomposite-dev libgnome2-common libgnome2-dev libgnome-desktop-dev libgnome-vfs-dev libgtk2.0-dev libwnck-dev libgconf2-dev libglib2.0-dev libdbus-glib-1-dev libgnomevfs2-0 libgnome-desktop-2 libgnome2-0 libwnck-common python-gtk2 python-gconf bzr gnome-common

#get files from launchpad bazaar
cd ~
bzr branch http://bazaar.launchpad.net/~awn-curves-team/awn/awn-curves

#configure, compile, and the install as super user
cd awn-curves
./autogen.sh && make && sudo make install


"

#resolve library dependencies

sudo ldconfig

"

#if you want extra applets... and i'm shure you want, do:
cd ~
mkdir awn-extras
cd awn-extras
bzr branch http://bazaar.launchpad.net/~awn-extras/awn-extras/trunk
cd trunk/awn-

applets/awn-core-applets
./autogen.sh && make && sudo make install


----------------------------------------------------------------------------------------------------------------------------------

that's all
cd trunk/awn-applets/awn-core-applets
./autogen.sh && make && sudo make install


ah i think is worted to mention how to uninstal if you used bazar:
----------------------------------------------------------------------------------------------------------------------------------
cd ~/awn-curves
sudo make uninstall
cd ~/awn-extras/trunk/awn-applets/awn-core-applets
sudo make uninstall

#and if you want to remove the sources do:
cd ~
rm -Rf awn-curves
rm -Rf awn-extras


"

Ubuntu: Skype en AMD64

  1. Bajar el paquete para ubuntu con arquitectura i386 (32 bits)
  2. sudo dpkg -i --force-architecture PAQUETE-DE-SKYPE.dpkg
  3. bajar getlibs
  4. getlibs /usr/bih/skype
  5. ejecutar skype

lunes, 25 de febrero de 2008

Windows: montar particiones ext3

Referencias:
  • http://ext2fsd.sourceforge.net/projects/projects.htm#ext2fsd
  • http://fs-driver.org/download.html
Solución:
  • http://ext2fsd.sourceforge.net/projects/projects.htm#ext2fsd

MDA Pro: "unable to obtain server-assigned IP address" in ActiveSync 4.1

Para el problema: "unable to obtain server-assigned IP address" in ActiveSync 4.1

Referencias:
  • http://groups.google.co.uk/group/microsoft.public.pocketpc/browse_thread/thread/d6df3cc438b9ca5f/8bd321e9d0200967%238bd321e9d0200967?hide_quotes=no
Solución:
  1. Ir a: Settings>Connections>Configure Network adapters>Network Adapters> Remote-NDIS Host
  2. IP: 169.254.2.1
  3. Subnet: 255.255.0.0
  4. Default gateway: 169.254.2.2