CoffMan Blog Victor Fariña Infante , info about my own projects and thoughts.

21Oct/030

HP DL380 G3 Debian Linux Howto

Proliant DL380 G3 A new fabricant problem surges when you try to install linux (particulary debian) on some hardware . The Hardware is a Xeon Rack , the ProLiant DL380 Generation 3 consists of :

Compaq's SMART Array Controllers Broadcom Network Card

the rest of the hardware installs well .

Installation Disks and hard drive support

When you try to install debian the first problem is the install disks (the set of disks with 3.0 version)does not contain drivers for hard drive. I download a set of disks from the Debian homepage, the set are : Disk1 : root.bin (from /3.0.23-2002-05-21 Imagenes/images-1.44/bf2.4) Disk2 : rescue.bin (from /3.0.23-2002-05-21 Imagenes/images-1.44/bf2.4)

with that disk set the installation must contain drivers for Compaq\'s SMART Array Controllers (cciss drivers if you want to compile at hand) Then you can install Debian from this install disks. When you finish that, you must compile a kernel (or use one from apt-get) and put the drivers for the network card.

Network Card

Download drivers for Broadcom 57xx NIC (BCM5700 particulary) from www.broadcom.com and the archive is : linux70.zip Next you must compile the kernel, and install it, read kernel howto . The next is compile and install the drivers for the NIC.

#unzip linux.zip #tar xzvf bcm5700-7.0.0.tar.gz it creates a directory hierarchy like this : Server/Linux/Driver/bcm5700-7.0.0/src go to it : #cd Server/Linux/Driver/bcm5700-7.0.0/src #make this creates bcm5700.o (try it with insmod bcm5700.o)

copy it to /lib/modules/2.4.18/kernel/drivers/net (substitute 2.4.18 for your kernel version) add this line to /lib/modules/2.4.18/modules.dep /lib/modules/2.4.18/kernel/drivers/net/bcm5700.o:

next execute : #depmod -a

and voila, you can restart and install it at boot time with /etc/modules.conf alias eth0 bcm5700 /etc/modules eth0

Note: The installation on Suse 8.0 does not require install disks, the drivers cciss are included on the cdrom kernel.

good luck

25Sep/030

D-Link DWL-650+ under Linux HOWTO

D-link has announced that Linux drivers for the + generation of 802.11b cards that produces would be published in early January 2003. Such thing did not happened as yet. The chip that ships with DWL-650+ is acx100 by Texas Instruments, and the driver we will use is the acx100_pci from http://acx100.sourceforge.net ... Due to the problems i find when i am looking for a HOWTO to these setup i decided to make one when i finish configure the DWL-650+ under linux

Tested under : I use Redhat 9.0 , and Debian 3.0 , the Laptop is a DELL inspiron 8200, the wireless PCMCIA card was a D-Link DWL-650+ (the + is the key ;) ) and the access point is a US Robotics 2249. the steps taken here is completly independient from the linux distro version

