dimanche 18 novembre 2007

VMware Server 2.0 Beta on Debian GNU/Linux 4.0 etch

He intentado instalar VMWare Server 2.0 Beta en Debian y todo ha ido bien hasta que trate de entrar a la consola de una maquina virtual que no funciono pese a instalar el plugin de VMWare.

El error que se presentaba era:

libvmwareui.so.0: undefined symbol: _ZN4Glib10ObjectBase24connect_property_changedERKNS_7ustringERKN4sigc4slotIvNS4_3nilES6_S6_S6_S6_S6_S6_EE

En Vmware tienen un nudo horrible de dependencias con "redependencias" escandaloso, deberian usar la linea de dependencias oficial de las distribuciones de Linux principales y dejarse de nudos !

Mientras tanto lo he solucionado instalando y copiando las librerias en un directorio aparte y refiriendolo con LD_LIBRARY_PATH ... las librerias que se necesitan son:

libart_lgpl_2.so.2
libatk-1.0.so.0
libatkmm-1.6.so.1
libcairomm-1.0.so.1
libcairo.so.2
libcrypto.so.0.9.7
libcurl.so.3
libcurl.so.4
libexpat.so.0
libfontconfig.so.1
libfreetype.so.6
libgcc_s.so.1
libgdkmm-2.4.so.1
libgdk_pixbuf-2.0.so.0
libgdk-x11-2.0.so.0
libglade-2.0.so.0
libglib-2.0.so.0
libglibmm-2.4.so.1
libglibmm_generate_extra_defs-2.4.so.1
libgmodule-2.0.so.0
libgnomecanvas-2.so.0
libgnomecanvasmm-2.6.so.1
libgobject-2.0.so.0
libgthread-2.0.so.0
libgtkmm-2.4.so.1
libgtk-x11-2.0.so.0
libgvmomi.so.0
libpango-1.0.so.0
libpangocairo-1.0.so.0
libpangoft2-1.0.so.0
libpangomm-1.4.so.1
libpangox-1.0.so.0
libpangoxft-1.0.so.0
libpng12.so.0
librsvg-2.so.2
libsexymm.so.2
libsexy.so.2
libsigc-2.0.so.0
libssl.so.0.9.7
libstdc++.so.6
libview.so.2
libvmwarebase.so.0
libvmwareui.so.0
libXau.so.6
libXcursor.so.1
libXdmcp.so.6
libXfixes.so.3
libXft.so.2
libXinerama.so.1
libxml2.so.2
libxmlrpc_client.so.3
libxmlrpc.so.3
libxmlrpc_util.so.3
libxmlrpc_xmlparse.so.3
libxmlrpc_xmltok.so.3
libXrandr.so.2
libXrender.so.1

La gran mayoria seguramente ya las tienes instaladas, pero otras hay que instalarlas con apt-get y otras vienen con el paquete de VMWare Server 2.0 Beta.

Si quereis instrucciones de como hacer la referencia a estas librerias las instrucciones son:

* Crear un directorio para las librerias como por ejemplo en /usr/lib/vmware/testlib
* Copiar todas las librerias del listado previo en ese directorio
* Poner el comando:
export LD_LIBRARY_PATH=/usr/lib/vmware/testlib
* Ejecutar Firefox con el comando:
firefox

IMPORTANTE: El comando firefox (o iceweasel) lo debes ejecutar en la misma sesion en la cual se ha ejecutado LD_LIBRARY_PATH para que referencie a las librerias necesarias para activar vmware.

RECOMENDACION: puedes hacer un script que establesca el LD_LIBRARY_PATH y llame a firefox para mayor comodida

NOTA: No he podido hacer que se active la tipografia del sistema al cambiar la referencia de las librerias, por lo cual recomiendo llamar a firefox en otra sesion dedicada a VMWare mientras la gente de VMWare completa el Beta y saca una buena version final de VMWare Server 2.0 ok ! ;) :)

Saludos,

Carlos Saltos ! ;) :)

lundi 29 octobre 2007

HP Pavilion DV 2500 webcam driver for Debian GNU/Linux 4.0 etch

* Use the lsusb command to check if the usb id is something like:

ID 04f2:b016 Chicony Electronics Co., Ltd

