Salve a tutti,
se il chipset della vostra scheda wifi compare in questa lista, allora, potete usare i driver nativi bcm43xx, presenti nel kernel 2.6.17.x, associati a wpa_supplicant per accedere ad una wlan protetta da wpa-psk, abbandonando così ndiswrapper .
Innanzitutto dovete scaricare wpa_supplicant da qui , una volta scompattato l'archivio, entrate nella dir e create una file di nome .config e scrivete
codice:
CONFIG_DRIVER_WEXT=y
CONFIG_CTRL_IFACE=y
salvate e date make && make install
Ora vi posto le configurazioni e gli script che ho usato per far funzionare la mia wlan.
/etc/wpa_supplicant.conf
codice:
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="nome_ssid"
scan_ssid=1
psk=chiave cifrata
key_mgmt=WPA-PSK
proto=WPA
}
Per cifrare la chiave usate il comando wpa_passphrase ssid key.
Per avviare in automatico la wlan ho inserito la chiamata al seguente script in /etc/init.d/networking
/etc/init.d/loadWireless.sh
codice:
#!/bin/bash
function start_wireless(){
iwconfig eth1 essid ssid
iwconfig eth1 mode Managed
iwconfig eth1 rate 54Mb
/usr/local/sbin/wpa_supplicant -i eth1 -c /etc/wpa_supplicant.conf -D wext -w -B
}
function stop_wireless(){
ifconfig eth1 down
}
case "$1" in
start)
start_wireless
;;
stop)
stop_wireless
;;
esac
infine, nel file /etc/network/interfaces ho solo inserito le seguenti informazioni
codice:
# 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
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
iface eth0 inet static
address 192.168.30.3
netmask 255.255.255.0
gateway 192.168.30.1
iface eth1 inet static
address 192.168.1.3
netmask 255.255.255.0
gateway 192.168.1.1
auto eth1
Basta riavviare il pc o riavviare lo script /etc/init.d/network restart e vedere se la wlan funziona
Salvate tutte le vecchie configurazione per evitare danni
Spero possa servire a qualcuno
Ciao ciao