Netgear MA111 Wifi
De MicElectroLinGenMet.
Sommaire |
Description
Installation de l'adaptateur USB Wifi (norme IEEE 802.11b) MA111 de Netgear. (Debian SID)
ATTENTION: Cela concerne la version V1 de l'adaptateur qui utilise le chipset prism.
(La V2 n'utilise plus le même chipset)
Téléchargement des pilotes linux-wlan-ng
Lien vers les sources: ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/
Voir aussi package linux-wlan-ng Debian.
Compilation
Source noyau necessaire + make menuconfig
Attention: Avec un noyau 2.4, il faut utiliser gcc3.3 au lieu de 4.0 sinon erreur à la compilation !
ln -s gcc-3.3 gcc
ou rajouter en paramètre make
HOSTCC=gcc-3.3 CC=gcc-3.3
Le source doit correspondre exactement au noyau chargé sinon erreur "unresolved symbol ..."
Modules chargés
prism2_usb 64380 2 p80211 20224 0 [prism2_usb]
Compilation ok sur vesta avec noyau 2.4.32-CF (compact-Flash)
Test ok sur Asus P55T2P4 + P133 HD et CF.
Test ok avec udhcp (busybox).
Configuration
Config. wlan:
/etc/wlan/wlan.conf WLAN_DEVICES="wlan0" ChannelList="01:02:03:04:05:06:07:08:09:0a:0b:00:00:00" ChannelMinTime=200 ChannelMaxTime=250 WLAN_SCAN=n TMPDIR=/tmp SSID_wlan0="ROUTEUR" (Nom SSID de l'AP Wifi) ENABLE_wlan0=y
/etc/wlan/wlancfg-GWVESTA lnxreq_hostWEPEncrypt=true # true|false lnxreq_hostWEPDecrypt=true # true|false dot11PrivacyInvoked=true # true|false dot11WEPDefaultKeyID=0 # 0|1|2|3 dot11ExcludeUnencrypted=true # true|false, in AP this means WEP is required. PRIV_GENERATOR=/sbin/nwepgen # nwepgen, Neesus compatible PRIV_KEY128=false # keylength to generate PRIV_GENSTR="" dot11WEPDefaultKey0=01:02:03:04:05 # format: xx:xx:xx:xx:xx (Clef WEP) dot11WEPDefaultKey1= # or xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx dot11WEPDefaultKey2= # e.g. 01:20:03:40:05 or dot11WEPDefaultKey3= # 01:02:03:04:05:06:07:08:09:0a:0b:0c:0d IS_ADHOC=n # y|n, y - adhoc, n - infrastructure AuthType="sharedkey" # opensystem | sharedkey (requires WEP) BCNINT=100 # Beacon interval (in Kus) CHANNEL=11 # DS channel for BSS (1-14, depends on regulatory domain) (canal) BASICRATES="22" # Rates for mgmt&ctl frames (in 500Kb/s) OPRATES="2 4 11 22" # Supported rates in BSS (in 500Kb/s)
Binaire fournis
Les wireless-tools (comme /sbin/iwconfig /sbin/iwevent /sbin/iwgetid /sbin/iwlist /sbin/iwpriv /sbin/iwspy) ne sont pas supportés par les drivers wlan (pour la MA111) !
Voir la commande wlanctl-ng fournie
Different exemples d'utilisation de la commande wlanctl-ng (à détailler ...):
root@domix# wlanctl-ng wlan0 dot11req_mibget mibattribute=p2CurrentSSID message=dot11req_mibget mibattribute=p2CurrentSSID='ROUTEUR' resultcode=success
root@domix# wlanctl-ng wlan0 dot11req_mibget mibattribute=p2CurrentBSSID message=dot11req_mibget mibattribute=p2CurrentBSSID=00:09:5b:xx:xx:xx resultcode=success
root@domix# wlanctl-ng wlan0 dot11req_mibget "mibattribute=p2CommsQuality" message=dot11req_mibget mibattribute=p2CommsQuality=64,125,9 resultcode=success
root@domix# wlanctl-ng wlan0 dot11req_mibget mibattribute=p2CurrentTxRate message=dot11req_mibget mibattribute=p2CurrentTxRate=8 resultcode=success
root@domix# wlanctl-ng wlan0 dot11req_mibget mibattribute=p2CurrentChannel message=dot11req_mibget mibattribute=p2CurrentChannel=2 resultcode=success
root@domix# wlanctl-ng wlan0 dot11req_scan bsstype=any bssid=ff:ff:ff:ff:ff:ff ssid="" scantype=active channellist=01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e minchanneltime=10 maxchanneltime=100 message=dot11req_scan bsstype=any bssid=ff:ff:ff:ff:ff:ff ssid= scantype=active probedelay=no_value channellist=01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e minchanneltime=10 maxchanneltime=100 resultcode=success numbss=1 append=no_value
root@domix# wlanctl-ng wlan0 dot11req_scan_results bssindex=0 message=dot11req_scan_results bssindex=0 resultcode=success signal=65477 noise=65446 bssid=00:09:5b:ce:31:be ssid='GWVESTA' bsstype=infrastructure beaconperiod=100 dtimperiod=no_value timestamp=457418 localtime=457418 fhdwelltime=no_value fhhopset=no_value fhhoppattern=no_value fhhopindex=no_value dschannel=2 cfpcount=no_value cfpperiod=no_value cfpmaxduration=no_value cfpdurremaining=no_value ibssatimwindow=0 cfpollable=false cfpollreq=false privacy=true basicrate1=130 basicrate2=132 basicrate3=139 basicrate4=150 basicrate5=no_value basicrate6=no_value basicrate7=no_value basicrate8=no_value supprate1=130 supprate2=132 supprate3=139 supprate4=150 supprate5=44 supprate6=no_value supprate7=no_value supprate8=no_value
14 mai 2006
