Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NDISwrapper e Netgear WNA3100
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
ZioCrocifisso
n00b
n00b


Joined: 12 Jul 2012
Posts: 1

PostPosted: Thu Jul 12, 2012 7:21 pm    Post subject: NDISwrapper e Netgear WNA3100 Reply with quote

Salve.
Ho appena installato e configurato Gentoo, e possiedo un adattatore wireless (Netgear WNA3100) che richiede ndiswrapper.
Ho installato ndiswrapper (versione 1.57, ma ho provato anche con la 1.58rc1) con emerge senza problemi, ho installato il driver dell'adattatore (sono sicuro che è quello giusto, ho provato con lo stesso computer e con la stessa versione del kernel, ma con un'altra distribuzione, e col WEP funziona correttamente), e ho configurato il modulo (con ndiswrapper -m).
Ho seguito le istruzioni della documentazione (prima italiana poi inglese) per configurare la connessione wireless con wpa_supplicant (poi ho provato anche con wireless tools), ma facendolo partire dice che wlan0 non esiste: e infatti, sia con ifconfig -a che con iwconfig, non appare nessun wlan0. Ho provato anche a cambiare il parametro if_name (per esempio mettendo eth0), ma non viene aggiunto/modificato nessun dispositivo.
Ho fatto vari controlli:
"lsusb" rileva l'adattatore,
"ndiswrapper -l" dice che il driver è installato e l'adattatore è presente,
"dmesg" dice che il modulo ndiswrapper è stato caricato correttamente,
"modprobe" non da' errori nel caricamento di ndiswrapper.

Quindi l'adattatore c'è, ma ndiswrapper non crea wlan0.






/etc/conf.d/net:
Code:
modules="wpa_supplicant"
config_wlan0="dhcp"
wpa_supplicant_wlan0="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"


wpa_supplicant.conf (anche se non c'entra molto):
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1

network={
        ssid="" //Ovviamente l'ho tolto adesso.
        wep_key0="" //
        priority=5
        key_mgmt=NONE
        auth_alg=SHARED
}


Output di:

dmesg:
Code:
[...]
[    3.981063] ndiswrapper version 1.57 loaded (smp=yes, preempt=no)
[...]


ifconfig -a:
Code:
eth0      Link encap:Ethernet  HWaddr 90:e6:ba:d8:fe:9d 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:43 Base address:0x2000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:28 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2044 (1.9 KiB)  TX bytes:2044 (1.9 KiB)

sit0      Link encap:IPv6-in-IPv4 
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


ndiswrapper -l:
Code:
bcmwlhigh5 : driver installed
   device (0846:9020) present


wpa_supplicant con eth0:
Code:
Failed to initiate AP scan. (all'infinito)


wpa_supplicant con wlan0:
Code:
Could not read interface wlan0 flags: No such device
Failed to initialize driver interface


PS: Sì, ho configurato il kernel in modo da supportare le Wireless Extensions (altrimenti avrebbe dato problemi nella compilazione di ndiswrapper).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum