# Hostapd problème

**URL:** <https://www.debian-fr.org/t/hostapd-probleme/13114>\
**Category:** Support Debian\
**Created:** [Février 20, 2016, 5:24 UTC](https://www.debian-fr.org/t/hostapd-probleme/13114 "2016-02-20T17:24:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![themorice](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/t/c89c15/32.png) [@themorice](https://www.debian-fr.org/u/themorice)\
**Post date:** [Février 20, 2016, 5:24 UTC](https://www.debian-fr.org/t/hostapd-probleme/13114/1 "2016-02-20T17:24:13Z")

</div>

Je cherche à me faire un point d’accès sur ma machine routeur.

Cette machine est sous Etch, noyau : 2.6.18-6-686

La carte wifi :

```auto

```

J’ai installé le driver madwifi avec le module-assistant.  
J’ai configuré mon bridge avec mon interface LAN et mon interface WIFI.

Voici ma conf de hostapd :

```auto
interface=ath0 // mon interface wifi
bridge=br0 // mon bridge
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=4
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=Revard
#macaddr_acl=1
#accept_mac_file=/etc/hostapd/accept
auth_algs=3
eapol_key_index_workaround=0
eap_server=0
wpa=3
wpa_psk_file=/etc/hostapd/wpa_psk
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
stakey=0
```

Quand je lance hostapd, j’obtiens ça :

```auto
gentiane:/etc/hostapd# hostapd -dd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
Configure bridge br0 for EAPOL traffic.
madwifi_set_iface_flags: dev_up=0
madwifi_set_privacy: enabled=0
Using interface ath0 with hwaddr 00:1b:2f:c6:ff:30 and ssid 'Revard'
madwifi_set_ieee8021x: enabled=1
madwifi_configure_wpa: group key cipher=3
madwifi_configure_wpa: pairwise key ciphers=0x8
madwifi_configure_wpa: key management algorithms=0x2
madwifi_configure_wpa: rsn capabilities=0x0
madwifi_configure_wpa: enable WPA=0x3
WPA: group state machine entering state GTK_INIT
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=16): [REMOVED]
WPA: group state machine entering state SETKEYSDONE
madwifi_set_key: alg=CCMP addr=00:00:00:00:00:00 key_idx=1
madwifi_set_privacy: enabled=1
SIOCGIWRANGE: WE(compiled)=20 WE(source)=13 enc_capa=0xf
ath0: IEEE 802.11 Fetching hardware channel/rate support not supported.
Flushing old station entries
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
Could not connect to kernel driver.
Deauthenticate all stations
madwifi_set_iface_flags: dev_up=1
l2_packet_receive - recvfrom: Network is down
Wireless event: cmd=0x8b19 len=8
```

Ceci m’inquiettes :

`ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
Could not connect to kernel driver.`

Quelqu’un a une idée ?

---

<div class="post-metadata">

**Author:** ![themorice](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/t/c89c15/32.png) [@themorice](https://www.debian-fr.org/u/themorice)\
**Post date:** [Février 20, 2016, 5:24 UTC](https://www.debian-fr.org/t/hostapd-probleme/13114/2 "2016-02-20T17:24:33Z")

</div>

personne n’a testé hostapd ou a une piste ?
