public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: contact <contact@wifibot.com>
To: Sven Eckelmann <sven@narfation.org>, b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] no able to switch routing algo to V ?
Date: Sat, 7 May 2016 18:04:41 +0200	[thread overview]
Message-ID: <572E1219.7070005@wifibot.com> (raw)
In-Reply-To: <112511932.Eq5c9Kmyda@sven-edge>

Thank you, it is working and it is more clear for me.

I have switched to V but when I switch on other V nodes, my first node 
reset or freeze, probably a kernel panic. Need to plug a rs232 to be 
able to see what could be the problem.
I will switch back to IV.

for info my network file:

config interface 'lan'
         option ifname 'eth0 bat0'
         option force_link '1'
         option type 'bridge'
         option proto 'static'
         option ipaddr '192.168.204.1'
         option netmask '255.255.255.0'
         option ip6assign '60'

config interface 'mesh'
         option mtu '1532'
         option proto 'batadv'
         option mesh 'bat0'
         option routing_algo 'BATMAN_V'

config interface 'bat'
         option ifname 'bat0'
         option proto 'static'
         option mtu '1532'

and my wireless :

config wifi-device  radio0
         option type     mac80211
         option channel  1
         option hwmode   11g
         option path     'pci0000:00/0000:00:00.0'
         option htmode   HT20
         option txpower 22
         option disabled 0

config wifi-iface
         option device   radio0
         option network  mesh
         option mode     adhoc
         option ssid     mesh
         option encryption none
         option bssid 02:CA:FE:CA:CA:42
         option ifnam adhoc0

Best Regards,

Laurent

On 07/05/2016 16:18, Sven Eckelmann wrote:
> On Saturday 07 May 2016 16:08:35 contact wrote:
>> Hello,
>>
>> I just got openwrt 15.05.1 with batman-adv 2016.1 on 3 picostation HP,
>> this time a selected before the build of openwrt batman V option, I can
>> see it when it ask for available routing algo ,
>>
>> root@OpenWrt:/etc/init.d# cat /sys/kernel/debug/batman_adv/routing_algos
>> Available routing algorithms:
>>    * BATMAN_IV
>>    * BATMAN_V
>>
>> but when I do :
>>
>> echo BATMAN_V > /sys/module/batman_adv/parameters/routing_algo
>>
>> It does nothing, still on BATMAN_IV during session and on reboot ?
> This module parameter only controls what routing algorithm is chosen when a
> new batman-adv interface is created. So if you already have created it then
> changing the parameter doesn't do anything to the already existing batman-adv
> interface. Also rebooting a device will reset it either to the default or to
> the one you've explicitly specified during the loading of the modules.
>
> But you seem to use OpenWrt. It allows to specify the routing_algo in
> /etc/config/network and should be applied right before the batman-adv
> interface is created. You just have to make sure that you don't specify
> conflicting things. An example of a simple configuration is:
>
>      config interface 'batnet'
>              option mtu '1532'
>              option proto 'batadv'
>              option mesh 'bat0'
>              option routing_algo 'BATMAN_V'
>
> The wireless configuration would then normally reference this batnet network:
>
>      config wifi-iface 'wmesh'
>              option device 'radio0'
>              option ifname 'adhoc0'
>              option network 'batnet'
>              option mode 'adhoc'
>              option ssid 'mesh'
>              option 'mcast_rate' '18000'
>              option bssid '02:CA:FE:CA:CA:40'
>
> This information was taken from Batman-adv-openwrt-config wiki page [1]
>
> Kind regards,
> 	Sven
>
> [1] https://www.open-mesh.org/projects/batman-adv/wiki/Batman-adv-openwrt-config


  reply	other threads:[~2016-05-07 16:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-07 14:08 [B.A.T.M.A.N.] no able to switch routing algo to V ? contact
2016-05-07 14:18 ` Sven Eckelmann
2016-05-07 16:04   ` contact [this message]
2016-05-07 16:28     ` Sven Eckelmann
2016-05-07 16:42       ` contact
2016-05-07 16:44         ` Sven Eckelmann
2016-05-07 16:51           ` contact
2016-05-07 16:53             ` Marek Lindner
2016-05-07 16:59               ` contact
2016-05-07 17:01                 ` Marek Lindner
2016-05-07 17:06                   ` contact
2016-05-07 18:09                     ` contact
2016-05-07 18:45                       ` contact
2016-05-07 22:40                         ` Marek Lindner
2016-05-07 16:55             ` Sven Eckelmann
  -- strict thread matches above, loose matches on Subject: below --
2016-05-06 20:27 [B.A.T.M.A.N.] [PATCH maint] batman-adv: Fix double neigh_node_put in batadv_v_ogm_route_update Sven Eckelmann
2016-05-07 12:07 ` Marek Lindner
2016-05-07 12:29   ` [B.A.T.M.A.N.] no able to switch routing algo to V ? contact
2016-05-07 13:14     ` Sven Eckelmann

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=572E1219.7070005@wifibot.com \
    --to=contact@wifibot.com \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=sven@narfation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox