PDA

View Full Version : Problemi con wpa_supplicant in Debian etch


michele.b26
04-09-2008, 13:08
Ciao a tutti, devo installare una rete wi-fi a casa mia e devo farci funzionare anche il mio serverino Debian, uso la etch 4.0 r3.
Per collegarmi uso la penna sub DWL-G122 Ver.C1 F/W Ver.: 3.00.
Ho seguito varie guide per installare il driver e fin lì tutto bene, mi si collega con la rete non protetta. Il driver che ho installato l'ho trovato sul sito http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page è l'rt73.

Il problema nasce quando uso la crittografia.
La mia rete usa la WPA-PSK con codifica TKIP.
Ho installato il pacchetto wpa_supplicant, ma quando tento l'accesso ottengo degli errori come questi:

rt73: driver version - 1.0.3.6 CVS
rt73: using net dev supplied MAC addr
rt73: Active MAC addr: [...]
rt73 Local MAC = [...]
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
CTRL-EVENT-TERMINATING - signal 2 received
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
Failed to disable WPA in the driver.
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
rt73: closed

il mio wpa_supplicant.conf è:

network={
ssid="My LAN ID"
#psk="My key"
psk=[...]
}

e il mio file interfaces è:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
#auto eth0
#iface eth0 inet static
#address 192.168.0.101
#netmask 255.255.255.0
#gateway 192.168.0.100

#allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
address 192.168.0.151
netmask 255.255.255.0
gateway 192.168.0.100
#wireless-essid MyID
#wireless-mode managed
#wireless-channel 7
#wpa-proto WPA-PSK
#wpa-driver wext
#wpa-conf /etc/wpa_supplicant.conf
#wpa-key-mgmt WPA-PSK
#wpa-psk [...]

Ormai le ho provate tutte, :muro: mi restituisce più o meno sempre gli stessi errori. :cry:
Avete qualche idea di cosa significhino e come posso fare? :confused:

Le guide che ho seguito sono queste:

http://www.enterprisenetworkingplanet.com/netsecur/article.php/3594946
(http://www.enterprisenetworkingplanet.com/netsecur/article.php/3594946)
http://www.pcrevenge.org/?p=310

http://www.hwupgrade.it/forum/showthread.php?t=1132453

Vi ringrazio per ogni suggerimento, ormai non so davvero più cosa fare.