Wifi

De wikilivois
Aller à la navigationAller à la recherche


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.