how to use internal bridge and bridge_packets?

=?gb2312?q?=CD=F5=ABh?= wangyue0921 at yahoo.com.cn
Tue Sep 2 00:25:24 EDT 2008


Hi all,
I have deployed hostapd on the madwifi driver.
There are two STAs associated with AP. And I disabled
bridge_packets(bridge_packets=0) in the hostapd.conf
file.
But when one STA ping another one, it received ping
reply packages. I guess the Enable/disable internal
bridge config option doesn't work in my wireless
network. In addition, the "Failed to set
bridge_packets for kernel driver" debug message does
not appear all the hostapd's run time.

So how to use the internal bridge?
Thank you!

Following are my .config and hostapd.conf file:
#.config
CONFIG_DRIVER_MADWIFI=y
CFLAGS += -I/home/wangyue/madwifi
CONFIG_IAPP=y
CONFIG_RSN_PREAUTH=y
CONFIG_PEERKEY=y
CONFIG_EAP=y
CONFIG_EAP_MD5=y
CONFIG_EAP_TLS=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_GTC=y
CONFIG_EAP_TTLS=y
CONFIG_PKCS12=y
CONFIG_IPV6=y

#hostapd.conf
interface=ath0
bridge=br0
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=hostapd
hw_mode=b
channel=11
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=0
auth_algs=3
ignore_broadcast_ssid=0
wme_enabled=1
wme_ac_bk_cwmin=4
wme_ac_bk_cwmax=10
wme_ac_bk_aifs=7
wme_ac_bk_txop_limit=0
wme_ac_bk_acm=0
wme_ac_be_aifs=3
wme_ac_be_cwmin=4
wme_ac_be_cwmax=10
wme_ac_be_txop_limit=0
wme_ac_be_acm=0
wme_ac_vi_aifs=2
wme_ac_vi_cwmin=3
wme_ac_vi_cwmax=4
wme_ac_vi_txop_limit=94
wme_ac_vi_acm=0
wme_ac_vo_aifs=2
wme_ac_vo_cwmin=2
wme_ac_vo_cwmax=3
wme_ac_vo_txop_limit=47
wme_ac_vo_acm=0
bridge_packets=0
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1

Yours,
WY



      ___________________________________________________________ 
 雅虎邮箱,您的终生邮箱! 
http://cn.mail.yahoo.com/


More information about the HostAP mailing list