Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.
materiel:wrt54g 2005/05/30 17:48 | materiel:wrt54g 2007/01/07 17:52 version actuelle | ||
Ligne 1: | Ligne 1: | ||
+ | ====== Point d'accès Linksys WRT 54G ====== | ||
+ | ==== Le hardware ==== | ||
+ | |||
+ | {{http://images.jiwire.com/images/reviews/linksyswrt54g/lsw-g_fLights.jpg}} | ||
+ | |||
+ | * [[http://voidmain.is-a-geek.net/redhat/wrt54g_revival.html|Démontage d'un WRT]] | ||
+ | |||
+ | ==== Liste des firmwares compatibles avec le WRT ==== | ||
+ | * [[http://www.linksys.com/support/gpl.asp|Le firmware officiel]] et voici comment [[restaurer_firmware_linksys|restaurer le firmaware Linksys]] sur un AP openWRT | ||
+ | * [[http://www.sveasoft.com/|Le sveasoft]] (violation de la GPL en cours) | ||
+ | * [[http://www.portless.net/menu/ewrt/|EWRT]] sveasoft + nocat -> hotspot | ||
+ | * [[http://h.vu.wifi-box.net/wrt54g/|Wifi-box]] | ||
+ | * [[http://openwrt.org/|OpenWRT]] modulaire (ipkg install rules!!) | ||
+ | * [[http://reseaucitoyen.be/index.php?MeshBoxKit|MeshBoxKit]] (openWRT + OLSR, special pour le meshing) | ||
+ | * [[http://www.freifunk.net/wiki/FreifunkFirmwareEnglish|Freifunk]] (openWRT + OLSR + interface web) | ||
+ | * [[http://www.dd-wrt.com/wiki/index.php?title=DD-WRT_Docu_(FR)|DD-WRT]] pleins de fonctionnalités exotiques et puissantes | ||
+ | |||
+ | ==== Conf OpenWRT ==== | ||
+ | * OpenWrt en [[http://brest-wireless.net/wiki/materiel:openwrt_client|mode client]] | ||
+ | |||
+ | ==== OpenWRT ==== | ||
+ | * [[http://openwrt.org/OpenWrtNVRAM|Les variables nvram d'openWRT]] | ||
+ | * [[http://martybugs.net/wireless/openwrt/client.cgi|Configuration d'openWRT en client]] | ||
+ | * [[http://martybugs.net/wireless/openwrt/|Différente config d'OpenWRT]] | ||
+ | * [[http://nthill.free.fr/openwrt/tracker/|OpenWRT package tracker]] (tous les softs dispos sur le WRT) | ||
+ | |||
+ | === Commandes WRT utiles === | ||
+ | * Afficher la liste des clients | ||
+ | <code bash> | ||
+ | root@OpenWRT~> while :; do wl assoclist; sleep 1; done | ||
+ | assoclist 00:11:09:0B:FA:AB | ||
+ | ... | ||
+ | </code> | ||
+ | |||
+ | * WPA | ||
+ | Afin d'utiliser du WPA, il faut installer le paquet nas. et le lancer dans /etc/init.d/S40network | ||
+ | |||
+ | |||
+ | <code> | ||
+ | /usr/sbin/nas -P /tmp/nas.pid -l br0 -H 34954 -i eth1 -A -m 2 -k VotreCléPSK -s VotreSSID -w 4 -g 3600 | ||
+ | </code> | ||
+ | |||
+ | |||
+ | <code> | ||
+ | -S|-A = Authentificateur (NAS) ou Supplicant | ||
+ | -m N = mode d'autorisation WPA (N = 0: aucun, 1: 802.1x, 2: WPA PSK, 255: désactivé) | ||
+ | -w N = mode de sécurité du réseau (N = 1: WEP, 2: TKIP, 4: AES) | ||
+ | -k clé secrète avec le radius | ||
+ | -s SSID | ||
+ | -g intervalle de régénération de la clé | ||
+ | -H port UDP sur lequel écouter | ||
+ | -l interface qui relie au RADIUS | ||
+ | -i interface sur laquelle écouter | ||
+ | </code> | ||
+ | |||
+ | |||
+ | |||
+ | Coté client il suffit d'utiliser wpa-supplicant | ||
+ | <code>wpa_supplicant -i eth1 -c /etc/wpa_supplicant.conf</code> | ||
+ | |||
+ | Exemple d'un fichier de conf | ||
+ | <code> | ||
+ | network={ | ||
+ | ssid="VotreSSID" | ||
+ | psk="VotreCléPSK" | ||
+ | key_mgmt=WPA-PSK | ||
+ | pairwise=CCMP | ||
+ | } | ||
+ | </code> | ||
+ | |||
+ | |||
+ | * Pour utiliser les anciens softs sur les vieux fw changer /etc/ipkg.conf | ||
+ | <code>src experimental http://openwrt.org/downloads/experimental-old/bin/packages</code> | ||
+ | |||
+ | ==== Hack diverses ==== | ||
+ | * [[http://kiel.kool.dk:27/|Port SDCard]] | ||
+ | * [[http://pdos.csail.mit.edu/roofnet/doku.php?id=wgt634u|WRT + USB = Netgear]] | ||
+ | * [[http://www.rwhitby.net/wrt54gs/serial.html|Cable Série]] | ||
+ | * [[http://www.efn.org/~rick/work/f5d7230/|Port USB sur Belkin]] | ||
+ | * [[http://alphacore.net/spip/article.php3?id_article=96|Ajouter un connecteur JTAG]] | ||
+ | |||
+ | * Projet station meteo a adapter au WRT => http://linuxgazette.net/118/chong.html | ||
+ | * Driver SPI LCD nokia 3310 http://www.duff.dk/wrt54gs/ |