----------------------------- Procédure sous Debian unstable ----------------------------- apt-get install rt2500 rt2500-base cd /usr/src/ tar xvzf rt2500.tar.gz cd modules/rt2500/ (ou sinon aller sur http://rt2x00.serialmonkey.com/ attraper les sources, attention à la version CVS parfois buggée) en supposant que uname -r donne x.x.xx-x-x ln -s /usr/src/kernel-headers-x.x.xx-x-x/ /usr/src/linux-x.x.xx-x-x/ ln -s /usr/src/linux-x.x.xx-x-x/ /usr/src/linux/ make make install echo "alias ra0 rt2500" >> /etc/modules.conf echo "alias ra0 rt2500" > /etc/modutils/rt2500 update-modules modprobe ra0 puis configurer ra0i Pour Kismet: source=orinoco,ra0,orinocosource Lien principal: http://rt2x00.serialmonkey.com/wiki/index.php/Debian_rt2500_Howto ---------------------- ----------------------- ce que j'ai lu ------------------------ http://rt2x00.serialmonkey.com/wiki/index.php/Debian_rt2500_Howto ------- ------- Before We Begin First off, insert your card into the computer. Next, download the kernel headers for your kernel. To do this, find out your kernel release by typing $ uname -r in a terminal. Then download the package called kernel-headers-x.x.xx-x-x. Replace the x's with the number of your kernel. Make sure have the exact version number. kernel-headers-2.6.11-1 is not good enough if uname -r says 2.6.11-1-686. To make things easy, create a symbolic link to your kernel headers like this (replace the x's with your kernel release): $ su # ln -s /usr/src/kernel-headers-x.x.xx-x-x/ /usr/src/linux-x.x.xx-x-x/ # ln -s /usr/src/linux-x.x.xx-x-x/ /usr/src/linux/ That way, the driver will know where your kernel headers are. [edit] Downloading the Driver Once that is done, the drivers are ready to be downloaded. Get them at http://rt2x00.serialmonkey.com/wiki/index.php/Downloads. The beta and stable drivers didn't work for me, so I downloaded the cvs tarball. Extract the drivers to wherever. A good spot might be /home/username/downloads/. [edit] Compiling the Driver In a terminal, cd into the Module directory: $ cd rt2500-cvs-20050421/Module That is an example. You'll have to change the date. Open the readme with a text editor for reference. Compile the driver: $ make $ su # make install When that's finished, go to /lib/modules/`uname -r`/extra/. There should be a file called rt2500.ko in there. If not, find it and copy it to that folder. [edit] Fix Up Some Stuff Look at /etc/modules.conf. You'll probably see a line that says "alias ra0 rt2500." This is fine, but Debian does things a little bit differently. Copy that line (and maybe some other text near it). Make a file called /etc/modutils/rt2500 with nano or another text editor: # cd /etc/modutils # nano rt2500 Paste the line that you copied earlier into the file and save it. Update modules.conf: # update-modules [edit] Configure the Card First, load the module by typing: # modprobe ra0 Download the wireless-tools package if it's not already installed. # apt-get install wireless-tools Read the section on http://ndiswrapper.sourceforge.net/mediawiki/index.php/Installationcalled Configure Interface. Get your Internet working by following the instructions. Make sure to replace wlan0 with ra0. At the end, dhclient ra0 is the one that works. [edit] Automate It Once everything is working, you probably want the card to activate on startup. Open /etc/network/interfaces: # nano /etc/network/interfaces Add something similar to these lines somewhere in the file: auto ra0 iface ra0 inet dhcp wireless-essid MyESSID wireless-key 12345678 The "auto" line means it will be brought up automatically during the boot sequence. Replace MyESSID with your ESSID and 12345678 with your WEP key if you have one. Don't put dashes in your WEP key. If you don't have a WEP key, which is bad, then comment out that line by putting a # in front of it. If you wish to use WPA then add the lines below in addition to those above pre-up ifconfig ra0 up pre-up iwpriv ra0 set AuthMode=WPAPSK pre-up iwpriv ra0 set EncrypType=TKIP pre-up iwconfig ra0 essid youressidname pre-up iwpriv ra0 set WPAPSK=wireless password If you wish to configure the device with a static-IP (good todo some testing if DHCP doesn't get you a lease) then replace the iface ra0 inet dhcp line above with the lines below, configured to match your environment. iface ra0 inet static address x.x.x.x #the address of the linux wireless adapter netmask x.x.x.x network x.x.x.x broadcast x.x.x.x gateway x.x.x.x #add the route for the wireless interface up route add net default netmask 0.0.0.0 gw x.x.x.x dev ra0 dns-nameservers x.x.x.x dns-search yourdomainname ------ ------ Un constructeur de chipset Wireless 802.11 (Ralink) propose des pilotes sous GPL pour GNU/Linux. De plus il semble que l'on puisse utiliser le mode monitor sous GNU/LInux avec ce genre de carte, ce qui peut être très intéressant actuellement, étant donné que les cartes supportées par Prism54 sont extrèmement réduites à cause d'un changement de chipset de la part des constructeurs de cartes. Ralink proposent plusieurs chipset (PCMCIA, PCI et USB) en G. Pour plus d'informations : http://www.ralinktech.com/home.asp : page du constructeur http://ralink.rapla.net/ : liste de cartes intégrant ce chipset http://61.222.76.235/phpbb2/index.php : forum proposant de l'aide http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page : page des pilotes libres -------- Finalement, j'ai acheté un lot de carte Asus WL107G (donc avec du rt2500), et voici la procédure pour la faire marcher correctement sous GNU/Linux (à noter que les pilotes de la carte sont distribués sous license GNU GPL et que Asus indique sur sa boîte que la carte est compatible GNU/Linux) : $ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/rt2400 login // Pas de mot de passe $ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/rt2400 co source $ cd source/rt2500/Module/ $ make debug # make install Voilà, normalement il chargera correctement le module `rt2500' quand vous insérerez la carte PCMCIA. De plus, si vous souhaitez utiliser le mode monitor (disponible actuelement dans le CVS), pour kismet, il vous suffit de mettre : source=orinoco,ra0,orinocosource Puis de lancer Kismet, et c'est tout smile . http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page usr/share/doc/rt2500-source/README.Debian