All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gioacchino Mazzurco <gmazzurco89@gmail.com>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] batman openwrt
Date: Sat, 11 Feb 2012 17:51:53 +0100	[thread overview]
Message-ID: <1590796.df4KKcFED8@g10h4cklab> (raw)
In-Reply-To: <201202111758.29202.lindner_marek@yahoo.de>

Ok so it is not a well known bug

There are some infos:

root@OpenWrt:~# batctl if
ath0: active

root@OpenWrt:~# cat /etc/eigennet/version
Build Info:

OpenWrt
Path: .
URL: svn://svn.openwrt.org/openwrt/branches/backfire
Repository Root: svn://svn.openwrt.org/openwrt
Repository UUID: 3c298f89-4303-0410-b956-a3cf2f4a3e73
Revision: 30330
Node Kind: directory
Schedule: normal
Last Changed Author: jow
Last Changed Rev: 30306
Last Changed Date: 2012-02-05 18:15:40 +0100 (Sun, 05 Feb 2012)

Feeds

packages
Path: .
URL: svn://svn.openwrt.org/openwrt/packages
Repository Root: svn://svn.openwrt.org/openwrt
Repository UUID: 3c298f89-4303-0410-b956-a3cf2f4a3e73
Revision: 30330
Node Kind: directory
Schedule: normal
Last Changed Author: jow
Last Changed Rev: 30328
Last Changed Date: 2012-02-06 12:54:43 +0100 (Mon, 06 Feb 2012)

zzzeigennet
URL: git://gitorious.org/eigennet/packages.git
commit d66e3ad00c920213f0ae5ddaa94e14797256570f
Author: Gioacchino Mazzurco <gmazzurco89@gmail.com>
Date:   Sun Feb 5 18:41:30 2012 +0100

    gw_mode client enabled by default


root@OpenWrt:~# cat /etc/config/batman-adv 

config 'mesh' 'bat0'
        option 'fragmentation' '1'
        option 'gw_mode' 'client'
        list 'interfaces' 'clients'
        list 'interfaces' 'nmeshwifi0'

root@OpenWrt:~# cat /etc/config/network 

config 'interface' 'loopback'
        option 'ifname' 'lo'
        option 'proto' 'static'
        option 'ipaddr' '127.0.0.1'
        option 'netmask' '255.0.0.0'
        option 'ip6addr' '0::1/128'

config 'interface' 'clients'
        option 'proto' 'static'
        option 'type' 'bridge'
        list 'ifname' 'bat0'
        list 'ifname' 'eth0'
        option 'ip6addr' '2001:470:ca42:ee:ab:0015:6DFD:71F6/64'
        option 'ip6gw' '2001:470:ca42:ee:ab::1000'
        option 'ipaddr' '192.168.1.21'
        option 'netmask' '255.255.255.0'

config 'interface' 'nmeshwifi0'
        option 'proto' 'static'
        option 'mtu' '1528'
        option 'ip6addr' 'eeab:20::1/64'
        option 'ipaddr' '192.168.20.21'
        option 'netmask' '255.255.255.0'

root@OpenWrt:~# cat /etc/config/wireless 

config 'wifi-device' 'wifi0'
        option 'type' 'atheros'
        option 'channel' '8'
        option 'disabled' '0'
        option 'txpower' '30'

config 'wifi-iface' 'meshwifi0'
        option 'device' 'wifi0'
        option 'network' 'nmeshwifi0'
        option 'sw_merge' '1'
        option 'mode' 'adhoc'
        option 'bssid' '02:aa:bb:cc:dd:ee'
        option 'ssid' 'www.eigenlab.org-www.ninux.org'
        option 'encryption' 'none'
        option 'mcast_rate' '6000'

config 'wifi-iface' 'apwifi0'
        option 'device' 'wifi0'
        option 'network' 'clients'
        option 'sw_merge' '1'
        option 'mode' 'ap'
        option 'ssid' 'eigenNet'
        option 'encryption' 'none'
        option 'maxassoc' '20'


root@OpenWrt:~# ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state 
UNKNOWN qlen 1000
    link/ether 00:15:6d:fd:71:f6 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::215:6dff:fefd:71f6/64 scope link 
       valid_lft forever preferred_lft forever
3: br-clients: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state 
UNKNOWN 
    link/ether 00:15:6d:fd:71:f6 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.21/24 brd 192.168.1.255 scope global br-clients
    inet6 2001:470:ca42:ee:ab:15:6dfd:71f6/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::215:6dff:fefd:71f6/64 scope link 
       valid_lft forever preferred_lft forever
4: wifi0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state 
UNKNOWN qlen 195
    link/ieee802.11 00:15:6d:fc:71:f6 brd ff:ff:ff:ff:ff:ff
5: ath0-1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state 
UNKNOWN 
    link/ether 00:15:6d:fc:71:f6 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::215:6dff:fefc:71f6/64 scope link 
       valid_lft forever preferred_lft forever
6: ath0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1528 qdisc noqueue state 
UNKNOWN 
    link/ether 06:15:6d:fc:71:f6 brd ff:ff:ff:ff:ff:ff
    inet 192.168.20.21/24 brd 192.168.20.255 scope global ath0
    inet6 eeab:20::1/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::415:6dff:fefc:71f6/64 scope link 
       valid_lft forever preferred_lft forever
7: bat0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc noqueue 
state UNKNOWN 
    link/ether 26:da:76:30:f6:48 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::24da:76ff:fe30:f648/64 scope link 
       valid_lft forever preferred_lft forever


adding by hand br-clients to batman with batctl if add br-clients work without 
problem the same beaviour on devices where eth0 is not bridged

thanks for help

P.S. as you can see I am using packages from trunk

On Saturday 11 February 2012 17:58:28 Marek Lindner wrote:
> Hi,
> 
> > After upgrading to latest batman version on openwt batman stopped adding
> > ethernet or bridge interfaces at start...
> > 
> > it add only wireless interfaces
> > 
> > I am using backfire for the core and trunk for packages the problem is
> > related to that?
> 
> can you post your /etc/config/batman-adv and as well as the batman-adv
> package version you are using ? Did you switch to the latest and greatest ?
> 
> Cheers,
> Marek

  reply	other threads:[~2012-02-11 16:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-11  0:36 [B.A.T.M.A.N.] batman openwrt Gioacchino Mazzurco
2012-02-11  9:58 ` Marek Lindner
2012-02-11 16:51   ` Gioacchino Mazzurco [this message]
2012-02-11 17:20     ` Marek Lindner
2012-02-11 17:37       ` Gioacchino Mazzurco
2012-02-11 17:41         ` Marek Lindner
2012-02-11 17:58           ` Gioacchino Mazzurco
2012-02-11 18:15             ` Gioacchino Mazzurco
2012-02-11 18:30               ` Marek Lindner
2012-02-12  5:50 ` Marek Lindner
     [not found]   ` <CAFevQmMDLCAgma40kpmcX9AKGbBjzobTiU7ad-Bp3TMcnhODXg@mail.gmail.com>
2012-02-12 13:10     ` Marek Lindner
2012-03-04 19:15   ` Marek Lindner

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=1590796.df4KKcFED8@g10h4cklab \
    --to=gmazzurco89@gmail.com \
    --cc=b.a.t.m.a.n@lists.open-mesh.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.