[Voyage-linux] wpa2 connexion
Noel
(spam-protected)
Mon Aug 16 00:14:39 HKT 2010
Hi,
It's now 2 days that I unsuccessful try to connect my alix box with a
ubuntu 10.04 client. Windows XP clients can connect. I can connect
another wpa1 access point with my ubuntu client.
could somebody help me?
here are my configs:
************ alix hostap.conf ********************************************
# based on howto at http://www.linux.com/articles/55617
#and based on the wpa2 wiki
interface=ath0
bridge=br0
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=voyage-meso
#macaddr_acl=1
#accept_mac_file=/etc/hostapd/accept
auth_algs=3
eapol_key_index_workaround=0
eap_server=0
#the following setting is for WPA2 and it works
wpa=2
#wpa_psk_file=/etc/hostapd/hostapd.wpa_psk
wpa_passphrase=MyVerySecretPassPhrase
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
wpa_group_rekey=600
wpa_gmk_rekey=86400
************ EOF alix hostap.conf ***************************************
************ alix interfaces fie *******************************************
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
up /sbin/ifconfig eth0 up
down /sbin/ifconfig eth0 down
auto eth1
iface eth1 inet manual
up /sbin/ifconfig eth1 up
down /sbin/ifconfig eth1 down
auto eth2
iface eth2 inet manual
up /sbin/ifconfig eth2 up
down /sbin/ifconfig eth2 down
auto ath0
iface ath0 inet manual
pre-up wlanconfig ath0 destroy
pre-up wlanconfig ath0 create wlandev wifi0 wlanmode ap
madwifi-base wifi0
up /sbin/ifconfig ath0 up
down /sbin/ifconfig ath0 down
up iwconfig ath0 channel 9
up iwconfig ath0 txpower 19
#up iwconfig ath0 essid voyage-ap
up iwconfig ath0 rate 54M
up sysctl -w dev.wifi0.diversity=1
up sysctl -w dev.wifi0.txantenna=1
up sysctl -w dev.wifi0.rxantenna=2
auto br0
iface br0 inet static
address 192.168.1.75
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
bridge_ports eth0 ath0 eth1 eth2
post-down wlanconfig ath0 destroy
************ EOF alix interfaces file *************************************
************ Client interfaces file ****************************************
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
#wireless-rate 54M
wpa-psk xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
#wpa-passphrase MyVerySecretPassphrase
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto RSN
#wpa-pairwise CCMP
wpa-ssid voyage-meso
************ EOF client interfaces file ***********************************
More information about the Voyage-linux
mailing list