From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 20 Jan 2011 09:25:21 +0100 From: Linus =?utf-8?Q?L=C3=BCssing?= Message-ID: <20110120082521.GA14117@Sellars> References: <9593ED11D39C4938AB059ECE63244111@granch.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <9593ED11D39C4938AB059ECE63244111@granch.local> Sender: linus.luessing@web.de Subject: Re: [B.A.T.M.A.N.] Stup batman ADv devel on openWRT Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking Hi Michael, You have a bridge loop here, you cannot put an interface into batman-adv and bridge the same one with bat0 again which seems to be the case for wlan0. Packets will enter wlan0, batman will grab them, encapsulate it in its own batman header and send the same packet on wlan0 again, reaching another batman-adv node, which encapsulates the same packet again etc. Please check http://www.open-mesh.org/wiki/batman-adv-quick-start-guide and try starting with a simpler setup first. Also have a look at http://www.open-mesh.org/wiki/batman-adv-troubleshooting, if there's anything missing in this one, we'll be happy to add it. Cheers, Linus On Thu, Jan 20, 2011 at 01:31:34PM +0600, Michael Y. Gluhovchenko wrote: > Hello All; > > I am truing to setup two batman openWRT nodes; > > I have that topology > br-lan 0002.001e8cc9451b yes bat0 > eth0 > eth1 > wlan0 > > Counters of RX & TX packets are increase on wlan0, but no RX packets > on Batman Iface Bat0 > In logs first(ha00) node i am only see "[ 69443] Sending own > packet (originator c4:17:fe:b4:0b:97 seqno 70438, TQ 255, TTL 50, > IDF off) on interface wlan0 [c4:17:fe:b4:0b:97]". Second(ha01) node > I am see "[ 69553] Sending own packet (originator c4:17:fe:b2:50:c8 > seqno 70549, TQ 255, TTL 50, IDF off) on interface wlan0 > [c4:17:fe:b2:50:c8]" > What am i doing wrong? > > First Node don't see Second Node. > Bat Setup: > ha00 - /etc/config/wireless: > config wifi-device radio0 > option type mac80211 > option channel 1 > option macaddr c4:17:fe:b4:0b:97 > option hwmode 11g > option htmode HT20 > list ht_capab SHORT-GI-40 > list ht_capab TX-STBC > list ht_capab RX-STBC1 > list ht_capab DSSS_CCK-40 > > config wifi-iface > option device radio0 > option network lan > option mtu 1527 > option mode ahdemo > option ssid g_mesh > option encryption none > /etc/config/batman-adv > > config 'mesh' 'bat0' > option 'interfaces' 'wlan0' > option 'orig_interval' > option 'log_level' > option 'aggregated_ogms' > option 'bonding' > option 'vis_mode' > ------------------------------------- > ha01 - /etc/config/wireless > config wifi-device radio0 > option type mac80211 > option channel 1 > option macaddr c4:17:fe:b2:50:c8 > option hwmode 11g > option htmode HT20 > list ht_capab SHORT-GI-40 > list ht_capab TX-STBC > list ht_capab RX-STBC1 > list ht_capab DSSS_CCK-40 > > config wifi-iface > option device radio0 > option network lan > option mode ahdemo > option ssid g_mesh > option encryption none > > /etc/config/batman-adv > config 'mesh' 'bat0' > option 'interfaces' 'wlan0' > option 'orig_interval' > option 'log_level' > option 'aggregated_ogms' > option 'bonding' > option 'vis_mode' > . >