Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
wifi_realtek_rtl8185 [Le 31/01/2010, 11:01] 213.95.41.13 Mise en conformité des titres |
— (Version actuelle) | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | {{tag>matériel wi-fi brouillon}} | ||
- | ---- | ||
- | |||
- | |||
- | |||
- | ====== RTL8185L Pilote wifi pour la puce Realtek 8185 ====== | ||
- | |||
- | Ce tuto a été réalisé à partir de Ubuntu 9.04 Jaunty Jackalope Release Candidate pour la carte "Amarina WIRELESS PCI CARD 54M 802.11G 54 Mbps", et également à partir de Ubuntu Gutsy Gibbon pour la carte "Trendnet TEW 423PI". | ||
- | |||
- | ===== Pour une carte Amarina WIRELESS PCI CARD 54M 802.11G 54 Mbps ===== | ||
- | ==== Installation du pilote ==== | ||
- | Démarrez Ubuntu 9.04 Jaunty Jackalope en mode recovery à l'écran de GRUB (si vous ne voyez pas cet écran, appuyez sur ECHAP quand un message avec "GRUB" apparait). | ||
- | Quand on vous demande le mode, choisissez "root". | ||
- | Mettez le CD d'installation de la carte "Amarina WIRELESS PCI CARD 54M 802.11G 54 Mbps" dans votre lecteur cd. | ||
- | |||
- | < A COMPLÉTER > | ||
- | |||
- | ===== Pour une carte Trendnet TEW 423PI ===== | ||
- | ==== Installation du pilote ==== | ||
- | |||
- | === Téléchargement du pilote Realtek === | ||
- | |||
- | == Gusty Gibon (7.10) == | ||
- | Téléchargez le pilote à partir du site [[http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=24&PFid=1&Level=6&Conn=5&DownTypeID=3&GetDown=false&Downloads=true#352|Realtek]] . | ||
- | |||
- | == Hardy Heron (8.04) == | ||
- | Téléchargez le pilote de [[http://www.willdaniels.co.uk/index.php/blog/tech-stuff|Will Daniels]], patché pour le kernel 2.6.24. | ||
- | |||
- | Vous aurez également besoin d'[[tutoriel/comment_installer_un_paquet|installer]] le packet [[apt://patch|patch]] pour appliquer le patch (sic). Si vous n'avez pas d'autre connexion sur votre installation d'Ubuntu, le paquet est disponible [[http://packages.ubuntu.com/hardy/patch|ici]]. | ||
- | |||
- | == Intrepid Ibex (8.10) == | ||
- | Les pilotes sont inclus dans le noyau (2.6.27) cela dit il se peut qu'ils ne se lancent pas au démarrage. Dans ce cas, il suffit d'éditer le fichier /etc/network/interfaces : | ||
- | <code>auto lo | ||
- | iface lo inet loopback | ||
- | |||
- | auto wlan0 | ||
- | iface wlan0 inet dhcp | ||
- | pre-up modprobe ieee80211_crypt | ||
- | pre-up modprobe ieee80211_crypt_wep | ||
- | pre-up modprobe ieee80211_crypt_tkip | ||
- | pre-up modprobe ieee80211_crypt_ccmp | ||
- | pre-up modprobe ieee80211 | ||
- | pre-up modprobe rtl8180 | ||
- | wpa-conf /chemin_du_fichier/nom_du_fichier_de_config_WPA_supplicant.conf | ||
- | post-down rmmod rtl8180 | ||
- | post-down rmmod ieee80211 | ||
- | post-down rmmod ieee80211_crypt_wep | ||
- | post-down rmmod ieee80211_crypt_tkip | ||
- | post-down rmmod ieee80211_crypt_ccmp | ||
- | post-down rmmod ieee80211_crypt | ||
- | </code> | ||
- | |||
- | Pour la configuration de wpa_supplicant (installé par défault avec Intrepid), voir ci-dessous. | ||
- | |||
- | === Compilation du pilote === | ||
- | |||
- | Décompressez l'archive dans un répertoire : | ||
- | <code>tar zxvf rtl8185_linux_26[1].1027.0823.2007.tar.gz</code> | ||
- | |||
- | Il faut ensuite compiler le pilote : | ||
- | <code>cd rtl8185_linux_26.1027.0823.2007 | ||
- | ./makedrv | ||
- | </code> | ||
- | |||
- | On peut ensuite créer un lien symbolique vers ce répertoire, pour pouvoir changer de version du pilote simplement : | ||
- | <code>sudo ln -s /home/vous/rtl8185_linux_26.1027.0823.2007 /etc/rtl8185</code> | ||
- | |||
- | === wpa_supplicant === | ||
- | |||
- | Installez [[wpa_supplicant]] et modifiez le ficher /etc/wpa_supplicant.conf pour qu'il ressmble à ça : | ||
- | <code>network={ | ||
- | ssid="votreSSID" | ||
- | proto=WPA | ||
- | key_mgmt=WPA-PSK | ||
- | pairwise=CCMP TKIP | ||
- | group=CCMP TKIP WEP104 WEP40 | ||
- | psk="secret" | ||
- | priority=2 | ||
- | } | ||
- | </code> | ||
- | |||
- | ==== Configuration ==== | ||
- | Stoppez le fonctionnement du réseau : | ||
- | <code>sudo /etc/init.d/networking stop</code> | ||
- | |||
- | Modifiez le fichier /etc/network/interfaces. Il devrait ressembler à ça : | ||
- | <code>auto lo | ||
- | iface lo inet loopback | ||
- | |||
- | auto wlan0 | ||
- | iface wlan0 inet dhcp | ||
- | pre-up insmod /etc/rtl8185/ieee80211/ieee80211_crypt-rtl.ko | ||
- | pre-up insmod /etc/rtl8185/ieee80211/ieee80211_crypt_wep-rtl.ko | ||
- | pre-up insmod /etc/rtl8185/ieee80211/ieee80211_crypt_tkip-rtl.ko | ||
- | pre-up insmod /etc/rtl8185/ieee80211/ieee80211_crypt_ccmp-rtl.ko | ||
- | pre-up insmod /etc/rtl8185/ieee80211/ieee80211-rtl.ko | ||
- | pre-up insmod /etc/rtl8185/rtl8185/r8180.ko | ||
- | pre-up wpa_supplicant -D ipw -i wlan0 -c /etc/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid -wB | ||
- | |||
- | post-down kill `cat /var/run/wpa_supplicant.pid` | ||
- | post-down rmmod r8180 | ||
- | post-down rmmod ieee80211-rtl | ||
- | post-down rmmod ieee80211_crypt_ccmp-rtl | ||
- | post-down rmmod ieee80211_crypt_tkip-rtl | ||
- | post-down rmmod ieee80211_crypt_wep-rtl | ||
- | post-down rmmod ieee80211_crypt-rtl | ||
- | </code> | ||
- | |||
- | Un redémarrage du réseau devrait vous donner une ip : | ||
- | <code>sudo /etc/init.d/networking start | ||
- | * Reconfiguring network interfaces... Internet Systems Consortium DHCP Client V3.0.5 | ||
- | Copyright 2004-2006 Internet Systems Consortium. | ||
- | All rights reserved. | ||
- | For info, please visit http://www.isc.org/sw/dhcp/ | ||
- | |||
- | Listening on LPF/wlan0/00:00:00:00:00:00 | ||
- | Sending on LPF/wlan0/00:00:00:00:00:00 | ||
- | Sending on Socket/fallback | ||
- | DHCPREQUEST on wlan0 to 255.255.255.255 port 67 | ||
- | DHCPACK from 192.168.0.2XX | ||
- | bound to 192.168.0.X -- renewal in 328456 seconds. | ||
- | [ OK ] | ||
- | </code> | ||
- | |||
- | Et voilà ! | ||
- | |||
- | |||
- | |||
- | |||
- | === Remarque === | ||
- | Étrangement, lors du boot, le réseau ne monte pas correctement. La carte est arrêtée juste après avoir été mise en service. | ||
- | FIXME | ||
- | |||
- | |||
- | Mais si vous faites <code>sudo /etc/init.d/networking restart</code> tout fonctionnera correctement. | ||
- | |||
- | Comme je suis tout nouveau dans le monde ubuntu (et linux en général), merci de corriger tout ça si ça vous semble incohérent. | ||
- | --- //[[|]] Le 14/04/2008, à 21:50// | ||
- | |||
- | Il doit s'agir de l'ordre dans lequel sont chargés les pilotes. Essaye de charger ieee80211-rtl.ko en premier, ou de faire un modprobe sur r8180.ko. | ||
- | --- //[[|]] Le 15/08/2008, à 16:11// | ||
- | |||
- | |||
- | ==== Références === | ||
- | |||
- | * FIXME | ||
- | |||
- | ------ | ||
- | //Contributeurs : [[utilisateurs:brisssou]]// | ||
- | |||