All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Feldmann <feldmann_markus@gmx.de>
To: bridge@lists.linux-foundation.org
Subject: [Bridge] wlan0 will not be automatically  added to br0
Date: Mon, 23 Apr 2012 15:11:39 +0200	[thread overview]
Message-ID: <4F95550B.6010409@gmx.de> (raw)

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

             reply	other threads:[~2012-04-23 13:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-23 13:11 Markus Feldmann [this message]
2012-06-07 16:40 ` [Bridge] wlan0 will not be automatically added to br0 Arun Khan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F95550B.6010409@gmx.de \
    --to=feldmann_markus@gmx.de \
    --cc=bridge@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.