Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[hostapd] authentification par adresse MAC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2295
Location: Bretagne

PostPosted: Sun Jan 29, 2006 7:21 pm    Post subject: [hostapd] authentification par adresse MAC Reply with quote

Bonsoir à tous! :)
J'utilise hostapd-0.5.0-r1 couplé avec une carte atheros comme point d'accès wifi.
Tout ça fonctionne bien, mais j'aimerais utiliser l'authentification par adresse MAC et elle ne fonctionne pas.

Mon /etc/hostapd/hostapd.conf:

Code:
bridge=br0 (ath0 est bridgée avec des interfaces filaires)
interface=ath0
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=my_ESSID

# Station MAC address -based authentication
# 0 = accept unless in deny list
# 1 = deny unless in accept list
# 2 = use external RADIUS server (accept/deny lists are searched first)

macaddr_acl=1
accept_mac_file=/etc/hostapd/hostapd.accept
deny_mac_file=/etc/hostapd/hostapd.deny
auth_algs=3
eap_server=0
own_ip_addr=127.0.0.1
wpa=3
wpa_psk=<my_PSK>
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP


Dans /etc/hostapd/hostapd.access , j'ai ajouté les adresses MAC que je souhaite autoriser à se connecter.
Code:

# List of MAC addresses that are allowed to authenticate (IEEE 802.11)
# with the AP.
00:11:22:33:44:55 # laptop iface
11:22:33:44:55:66 # workstation iface


Si je commente une des adresses MAC comme ceci:
Code:

# List of MAC addresses that are allowed to authenticate (IEEE 802.11)
# with the AP.
#00:11:22:33:44:55 # laptop iface
11:22:33:44:55:66 # workstation iface

le portable parvient toujours à se connecter, alors qu'il ne devrait pas... :?

Voilà, après un post totalement infructueux sur le forum Networking & security, je fais appel à vous, si vous avez des idées... :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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