Básicamente primero hay que ver si se ha detectado ya la tarjeta con el comando:
dmesg | grep ipw2200
En mi laptop udev ya habia reconocido la tarjeta y generaba un error informado que no encontraba un archivo ver:
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, git-1.0.8
ipw2200: Copyright(c) 2003-2005 Intel Corporation
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: ipw-2.4-boot.fw load failed: Reason -2
ipw2200: Unable to load firmware: -2
ipw2200: failed to register network device
ipw2200: probe of 0000:02:06.0 failed with error -5
Asi que baje el firmware de la tarjeta, la version 2.4 de sourceforge, descomprimi los archivos y los copie a la siguiente dirección:
/usr/lib/hotplug/firmware
Despues de reiniciar la Laptop al ejecutar un ifconfig aparece como eth2 el adaptador y es necesario configurar /etc/network/interfaces con las siguientes lineas:
# My Access to Internet using ADSL Modem with PPPoE
iface dsl-provider inet ppp
provider dsl-provider
# iface eth0 inet manual
# The Wireless Access ChanWiFi is the WiFi in my Home
iface eth2 inet dhcp
wireless-essid ChanWiFi
auto eth2
Mas información la encontre en Google:
Also, you will need a 2.6(.4+ I think) kernel, compiled from source with HAM_RADIO compiled as module and HOTPLUG support enabled. Once installed, you will need to make a link from your /lib/modules/[ Kernel.Vers] directory, called 'build' and aimed at your kernel source files. In my case this was created like so;
ln -s /usr/src/kernel-source-2.6.8 /lib/modules/2.6.8/build
Install Packages
This is specific install to Debian, but there are RPM's out there and source packages as well, but next we need to install wireless-tools;
apt-get update
apt-get install wireless-tools
Next, download the ipw2200-0.16.tgz package from sourceforge, and save it somewhere safe in your home directory ? I saved mine to ~[username]/software/. To install it;
cd /usr/local/src
tar xzvf ~[username]/software/ipw2200.tgz
cd ipw2200-0.16
make
make install
I didn't encounter any problems here. If you do, check that you have the correct apps installed to compile with and that you have the kernel source built correctly etc. Don't forget the symlink in /lib/modules/[ kernel.vers]
Download the firmware from sourceforge. Make sure you get the correct one, for the ipw2200-0.16 used here the ipw2200-fw-2.0.tgz is the correct one. This will contain 4 firmware files which need copying to;
/usr/lib/hotplug/firmware
Get things going
If you've tried getting things going previously with an 'ndis' package, remove it, remove the installed module (modprobe -r ndiswrapper) and reboot.
Load the ipw2200 module;
modprobe ipw2200
Check this is loaded without errors by looking at you dmesg output;
dmesg | grep ipw2200
Make sure there are no errors, then adjust your interfaces file to look something like this;
vi /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#auto eth0
#iface eth0 inet dhcp
#name Ethernet LAN card
iface eth0 inet dhcp
wireless_essid *********
wireless_key **********
wireless_mode Managed
wireless_ap any
wireless_channel 11
auto eth0
Obviously the particular settings only you will know. 'iwlist' is your friend here;
iwlist [interface] scan
Notice how the original eth0 setting for your original wired connection are just blanked out. This will make things easy to uncomment/comment things if you are working away from a wireless LAN and don't want too much hassle re-inputting details.
Now restart the network and cross fingers;
/etc/init.d/networking restart
Notes
The ipw2200-0.16 drivers and firmware can be downloaded from
http://ipw2200.sourceforge.net/
*****************************************
I will suppose u have the files ipw2200-1.0.8.tgz , ipw2200-fw-2.4.tgz and ieee80211-1.1.6.tgz on your home folder
Note: If you are running an ubuntu kernel you must have the linux headers
file.pngCode:
sudo apt-get install linux-headers-`uname -r`
* Let's start compiling it now... we will work on a temp directory
file.pngCode:
cd /tmp mkdir wifi cd wifi cp ~/ipw2200- 1.0.8.tgz ~/ipw2200-fw-2.4.tgz ~/ieee80211-1.1.6.tgz . mkdir fw tar xzvf ipw2200-1.0.8.tgz tar xzvf ieee80211-1.1.6.tgz tar xzvf ipw2200-fw-2.4.tgz -C fw/
* Let's get the remove-old script
file.pngCode :
wget http://wael.nasreddine.com/files/ubuntu/remove-old
* Remove all loaded modules related to ipw2200
file.pngCode:
sudo rmmod ipw2200 sudo rmmod ieee80211 sudo rmmod ieee80211_crypt
* Launch the remove-old script
file.pngCode:
chmod a+x remove-old sudo ./remove-old} Comment and remove all what the script finds
* Enter inside the folders and run the scripts there too
{{BoxCode
* Install ieee80211, ipw2200 put the FW in order
* Installing ieee80211
file.pngCode:
cd ieee80211-1.1.6 make && sudo make install cd ..
* Installing ipw2200
file.pngCode:
cd ipw2200-1.0.8 make && sudo make install cd ..
* Putting fw in place
file.pngCode:
cd fw sudo cp * /usr/lib/hotplug/firmware
* Load the Firmware and Voilà
file.pngCode:
sudo modprobe ipw2200
*******************************************
Paso 19
Nos queda configurar el enlace inalámbrico (wifi / wireless / IEEE802.11g), no nos habíamos olvidado, conste. Para ello, seguimos las instrucciones que nos dan en este útil enlace, y ejecutamos lo siguiente en la consola:
apt-get install module-assistant (facilita la creación de paquetes debian, a partir de los ficheros fuente)
apt-get install gcc (puede que no sea necesario, pero vamos a compilar algo, y por si las moscas...)
m-a -t update
m-a -t -f get ipw2200
m-a -t build ipw2200
m-a -t install ipw2200
Si todo fue bien, m-a (nada que ver con Hannibal Smith y cia.) se bajó de internet el paquete ipw2200 (fuentes), lo compiló y creó un nuevo paquete debian con el módulo cargable ipw2200 (y algún otro), e instaló dicho paquete. Podemos ver (y guardar para instalar en el futuro) que ahora tenemos un paquete debian en: /usr/src/ipw2200- modules-xxxxx.deb, siendo xxxxx algo muy largo para escribirlo aquí...
Ahora debemos descargarnos un "firmware" requerido por el módulo ipw2200, de la página: http://ipw2200.sourceforge.net/firmware.php y nos bajamos la última versión ("para 1.9 y más nuevos"). El fichero en cuestión es un comprimido .tgz : lo guardamos en el directorio /opt (por ejemplo) lo descomprimos ahí mismo, y copiamos los ficheros .fw en el directorio /usr/lib/hotplug/firmware/ Todo esto mejor si lo hacemos desde gnome :-)
Seguidamente cargamos el módulo:
modprobe ipw2200
Paso 20
Pero aún faltan varios detalles. Debemos descargar el paquete wireless-tools y el paquete wpasupplicant (este último si queremos cifrado WPA-PSK, con TKIP, recomendable):
apt-get install wireless-tools (contiene la utilidad iwconfig y otras).
apt-get install wpasupplicant
Paso 21
Ejecutamos iwconfig, y donde nos aparezca información sobre wireless es el enlace inalámbrico (a configurar). Pongamos que es: eth1, y que va a tener la dir. IP 192.168.0.10, estática (sin dhcp), con los servidores DNS: 80.81.82.83 80.81.82.84