To install this card on linux we need : 1. the kernel sources , I will use 2.4.22 2. Wireless configuration tools ([http://www.hpl.hp.com/personal/Jean\_Tourrilhes/Linux/Tools.html](http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html)) 3. the driver acx100\_pci for linux , download it from CVS (or latest version) on http://acx100.sourceforge.net 4. install CD of DWL-650+ or windows files for this wireless card Steps to make the driver works:
  • 1. Compile a new kernel with at least : CONFIG_EXPERIMENTAL=y CONFIG_MODULES=y CONFIG_KMOD=y CONFIG_NET_RADIO=y

  • 2. install tools from http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html iwconfig, iwspy and iwpriv must be installed from the deb or rpm package .or if you prefer from tarball sources.

  • 3. Configure and compile acx100_pci drivers # tar xzvf acx100-0.1h.tar.gz on /rootput the next windows files (or from DWL-650+ install CD) on the directory acx100/firmware : RADIO00.BIN RADIO11.BIN WBLAN.BIN (it may be on uppercase)

    #make

  • 4. install the driver : copy recent compiled driver acx100/src/acx100_pci.o to /lib/modules/2.4.22/kernel/drivers/net modify modules.conf (add these 2 lines) :configure parameters to install modules with insmod alias wlan0 acx100_pci options wlan0 debug=0xb firmware_dir=/root/acx100/firmware

  • 5. test the driver # insmod acx100_pciit must show a little debug information about the driver and the firmware . Be sure the directory /root/acx100/firmware contains the 3 files of Windows install or from install CD.

    lsmod must show : # lsmod Module Size Used by Not tainted acx100_pci 181952 0

  • 6.Configure parameters and network: # ifconfig wlan0 192.168.0.10 netmask 255.255.255.0 up # iwconfig wlan0 essid myapessid mode managed channel 6 key off rate 22Messid is the ESSID name of my AP mode must be managed for wireless-ap or Ad-Hoc to use without AP KEY off is to use wireless without encryption rate 22M is working for me , if troubles use rate 11M

    # ping 192.168.0.202 PING 192.168.0.202 (192.168.0.202): 1024 data bytes 1032 bytes from 192.168.0.202: icmp_seq=0 ttl=128 time=2.4 ms 1032 bytes from 192.168.0.202: icmp_seq=1 ttl=128 time=2.1 ms ..snip..

Dont forget to use logs : /var/log/messages That's all Folks

CoffMan

19Sep/030

LCD remoto

Objectivo: Tener informacion del estado del equipo linux mediante lcd4linux desde cualquier lugar de un piso mediante un panel informativo LCD ( este por ej.: http://www.crystalfontz.com/products/633/index.html). El unico problema es que todos los LCDs de este tipo son mediante puerto serie (RS232) y necesito que sea remoto, para poder obtener informacion desde cualquier lado de la casa.

20May/030

My projects structure and public cvs

Due to the ammount of projects I try to begin, alone or with another developers, and the various places Ii develop(home, work, laptop, ..) I put all source code con a cvs home accesible from the web, the frontend is from horde and is very nice, is accesible from here . Currently there are only 2 projects, because I am migrating the other projects from old system to remote CVS.

2Apr/030

No a la guerra

I don't understand politic , the only one I am sure is that people can't kill for money . Spanish government helps EEUU and england to attack IRAQ, I never feel spanish, but now i am embarrased of are living on that country, when i travel accross europe far from Spain , I hope nobody identifies me with Spain, I am GALICIAN, NEVER SPANISH ... I can't understand how Americans feel with the president that represents him. The problem of all is that now innocent IRAQUIES are dying and the only responsable of this is EEUU, England and Spain. NO WAR

8Dec/020

Galicia de Luto

Pasan 3 semanas y el gobierno español sigue sin hablar de marea negra y aun ahora no tenemos material necesario para recoger la mierda que ellos dejaron tirar.

medo.jpg

31Jul/020

Retomando J2EE

Por fin llegan las vacaciones !!!!!!! 3 semanitas de relax que ya iban haciendo falta ;Â -Â )Â . Ademas me acabo de comprar un tocho de libro Programacion Java Server con J2EE edcion 1.3 con muy buena pinta. Otro tema pendiente y que retomaré ya será particionar el disco duro del Portatil para meterle de una vez Linux.

30Jul/020

Por fin el aprendizaje inicial ha finalizado

Despues de pelearme para comprender la POO, parecia facil, pero todos mis problemas con java se derivan de la mentalidad estructural que acarreo de C, PHP, ... Ahora ya comprendo algo mejor el Diseño de la aplicacion en Java usando EJBs, Ademas gracias al FIG (programa cojonudo para diagramas UML para Linux) y a algun libro de EJBs (EJB Design Patterns) se hace mas facil el inicio en esta portentosa tecnologia. Ahora si que no entiendo por que la gente se empeña en usar .NET :)

27Jul/020

Búsqueda del skin perfecto

Continua la busqueda del Skin perfecto para mi weblog, estoy mirando los diseños de manila.com, los diseños de blogger.com, estoy adaptando algunos de estos diseños a mi weblog , a ver que tal quedan , se pueden ver poniendo index1.php, index2.php, ...