« Wifi » : différence entre les versions

De wikilivois
Aller à la navigationAller à la recherche
m (1 version)
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
[[Category:Systèmes]]
[[Category:Systèmes]]
http://ndiswrapper.sourceforge.net/


http://acx100.sourceforge.net/matrix.html
http://acx100.sourceforge.net/matrix.html
Ligne 54 : Ligne 52 :
(use dselect, dpkg, apt or anything you like to get it).
(use dselect, dpkg, apt or anything you like to get it).


=Installation des cartes=
==Installation de ndiswrapper (utilisé par plusieurs cartes)==
http://ndiswrapper.sourceforge.net/
#apt-get install ndiswrapper-modules-2.6.8-2-686 ndiswrapper-utils
#apt-get install ndiswrapper-source ndiswrapper-utils linux-headers
ETCH ndiswrapper-utils-1.8 remplace ndiswrapper-utils
#cd /usr/src/
#sudo tar jxvf ndiswrapper-source.tar.bz2
#cd modules/ndiswrapper/
#sudo make
#sudo make install
OU
telecharger http://ndiswrapper.sourceforge.net/
#cd ndiswrapper-<version>
#make deb
#cd ..
#sudo apt-get install ndiswrapper*.deb
#ln -s /usr/src/kernel-headers-2.6.8-2-686 /lib/modules/2.6.8-2-686/build
récupérer le driver sur http://ndiswrapper.sourceforge.net/mediawiki/index.php/Main_Page
===Ralink RT2500===
http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page
#lspci
0000:00:09.0 Network controller: RaLink Ralink RT2500 802.11 Cardbus Reference Card (rev 01)
récupérer le module rt2500.ko (avec rt2500-1.1.0-b1 puis make)
/lib/modules/2.6.8-2-k7/kernel/drivers/net/wireless/rt2500.ko
===Connextant Prism ISL386 [Prism Javelin/Prism Xbow]===
#lspci
0000:01:01.0 Network controller: Intersil Corporation ISL3886 [Prism Javelin/Prism Xbow] (rev 01)
il faut passer par ndiswrapper car le module prism54 ne le gère pas
http://prism54.org
"Support for Xbow/Javelin will not be supported anytime soon."
<blockquote>
Remarque au 9 juin 2007: cela semble avoir changé - le matériel ISL38xx semble désormais supporté.
</blockquote>
-----------------------------------
Card: Gemtek WL850FJx (Conexant)
Chipset: Intersil Corporation ISL3886 Prism Javelin/Prism Xbow? (rev 01)
pciid: 1260:3886 (rev 01)
Driver: from "http://download.fujitsu-siemens.com/Download/ShowDescription.asp?SoftwareGUID=3B928095-EEEE-4194-91A7-E0CBE2D28B56"
Other: It came with Fujitsu-Siemens Amilo D1845 laptop. Working under debian, kernel 2.6.10
-----------------------------------
#mkdir FSC
#mv FSC_1001278.zip FSC
#unzip FSC_1001278.zip
#cd FSC
#sudo ndiswrapper -i PRISMA00.inf
#sudo ndiswrapper -l
#sudo ndiswrapper -m => écrit "alias wlan0 ndiswrapper" dans modprobe.d/ndiswrapper
#sudo depmod
#sudo modprobe ndiswrapper
#sudo insmod /lib/modules/2.6.xx/misc/ndiswrapper.ko
If the driver is loaded successfully, you should see a message in the system log ndiswrapper version V loaded
If you have successfully installed windows drivers earlier (with ndiswrapper -i INFfile), the ndiswrapper module will load them all. You should then see the following messages in system log ndiswrapper: driver driver1 added for each of the drivers. If you don't see these messages, it usually means that there are no (usable) drivers installed in /etc/ndiswrapper directory. If the system has a card that works with one of the loaded drivers, you should see the following message in the system log wlan0: ndiswrapper ethernet device xx:xx:xx:xx:xx:xx
#blacklist prism54
#sudo vi /etc/modprobe.d/blacklist
===Trendnet PC card TEW-421PC===
#lspci -v
0000:02:00.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface
        Subsystem: Texas Instruments: Unknown device 9067
        Flags: medium devsel, IRQ 5
        Memory at 1e820000 (32-bit, non-prefetchable) [disabled] [size=8K]
        Memory at 1e800000 (32-bit, non-prefetchable) [disabled] [size=128K]
        Capabilities: [40] Power Management version 2
