Pages : 1
#1 Le 03/05/2009, à 21:37
- lilone972
problème de réception carte wifi Alfa Network
Bonsoir a tous !
Alors voila mon problème... je viens d'installer Ubuntu 9.04 sur mon pc portable jusque là tout va bien. Après j'ai connecté ma carte wifi usb high Alfa network awus036h (realtek 8187) est là je vois que la qualité de réception est vraiment mauvaise ( j'ai connecté une antenne parabole Gigabyte a la carte) et même plus mauvaise que la carte wifi intégré au pc!
J'ai cherché pendant 2 jours a réglé ce problème, j'ai testé plusieurs méthodes trouvé sur internet mais aucune n'a marché.
J'ai d'abord voulu changer les drivers avec airdriver-ng : message d'erreur dans la console
J'ai testé cette methode http://rtl-wifi.sourceforge.net/wiki/Installing : message d'erreur dans la console
Et j'ai essayé encore plusieurs autres "solutions" trouvé sur le net et rien n'y fait !
Je suis nouveau sous linux donc je suis surement passé a côté de quelque chose...
(dsl de pas avoir mis le code des erreurs que j'ai rencontré mais je n'ai pas mon pc portable sous la main...)
Edit: sujet dans la mauvaise section, dsl j'avais pas vu la section spécial WIFI...
Dernière modification par lilone972 (Le 03/05/2009, à 21:40)
Hors ligne
#2 Le 04/05/2009, à 15:09
- lilone972
Re : problème de réception carte wifi Alfa Network
voici les différentes erreurs que j'ai rencontré :
Pour la méthode airdriver-ng
root@MSIDNUX:/home/marvin# airdriver-ng install 35
-------
Your linked kernel source doesn't match your current running version.
"2.6.28.9" vs. "2.6.28-11-generic"
You may run into problems when installing drivers.
-------
Driver "Realtek rtl8187" specified for installation.
Your current GCC version doesn't match the version your kernel was compiled with.
The build modules will probably not load into the running kernel.
1. Getting the source...OK
2. Extracting the source...OK
3. Getting the patch...OK
4. Patching the source...OK
5. Compiling the source...Running "depmod -ae"...
Failed to install the driver.
Look through "/var/log/airdriver" for errors.
La méthode expliqué sur http://rtl-wifi.sourceforge.net/wiki/Installing
root@MSIDNUX:/home/marvin/rtl-wifi# make
make -C /lib/modules/2.6.28-11-generic/build M=/home/marvin/rtl-wifi modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.28-11-generic »
CC [M] /home/marvin/rtl-wifi/ieee80211/ieee80211_softmac.o
CC [M] /home/marvin/rtl-wifi/ieee80211/ieee80211_rx.o
CC [M] /home/marvin/rtl-wifi/ieee80211/ieee80211_tx.o
CC [M] /home/marvin/rtl-wifi/ieee80211/ieee80211_wx.o
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c: In function ‘ieee80211_translate_scan’:
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:62: attention : passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:62: attention : passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:62: attention : passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:62: erreur: too few arguments to function ‘iwe_stream_add_event’
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:71: attention : passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:71: attention : passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:71: attention : passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:71: erreur: too few arguments to function ‘iwe_stream_add_point’
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:74: attention : passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:74: attention : passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:74: attention : passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:74: erreur: too few arguments to function ‘iwe_stream_add_point’
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:81: attention : passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:81: attention : passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:81: attention : passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:81: erreur: too few arguments to function ‘iwe_stream_add_event’
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:91: attention : passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:91: attention : passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:91: attention : passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:91: erreur: too few arguments to function ‘iwe_stream_add_event’
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:99: attention : passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:99: attention : passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:99: attention : passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:99: erreur: too few arguments to function ‘iwe_stream_add_event’
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:102: attention : passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:102: attention : passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:102: attention : passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:102: erreur: too few arguments to function ‘iwe_stream_add_event’
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:111: attention : passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:111: attention : passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:111: attention : passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:111: erreur: too few arguments to function ‘iwe_stream_add_point’
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:141: attention : passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:141: attention : passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:141: attention : passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:141: erreur: too few arguments to function ‘iwe_stream_add_event’
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:146: attention : passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:146: attention : passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:146: attention : passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:146: erreur: too few arguments to function ‘iwe_stream_add_point’
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:162: attention : passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:162: attention : passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:162: attention : passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:162: erreur: too few arguments to function ‘iwe_stream_add_event’
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:169: attention : passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:169: attention : passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:169: attention : passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:169: erreur: too few arguments to function ‘iwe_stream_add_point’
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:183: attention : passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:183: attention : passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:183: attention : passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:183: erreur: too few arguments to function ‘iwe_stream_add_point’
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:198: attention : passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:198: attention : passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:198: attention : passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:198: erreur: too few arguments to function ‘iwe_stream_add_point’
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:209: attention : passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:209: attention : passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:209: attention : passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.c:209: erreur: too few arguments to function ‘iwe_stream_add_point’
make[3]: *** [/home/marvin/rtl-wifi/ieee80211/ieee80211_wx.o] Erreur 1
make[2]: *** [/home/marvin/rtl-wifi/ieee80211] Erreur 2
make[1]: *** [_module_/home/marvin/rtl-wifi] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.28-11-generic »
make: *** [modules] Erreur 2
Hors ligne
#3 Le 04/05/2009, à 16:34
- Zakhar
Re : problème de réception carte wifi Alfa Network
Effectivement le driver Ubuntu pour cette carte n'est pas terrible.
Notamment il ne permet pas de la passer en "high" (500mW)... mais bon, normalement c'est interdit en France !
Donc oui, à 100mW, il n'y a pas de mystère, elle n'a pas une réception meilleure que l'ensemble des autres cartes qui sont à cette même puissance.
Par contre si tu utilises BackTrack 3, tu peux passer la commande pour "débloquer" la pleine puissance du truc.
Pour ce qui est de son usage "optimisé" sous Ubuntu, je me pencherai sur le sujet la semaine prochaine (d'ici là je n'ai pas le temps, désolé !).
Si je trouve un truc je vous le poste
P.S. : ton premier "Quote", il semble que tu n'aies pas pris les drivers correspondant à ton système (différence de version de noyau)... ou alors tu as compilé puis changé le noyau !
De plus, pas certain que ce driver là ait l'option "pleine puissance", ça semble être le "générique".
Dernière modification par Zakhar (Le 04/05/2009, à 16:44)
"A computer is like air conditioning: it becomes useless when you open windows." (Linus Torvald)
Hors ligne
#4 Le 05/05/2009, à 16:08
- saillantist
Re : problème de réception carte wifi Alfa Network
Salut les gars,
j'ai le même soucis, que lilone.
Avis à ceux qui ont pu trouver une solution autre que backtrack
merci d'avance
Hors ligne
#5 Le 05/05/2009, à 22:27
- lilone972
Re : problème de réception carte wifi Alfa Network
ok pas de soucis je continue a chercher de mon côté et je post si je trouve quelque chose...
Hors ligne
#6 Le 07/05/2009, à 12:45
- saillantist
Re : problème de réception carte wifi Alfa Network
Du neuf.
En me basant sur http://doc.ubuntu-fr.org/wifi_realtek_rtl8187
(je m'étonne de ne pas être tombé sur cette doc plus tôt)
un petit apt-get install linux-backports-modules-jaunty-generic
puis un reboot,
et là bonne surprise, les barres de puissances des différents réseaux wifi ont l'air enfin correctes.
Confirmé par airodump-ng qui agit correctement.
Mais évidement c'était trop beau pour que ça soit suffisant;
ça se connecte au réseau souhaité, mais la connexion est ultra lente (du 56k c'est du luxe à coté) mais ça ne décroche pas, ça reste connecté
(aireplay-ng n'arrive apparement à ne pas injecter de paquets)
Hors ligne
#7 Le 07/05/2009, à 14:13
- saillantist
Re : problème de réception carte wifi Alfa Network
bon, j'ai essayé de régler un peu cette lenteur de connexion
et il s'avère qu'en modifiant le bit rate, par défaut défini en auto, la connexion s'améliore.
Evidement en fonction du reseau wifi sur lequel on se trouve ça peut varier, mais pour ma part
en définissant le bit rate à 2M, la connexion devient plus réactive qu' à d'autres valeurs (auto, 1M, 11M, 36M, 54M)
nb: tx-power laissé à 27
Hors ligne
#8 Le 10/05/2009, à 00:20
- Zakhar
Re : problème de réception carte wifi Alfa Network
Bon, donc j'ai réussi à compiler le driver pour cette carte.
A partir de cette page là :
http://www.aircrack-ng.org/doku.php?id=r8187
Sur Intrepid on est en 2.6.27
Il faut donc suivre les deux notes du bas de page.
- charger le patch 2.6.27 (et pas celui indiqué au début qui est 2.6.24-3)
- faire une modification dans r8187.h comme c'est indiqué.
Ensuite tout se compile parfaitement et s'installe.
Il faut blacklister le driver par défaut d'ubuntu comme indiqué aussi dans une note.
Et ensuite on peut passer la carte en highpower et avec un txpower 35 si on veut.
Cela dit, le driver ne fait que WEP. Autrement dit pas un bon achat en ces temps d'Hadopi parce que si vous êtes obligé de mettre votre réseau en WEP pour pouvoir utiliser la carte, votre réseau devient une passoire.
A noter que l'indication "power" a l'air de foirer. En effet, les "power" sont bien plus bas qu'avec ma Centrino intégrée mais pourtant je capte bien plus d'AP avec cette carte.
Dernière modification par Zakhar (Le 10/05/2009, à 01:02)
"A computer is like air conditioning: it becomes useless when you open windows." (Linus Torvald)
Hors ligne
#9 Le 11/05/2009, à 08:24
- saillantist
Re : problème de réception carte wifi Alfa Network
ok j'essayerai ça à l'occasion,
Si ça ne gère que du wep, il y a quelque chose à faire du coté de wpa_supplicant il me semble mais peut être qu'il y a une version spécifique à mettre et rien d'autre
Hors ligne
#10 Le 22/05/2009, à 14:21
- Zakhar
Re : problème de réception carte wifi Alfa Network
Voila, j'ai modifié le tuto
http://doc.ubuntu-fr.org/wifi_realtek_rtl8187
Et pour WPA, rien à faire visiblement.
"A computer is like air conditioning: it becomes useless when you open windows." (Linus Torvald)
Hors ligne
Pages : 1