Hostap driver works with bridge in Managed mode?

Hever C. Rocha hevercosta
Tue Apr 29 13:28:05 PDT 2008


Hi all

I'm using hostap driver in a Centos 5, with  a Samsug SWL-2100P card,
and I have a question:

My Setup:

#!/bin/bash
/sbin/ifconfig eth0 0.0.0.0
/sbin/ifconfig wlan0 0.0.0.0
/sbin/modprobe bridge
/usr/sbin/brctl addbr br0
/usr/sbin/brctl addif br0 eth0
/usr/sbin/brctl addif br0 wlan0
/sbin/ifconfig br0 200.xxx.xxx.xxx netmask 255.255.255.128 broadcast
200.xxx.xxx.255
/sbin/route add default gw 200.xxx.xxx.xxx
/sbin/ifconfig br0 up
/sbin/iwconfig wlan0 mode Master

When the interface wlan0 is in master mode, and the AP is setting to
client mode, the bridge works.
When the interface wlan0 is in managed mode, and the APp is setting to
AP Mode, the bridge does not works (ie: Unable to forward packets)

This behavior is normal?

Regards from Brasil

Hever Costa Rocha



More information about the Hostap mailing list