Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:guides:wifi-hard [2010/07/08 17:14] 127.0.0.1 external edit |
en:guides:wifi-hard [2010/08/22 17:10] (current) linea |
||
---|---|---|---|
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. |