[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Creer un point d'acces wifi



Le 20-08-2010, à 14:10:04 +0200, Julien Demange (julien.demange@remiremont.fr) a écrit :

> Et je testerai aussi un kernel issu des backport gérant le ath5/9k
> pas de raison que ça ne fonctionne pas. (il n'y en avait pas à
> l'époque, sauf a passé à etch qui était encore frais ou peut-être
> même sid).

Voici ma configuration avec le driver ath5k :

Sur l'AP 

cat /etc/hostapd/hostapd.conf

interface=wlan0
driver=nl80211
channel=6
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=ton ssid
macaddr_acl=0
auth_algs=1
eapol_key_index_workaround=0
eap_server=0
wpa=1
wpa_psk=111fcls93ksj390s69afe54c1d2266aef8ddf55f989bcfc12b3abfa64539e0afc
wpa_key_mgmt=WPA-PSK
wpa_group_rekey=600
wpa_strict_rekey=1
wpa_gmk_rekey=86400


cat /etc/network/interfaces

auto wlan0
	iface wlan0 inet static
   pre-down killall hostapd
	hostapd -B -P /var/run/hostapd.wlan0.pid /etc/hostapd/hostapd.conf
   address         192.168.200.1
   network         192.168.200.0
   netmask         255.255.255.0
   broadcast       192.168.200.255



Sur le client

cat /etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
network={
        ssid="ton ssid"
        scan_ssid=1
        psk=111fcls93ksj390s69afe54c1d2266aef8ddf55f989bcfc12b3abfa64539e0afc
        key_mgmt=WPA-PSK
        proto=WPA
}

cat /etc/network/interfaces

auto wlan0
iface wlan0 inet static
        wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
        wpa-ssid ton ssid
        wpa-psk 111fcabb839c3d869afe54c1d2266aef8ddf55f989bcfc12b3abfa64539e0afc
		  wpa-key-mgmt WPA-PSK
        wpa-pairwise TKIP CCMP
        wpa-proto WPA RSN
        address 192.168.200.2
        network 192.168.200.0
        netmask 255.255.255.0
        gateway 192.168.200.1
        broadcast 192.168.200.255


Et ça marche farpaitement :-)


PS : la wpa-psk n'est pas la bonne, il va sans dire :) (mais elle fait
64 caractères de long).


Bon courage,

s.


Reply to: