bridge.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [Bridge] wlan0 will not be automatically  added to br0
@ 2012-04-23 13:11 Markus Feldmann
  2012-06-07 16:40 ` Arun Khan
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Feldmann @ 2012-04-23 13:11 UTC (permalink / raw)
  To: bridge

Hi All,

i want my wlan0 added automatically to br0 on my Debian Squeeze Server. 
At the moment the ports eth[1-3] are running over br0. I am using kernel 
3.2.9. The port eth0 is only for internet. eth[1-3] are for my local 
network at home. When i manually add wlan0 to br0 i can built up a 
communication between my laptop and my server. Therfore i execute the 
command <brctl addif br0 wlan0> on my server.

Here are some configs:
/etc/network/interfaces
auto lo
iface lo inet loopback

auto br0
iface br0 inet static
     address 192.168.0.186
     netmask 255.255.255.0
     broadcast 192.168.0.255
     bridge_ports eth1 eth2 eth3 wlan0
     bridge_ageing 300
     bridge_fd 1

# Mapping to DSL- oder DHCP-Router
mapping eth0
     ...

/etc/default/hostapd
DAEMON_CONF="/etc/hostapd.conf"

/etc/hostapd.conf
         interface=wlan0
         bridge=br0
         driver=nl80211
         logger_syslog=-1
         logger_syslog_level=1
         logger_stdout=-1
         logger_stdout_level=1
         dump_file=/tmp/hostapd.dump
         ctrl_interface=/var/run/hostapd
         ctrl_interface_group=0
         ssid=fortress
         country_code=DE
         hw_mode=g
         channel=1
         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
         wmm_enabled=1
         wmm_ac_bk_cwmin=4
         wmm_ac_bk_cwmax=10
         wmm_ac_bk_aifs=7
         wmm_ac_bk_txop_limit=0
         wmm_ac_bk_acm=0
         wmm_ac_be_aifs=3
         wmm_ac_be_cwmin=4
         wmm_ac_be_cwmax=10
         wmm_ac_be_txop_limit=0
         wmm_ac_be_acm=0
         wmm_ac_vi_aifs=2
         wmm_ac_vi_cwmin=3
         wmm_ac_vi_cwmax=4
         wmm_ac_vi_txop_limit=94
         wmm_ac_vi_acm=0
         wmm_ac_vo_aifs=2
         wmm_ac_vo_cwmin=2
         wmm_ac_vo_cwmax=3
         wmm_ac_vo_txop_limit=47
         wmm_ac_vo_acm=0
         eapol_key_index_workaround=0
         eap_server=0
         own_ip_addr=127.0.0.1
         wpa=2
         wpa_passphrase=PASSWORT
         wpa_key_mgmt=WPA-PSK WPA-EAP
         wpa_pairwise=TKIP CCMP
         rsn_pairwise=CCMP

<brctl showstp br0> only shows the ports eth[1-3] when i try to add 
wlan0 with </etc/network/interfaces> start-script. Any idea?

regards Markus

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bridge] wlan0 will not be automatically added to br0
  2012-04-23 13:11 [Bridge] wlan0 will not be automatically added to br0 Markus Feldmann
@ 2012-06-07 16:40 ` Arun Khan
  0 siblings, 0 replies; 2+ messages in thread
From: Arun Khan @ 2012-06-07 16:40 UTC (permalink / raw)
  To: Linux Bridge

On Mon, Apr 23, 2012 at 6:41 PM, Markus Feldmann <feldmann_markus@gmx.de> wrote:
> Hi All,
>
> i want my wlan0 added automatically to br0 on my Debian Squeeze Server. At
> the moment the ports eth[1-3] are running over br0. I am using kernel 3.2.9.
> The port eth0 is only for internet. eth[1-3] are for my local network at
> home. When i manually add wlan0 to br0 i can built up a communication
> between my laptop and my server. Therfore i execute the command <brctl addif
> br0 wlan0> on my server.
>

.... snip ...

For an ALIX box, I was looking at this link
<http://wiki.debian.org/BridgeNetworkConnections>  under "Bridging
with a wireless NIC"  and this
<http://www.linuxquestions.org/questions/linux-networking-3/wireless-wired-bridge-on-debian-squeeze-883201/>.

However, I switched to openWRT so I have no personal experience with
the implementation on Debian.  I would suggest that you try Voyage
Linux (Debian based).   It comes with a quite a few sample
configurations to setup an AP and you may be able to extend the
scripts to meet your requirements.

HTH
-- 
Arun Khan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-07 16:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-23 13:11 [Bridge] wlan0 will not be automatically added to br0 Markus Feldmann
2012-06-07 16:40 ` Arun Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).