#lspci -n
0000:02:00.0 0280: 104c:9066
Fonctionne avec ndiswrapper http://ndiswrapper.sourceforge.net/mediawiki/index.php
-----------------------------------------------
Card: Trendnet TEW-421PC Wireless CardBus Card


    * Chipset: Texas Instruments ACX 111 54Mbps
    * pciid: 104c:9066
    * Driver: The WinXP driver coming with the card has troubles with associating to the access point; one day it associates immediately and everything works fine, the other day it just won't associate. This seems to be a configuration problem, as exactly the same driver (tnet1130.sys with firmware files fwrad16.bin and fwrad17.bin) with a different configuration (contained in tnet1130.inf) as distributed for the Airlink+ 802.11g Model AWLH3025 (http://www.airlinkplus.com/driver/11g/awlh3025_v6_0_5_30_xp.zip) works very well including WEP.
-------------------------------------------------
#sudo ndiswrapper -i TNET1130.INF
#sudo ndiswrapper -l


=le WPA=
=le WPA=
Ligne 178 : Ligne 76 :
</licode>
</licode>


{{copy|2007|Christophe de Livois|FDL}}
{{copy|2007-2018|Christophe de Livois|FDL}}

Version du 2 juin 2018 à 15:39


http://acx100.sourceforge.net/matrix.html

http://www.linux-wlan.org/ (liste de matériel compatible)

http://www.linuxhomenetworking.com/linux-hn/wmp11-linux.htm

http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Linux.Wireless.usage.html

http://hostap.epitest.fi/wpa_supplicant/

iwconfig <iface> essid livois
iwconfig <iface> mode ad-hoc
iwconfig <iface> channel 10 
ifconfig <iface> 192.168.xxx.xxx
iwlist <iface> scan
iwlist <iface> channel

From the README.Debian script that comes with wireless-tools: /etc/network/interfaces

You can now add extra statements to the iface sections of the files in /etc/network/interfaces that are specific for wireless interfaces. They are of the form:

   wireless-<function> <value>

Before the interface is brought up, such a statement will result in the execution of the following command:

   iwconfig <interface> <function> <value>

Example:

<licode> iface eth0 inet static

   address 192.168.1.2
   network 192.168.1.0
   netmask 255.255.255.0
   broadcast 192.168.1.255
   wireless-essid livois
   wireless-mode ad-hoc | managed

</licode>

The current Debian script support all arguments present in wireless.opts apart from Nickname. You can check this in the script /etc/network/if-pre-up.d/wireless-tool. You will need of course to install the Wireless Tools package if it's not already done, which is part of the standard package list (use dselect, dpkg, apt or anything you like to get it).


le WPA

http://hostap.epitest.fi/wpa_supplicant/

http://wiki.debian.org/WPA

#sudo apt-get install wpagui wpasupplicant

<licode file=/etc/network/interfaces> auto wlan0 iface wlan0 inet static

   address             192.168.10.33
   network             192.168.10.0
   netmask             255.255.255.0
   broadcast           192.168.10.255
   gateway 		192.168.10.1
   wpa-ssid            livois.com
   wpa-key-mgmt        WPA-PSK
   #wpa-psk: your preshared wpa key. Use wpa_passphrase(8) to generate your psk!
   wpa-psk             927ff98714d0a8d74e131d942e1dfa49d268293953c68a6b85ece7eed8beb9b0
   wpa-proto           WPA

</licode>

Copyright

© 2007-2018 Christophe de Livois

Tête de GNU Vous avez l'autorisation de copier, distribuer et/ou modifier ce document suivant les termes de la GNU Free Documentation License, Version 1.2 ou n'importe quelle version ultérieure publiée par la Free Software Foundation; sans section invariante, sans page de garde, sans entête et sans page finale. Pour plus d'informations consulter le site de l'APRIL.