Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to bridge traffic between wired eth and WiFi interfaces in the same PC. WiFi interface I want to operate as access point. I use hostapd for it. Using brctl I create bridge and add eth0 interface. But when I add wlan0 (WiFi interface) the transmission over wired LAN hangs. So what is proper procedure to create such bridge?

share|improve this question
you should add more information to your question: how are you creating the bridge and adding the interfaces, how are you starting hostapd, etc. Are you assigning an ip address to the bridge? – GnP Jul 10 '13 at 22:09

Are you adding wlan0 to the bridge before you bring up hostapd or after?

The best way to do it normally is to have hostapd add the wireless interface to the bridge by including bridge=brN in your hostapd.conf file.

share|improve this answer
That's what I'm doing. But first I need to define a bridge. Using brctl, bridge is deifine, then I add to bridge eth0 interface and next interface wlan0. And at this moment the suspension is communicating with your computer. The computer itself works fine and after reboot connectivity is restored but in a bridge configuration no interface wlan0. What I am doing wrong? – mackowiakp Jul 11 '13 at 5:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .