<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>On Wed, Mar 28, 2007 at 07:50:39AM +0200, guillaume FOURE wrote:<br><br>&gt; So what i need is to put ath0 and ath1 in my 
hostapd.conf, but i don&#39;t know how.<br>&gt; I tried&nbsp;&nbsp;&quot;interface= { ath0, ath1 } &quot; because it&#39;s seems to be the<br>&gt; idea for the Bsd version, but it don&#39;t work.<br><br>You will need to use one configuration file per interface, 
i.e., one<br>with interface=ath0 and the other one with interface=ath1. Then you can<br>configure hostapd to control both interfaces by including both files on<br>the command line (hostapd ath0.conf ath1.conf).</blockquote>
<div><br>Thx for the tip.<br>&nbsp;But when i try to launch hostapd with : /usr/local/bin/hostapd -dd /etc/hostapd/hostapd-ath0.conf /etc/hostapd/hostapd-ath1.conf, it seems to understand my request but i receive the following message :
<br><br><br></div></div>Configuration file: /etc/hostapd/hostapd-ath0.conf<br>Configuration file: /etc/hostapd/hostapd-ath1.conf<br>Configure bridge br0 for EAPOL traffic.<br>madwifi_set_iface_flags: dev_up=0<br>madwifi_set_privacy: enabled=0
<br>BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)<br>ath0: IEEE 802.11 Fetching hardware channel/rate support not supported.<br>madwifi driver initialization failed.<br>&nbsp;ath1: Unable to setup interface.<br>Flushing old station entries
<br>madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3<br>madwifi_sta_deauth: Failed to deauth STA (addr ff:ff:ff:ff:ff:ff reason 3)<br>Could not connect to kernel driver.<br>Deauthenticate all stations<br>Flushing old station entries
<br>Deauthenticate all stations<br>ath0: Unable to setup interface.<br>madwifi_set_ieee8021x: enabled=0<br>madwifi_set_iface_flags: dev_up=0<br><br>I think that i&#39;m maybe wrong about the way to use two wifi interfaces at the same time.
<br><br>My goal is to have a bridge with one ethernet and two madwifi cards inside.<br>I want to have one SSID shared by the both madwifi interfaces.<br>How change my config to succced..... thx for any help :)<br><br><br>
My /etc/network.interfaces is like that :<br><br><br>auto ath0<br>iface ath0 inet manual<br>#pre-up wlanconfig ath0 destroy<br>pre-up wlanconfig ath0 create wlandev wifi0 wlanmode ap<br>post-down wlanconfig ath0 destroy<br>
wireless-mode master<br>wireless-channel 8<br><br>auto ath1<br>iface ath1 inet manual<br>#pre-up wlanconfig ath1 destroy<br>pre-up wlanconfig ath1 create wlandev wifi1 wlanmode ap<br>post-down wlanconfig ath1 destroy<br>wireless-mode master
<br>wireless-channel 8<br><br>auto br0<br>iface br0 inet static<br>address <a href="http://192.168.1.200">192.168.1.200</a><br>network <a href="http://192.168.1.0">192.168.1.0</a><br>netmask <a href="http://255.255.255.0">
255.255.255.0</a><br>gateway <a href="http://192.168.1.254">192.168.1.254</a><br>bridge-ports eth0 ath0 ath1<br>bridge-maxwait 3<br><br>and my /etc/hostapd/hostapd-athX.conf (i don&#39;t think that the problem is there for the moment but...i put the most importants things) :
<br><br><br>interface=ath0<br><br>bridge=br0<br><br># Driver interface type (hostap/wired/madwifi; default: hostap)<br>driver=madwifi<br><br>........<br><br>##### IEEE 802.11 related configuration #######################################
<br><br># SSID to be used in IEEE 802.11 management frames<br>ssid=PROTO<br><br>........<br><br>##### WPA/IEEE 802.11i configuration ##########################################<br><br>wpa=1<br>wpa_passphrase=password<br><br>
<br><br clear="all"><br>-- <br>Guillaume FOURE<br>RFC Developpement<br>tel : 06.76.68.51.82