View previous topic :: View next topic |
Author |
Message |
BuBuaBu l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/31880205443a81b00d3c07.jpg)
Joined: 09 Jul 2005 Posts: 914 Location: France
|
Posted: Tue Aug 28, 2007 5:29 pm Post subject: [hostapd] IOCTL erreur avec un bridge (résolu) |
|
|
Voila, j'essai de faire une ap sur un serveur.
Je dispose d'une carte ATHEROS : ath0
et d'une carte wired : eth0
le tout dans un bridgo br0
Lorsque que je casse mon bridge et commentent la ligne (bridge=br0) dans /etc/hostapd/hostapd.conf, mon wifi marche a la perfection.
Si je refais le bridge, impossible de s'authentifier en WPA (normal selon la doc madwifi)
et avec le bridge et la config du bridge dans hostapd, voila ce que ça me fait :
Code: |
# hostapd -dd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Configure bridge br0 # Enable for EAPOL traffic.
ioctl[SIOCGIFINDEX]: No such device
madwifi driver initialization failed.
|
Last edited by BuBuaBu on Tue Aug 28, 2007 6:55 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
widan Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/142533236243680bda6f27b.jpg)
Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Tue Aug 28, 2007 6:19 pm Post subject: Re: [hostapd] IOCTL erreur avec un bridge |
|
|
Code: | Configure bridge br0 # Enable for EAPOL traffic.
ioctl[SIOCGIFINDEX]: No such device |
Le "# Enable ...", qu'est-ce qu'il vient faire là ? Un commentaire dans le fichier de config ? Essaye de le mettre sur une autre ligne, j'ai l'impression que hostapd considère "br0 # Enable ..." comme un nom d'interface, et bien sûr il la trouve pas. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
BuBuaBu l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/31880205443a81b00d3c07.jpg)
Joined: 09 Jul 2005 Posts: 914 Location: France
|
Posted: Tue Aug 28, 2007 6:55 pm Post subject: |
|
|
C'est vraiment con comme erreur ....
Mon fichier de config avant :
Code: |
bridge=br0 # Enable this for standard bridging, leave disabled for netfilter firewalls
|
en ajoutant un retour a la ligne ça marche.
Je pense que hostapd a quelque problème a ce niveau (enfin en général ça dérange pas les commentaire en fin de ligne) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|