Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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
1  
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.