* The needed driver is the UVC (USB Video Class driver) which could be installed using a Debian utility for packing drivers automatically called modules assistant with this commands:

apt-get install modules-assistant
apt-get install modules-tools
m-a prepare
m-a a-i linux-uvc
apt-get install libpt-plugins-v4l2
modprobe uvcvideo

* And that's it ! ;) :) ... for testing your webcam you might use ekiga under Applications > Internet > Softphone ekiga or with Kopete

* You may want to add ucvideo to the /etc/modules file to load the webcam driver automatically when booting.

jeudi 7 juin 2007

How to install Domino Server 7 on Debian 4 etch GNU/Linux

Instructions for installing the IBM Lotus Domino Server 7 on Debian 4 GNU/Linux:

* Install gawk

apt-get install gawk
ln -s /usr/bin/gawk /bin/gawk

* Create a group named notes and a user notes in that group with

useradd -m notes

or

groupadd notes
useradd -g notes -d /home/notes notes


* Unpack the installation files

tar xvf c84w5na.tar

* Enable the X sessions for other users

xhost +

(if you are worried about security you can use X authorizations for this, you can
take a lock to the X documentation to see how you can do this more securely)

* Test the X permissions for a root session

su -
DISPLAY=:0
export DISPLAY
xcalc

(if you don't see the calculator application something is missing !)

* Execute the setup script as root

su -
export DISPLAY=:0
cd linux
./install

(This script is in the linux directory of the files you just unpack)

* Follow the installation instruccions for default

(Of course you may choose a custom installation but considere they may require
extra pre tasks before executing the setup script)

* After the setup script is complete you may startup the Server Configuration Wizard as

su - notes
DISPLAY=:0
export DISPLAY
cd /local/notesdata
/opt/ibm/notes/bin/server

* Follow the default Server Configuration Wizard instructions

(You may choose a custom configuration here too but depending on them you may
riquired extra pre tasks before configure the server)

* Start the Domino Server

su - notes
DISPLAY=:0
export DISPLAY
cd /local/notesdata
/opt/ibm/notes/bin/server

(The second time you issue this command the script will see that the server is already configured and start it. If you want to reconfigure the server or do special initializations consult the Domino Server documentation)

* Enjoy your Domino Server on Debian 4 GNU/Linux ! ;) :)



NOTES:

* I have some packages already installed in Debian that may vary from a default Debian installation like the libstd packages or the gcc and make packages.

* If you have configured the SMTP mail services on the Domino Server you will need to disable an already active mail server in Debian with

/etc/init.d/postfix stop

or

/etc/init.d/exim4 stop

(If you want to disable the mail services for a default system boot, you may use update-rc.d)

vendredi 30 mars 2007

Intel PRO/Wireless 2200BG for Debian GNU/Linux 4

The Intel PRO/Wireless 2200BG card is already recognized by a Debian GNU/Linux 4 ! ;) You just need to download the FIRMWARE ! :) For that you can follow these steps:

* Download the firmware from http://ipw2200.sourceforge.net/firmware.php (the last version of the firmware will do)

* Unpack the firmware files and copy them in /lib/firmware with this commands:

tar xzvf ipw2200-fw-3.0.tgz
cd ipw2200-fw-3.0
cp * /lib/firmware

You should be root to issue these commands. The version may differ, so pay attention to the exact version you download (try to use the latest one).

* Reload the card's driver so it picks up the firmware newly copied with these commands:

rmmod ipw2200
modprobe ipw2200

You also need to be root to issue these commands ! ;) :)

And It's ready ! :)

* Now you will be able to the Network configuration wizard and setup the Wireless network for your newly setup card ! :)

ATTENTION: Some computers have a button to enable or disable the wireless network physically !! So if you have some error try to push this button to enable or disable the wireless hardware ok ! :)

OPTIONAL: For check if the wireless driver was detected you may use this command as root:

iwconfig

You will be able to see a new interface with wireless support that maybe called eth1 with some default values for ESSID and other wireless parameters with something like this:

lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

eth1 radio off ESSID:off/any
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=off Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

* The exact device I tested has this report line with lspci:

06:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)

I hope you enjoy your new wireless connection with Debian GNU/Linux 4 ! :)