web-dev-qa-db-fra.com

Impossible de se connecter pour sécuriser le sans fil avec Netgear wna3100 USB

J'ai installé Ubuntu 11.10. J'ai utilisé une connexion filaire pour télécharger et installer toutes les mises à jour.

Lorsque j'ai essayé d'utiliser un adaptateur réseau USB sans fil Netgear WNA3100, cela a échoué. En cherchant beaucoup et en essayant des choses, j'ai finalement pu le faire en désactivant la sécurité sur mon routeur. J'ai vérifié cela en désactivant la sécurité et j'ai pu me connecter. Lorsque j'ai activé la sécurité (WPA2 PSK), la connexion a échoué.

Que faut-il pour activer la sécurité (WPA2 PSK) et continuer à utiliser l'interface USB de Netgear?

Voici le résultat des commandes les plus demandées

lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0846:9020 NetGear, Inc. WNA3100(v1) Wireless-N 300 [Broadcom BCM43231]

réseau lshw -C

  *-network               
       description: Ethernet interface
       product: RTL-8139/8139C/8139C+
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 3
       bus info: pci@0000:02:03.0
       logical name: eth0
       version: 10
       serial: 00:40:ca:44:e6:3e
       size: 10Mbit/s
       capacity: 100Mbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=32 link=no maxlatency=64 mingnt=32 multicast=yes port=MII speed=10Mbit/s
       resources: irq:19 ioport:c800(size=256) memory:ee011000-ee0110ff memory:40000000-4000ffff
  *-network
       description: Wireless interface
       physical id: 1
       logical name: wlan0
       serial: e0:91:f5:56:e1:0d
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=ndiswrapper+bcmn43xx32 driverversion=1.56+,08/26/2009, 5.10.79.30 ip=192.168.1.104 link=yes multicast=yes wireless=IEEE 802.11g

iwconfig

lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11g  ESSID:"vincecarolradice"  
          Mode:Managed  Frequency:2.422 GHz  Access Point: A0:21:B7:9F:E5:EE   
          Bit Rate=121.5 Mb/s   Tx-Power:32 dBm   
          RTS thr:2347 B   Fragment thr:2346 B   
          Encryption key:off
          Power Management:off
          Link Quality:76/100  Signal level:-47 dBm  Noise level:-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ndiswrapper -l

bcmn43xx32 : driver installed
    device (0846:9020) present

lsmod | grep ndis ndiswrapper 193669 0

dmesg | grep -e ndis -e wlan

[  907.466392] ndiswrapper version 1.56 loaded (smp=yes, preempt=no)
[  907.838507] ndiswrapper (import:233): unknown symbol: ntoskrnl.exe:'IoUnregisterPlugPlayNotification'
[  907.838955] ndiswrapper: driver bcmwlhigh5 (Netgear,11/05/2009, 5.60.180.11) loaded
[  908.137940] wlan0: ethernet device e0:91:f5:56:e1:0d using NDIS driver: bcmwlhigh5, version: 0x53cb40b, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 0846:9020.F.conf
[  908.141879] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
[  908.143048] usbcore: registered new interface driver ndiswrapper
[  908.178826] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  994.015088] usbcore: deregistering interface driver ndiswrapper
[  994.028892] ndiswrapper: device wlan0 removed
[  994.080558] ndiswrapper version 1.56 loaded (smp=yes, preempt=no)
[  994.374929] ndiswrapper: driver bcmn43xx32 (,08/26/2009, 5.10.79.30) loaded
[  994.404366] ndiswrapper (mp_init:219): couldn't initialize device: C0000001
[  994.404384] ndiswrapper (pnp_start_device:435): Windows driver couldn't initialize the device (C0000001)
[  994.404666] ndiswrapper (mp_halt:262): device e05b6480 is not initialized - not halting
[  994.404671] ndiswrapper: device eth%d removed
[  994.404709] ndiswrapper: probe of 1-5:1.0 failed with error -22
[  994.406318] usbcore: registered new interface driver ndiswrapper
[ 2302.058692] wlan0: ethernet device e0:91:f5:56:e1:0d using NDIS driver: bcmn43xx32, version: 0x50a4f1e, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 0846:9020.F.conf
[ 2302.060882] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
[ 2302.113838] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2354.611318] ndiswrapper (iw_set_auth:1602): invalid cmd 12
[ 2355.268902] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2365.400023] wlan0: no IPv6 routers present
[ 2779.226096] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2779.422343] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2797.574474] ndiswrapper (iw_set_auth:1602): invalid cmd 12
[ 2802.607937] ndiswrapper (iw_set_auth:1602): invalid cmd 12
[ 2803.261315] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2813.952028] wlan0: no IPv6 routers present
[ 3135.738431] ndiswrapper (iw_set_auth:1602): invalid cmd 12
[ 3139.180963] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3139.816561] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3163.229872] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3163.444542] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3163.758297] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3163.860684] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3205.118732] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3205.139553] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3205.300542] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3353.341402] ndiswrapper (iw_set_auth:1602): invalid cmd 12
[ 3363.266399] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3363.505475] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3363.506619] ndiswrapper (set_iw_auth_mode:601): setting auth mode to 5 failed (00010003)
[ 3363.717203] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3363.779206] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3405.206152] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3405.248624] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3405.577664] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3438.852457] ndiswrapper (iw_set_auth:1602): invalid cmd 12
[ 3438.908573] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3568.282995] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3568.325237] ndiswrapper (set_iw_auth_mode:601): setting auth mode to 5 failed (00010003)
[ 3568.460716] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3568.461763] ndiswrapper (set_iw_auth_mode:601): setting auth mode to 5 failed (00010003)
[ 3568.809776] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3568.880641] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3610.122848] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3610.148328] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3610.324502] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3636.088798] ndiswrapper (iw_set_auth:1602): invalid cmd 12
[ 3636.712186] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 3647.600040] wlan0: no IPv6 routers present

J'utilise actuellement le système avec la sécurité du routeur désactivée. Lorsque je soumettrai ceci, je réactiverai la sécurité.

3
Vince Radice

Je viens de découvrir comment me connecter au mien; Cependant, il se peut que ce ne soit pas une solution universelle. Donnez-lui un coup de feu et voyons si cela fonctionne pour vous. Sur votre routeur, définissez le paramètre WPA2 sur TKIP et non sur AES. Dès que j'ai fait ça, ça s'est instantanément connecté. Alors, j'espère que ça vous aide!

1
Ryan McClure