SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:guides:wifi-hard [2010/01/25 23:38]
linea created
en:guides:wifi-hard [2010/08/22 17:10] (current)
linea
Line 1: Line 1:
 ====== Wifi, step by step ======= ====== Wifi, step by step =======
  
-=== Introduction ===+===== Introduction ​=====
  
 If you want to use your wifi right away, this page is not for you. You should look at the easy wifi tutorial which explains how to use the tools given by SliTaz. If you want to use your wifi right away, this page is not for you. You should look at the easy wifi tutorial which explains how to use the tools given by SliTaz.
Line 21: Line 21:
 //PS:// On SliTaz, the script /​usr/​bin/​get-wifi-firmware takes care of steps 1 and 2, and the script /​etc/​init.d/​network.sh;​ steps 3 to 6. //PS:// On SliTaz, the script /​usr/​bin/​get-wifi-firmware takes care of steps 1 and 2, and the script /​etc/​init.d/​network.sh;​ steps 3 to 6.
  
-=== Install needed software ===+===== Install needed software ​=====
  
 You'll need the wifi kernel modules and some software to manage wifi. If you are using a wpa key, you'll also need wpa_supplicant:​ You'll need the wifi kernel modules and some software to manage wifi. If you are using a wpa key, you'll also need wpa_supplicant:​
Line 43: Line 43:
 </​code>​ </​code>​
  
-=== Load the kernel module ===+===== Load the kernel module ​=====
  
 <​code>​ <​code>​
Line 55: Line 55:
 If you don't have any errors, you can continue. If you don't have any errors, you can continue.
  
-=== Configure wifi interface ===+===== Configure wifi interface ​=====
  
 Before configuring a new interface, you should de-configure the old one. If your ethernet interface is configured, you should: Before configuring a new interface, you should de-configure the old one. If your ethernet interface is configured, you should:
Line 83: Line 83:
 Iwconfig can also accept others args, look at its man page to know more. Iwconfig can also accept others args, look at its man page to know more.
  
-=== Configure a wep or wpa key ===+===== Configure a wep or wpa key =====
  
 You can easily configure a wep key with iwconfig: You can easily configure a wep key with iwconfig:
Line 92: Line 92:
 But you should //always// use a wpa key, because wep keys can be easily cracked with aircrack, as noted [[http://​www.tuto-fr.com/​tutoriaux/​tutorial-crack-wep-aircrack.php|here]],​ But you should //always// use a wpa key, because wep keys can be easily cracked with aircrack, as noted [[http://​www.tuto-fr.com/​tutoriaux/​tutorial-crack-wep-aircrack.php|here]],​
 wpa_supplicant allows you to use a wpa key (some cards may use wpa without wpa_supplicant). It needs a config file. Usually, ///​etc/​wpa_supplicant.conf//​. If you are using wpa_psk (normally, you are), add this to the file: wpa_supplicant allows you to use a wpa key (some cards may use wpa without wpa_supplicant). It needs a config file. Usually, ///​etc/​wpa_supplicant.conf//​. If you are using wpa_psk (normally, you are), add this to the file:
-<code>+<file>
 ap_scan=1 ap_scan=1
 network={ network={
Line 102: Line 102:
  priority=5  priority=5
 } }
-</code>+</file>
 Or try: Or try:
-<code>+<file>
 ap_scan=1 ap_scan=1
 network={ network={
Line 115: Line 115:
  priority=5  priority=5
 } }
-</code>+</file>
 It's now possible to launch wpa_supplicant:​ It's now possible to launch wpa_supplicant:​
 <​code>​ <​code>​
-wpa_supplicant -B -w -c/​etc/​wpa_supplicant.conf -DWPA_DRIVER -iWIFI_INTERFACE+ # ​wpa_supplicant -B -w -c/​etc/​wpa_supplicant.conf -DWPA_DRIVER -iWIFI_INTERFACE
 </​code>​ </​code>​
 WPA_DRIVER is the name of the driver used by wpa_supplicant. WPA_DRIVER is the name of the driver used by wpa_supplicant.
Line 134: Line 134:
 </​code>​ </​code>​
  
-=== To get connected ===+===== Get connected ​=====
  
 If you want to connect in dhcp, just run: If you want to connect in dhcp, just run:
Line 142: Line 142:
 Normally, you should be surfing! Normally, you should be surfing!
  
-=== Turn off wifi ===+===== Turn off wifi =====
  
 To stop wifi, you should shutdown your wifi card, and stop the wpa_supplicant and udhcpc daemons: To stop wifi, you should shutdown your wifi card, and stop the wpa_supplicant and udhcpc daemons:
Line 154: Line 154:
 # rmmod my_module # rmmod my_module
 </​code>​ </​code>​
 +
 +---- 
 +\\
 +^  Page Review Section ​ ^^ 
 +|Quality| Good  |
 +|Review| Minor Updates ​ |
 +|Priority| Medium |
 +|Problems| add a [[http://​forum.slitaz.org|forum post link]]|
 +|:::     | OR add a [[http://​labs.slitaz.org/​issues |lab issue tracker link ]]|
 +|How to Improve| Suggest briefly|
 +|::: |  |
 +
 +\\
 +----
 
en/guides/wifi-hard.1264459104.txt.gz ยท Last modified: 2010/07/08 17:16 (external edit)