diff options
author | David S. Miller <davem@davemloft.net> | 2016-08-12 23:55:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-12 23:55:41 -0400 |
commit | f9f9ab17268e53b2ca0920c0c0c50f98bd267fe3 (patch) | |
tree | 1247dc65ecbe2176a8ac96b8e173d38072adb4ca /Documentation/networking | |
parent | 85be21bd6969d840a1af73ede4ec01dd0e1ecb66 (diff) | |
parent | b5dcbad25219b82408e15e6d775a406be2116af1 (diff) |
Merge tag 'batadv-next-for-davem-20160812' of git://git.open-mesh.org/linux-merge
Simon Wunderlich says:
====================
This feature patchset includes the following changes (mostly
chronological order):
- bump version strings, by Simon Wunderlich
- kerneldoc clean up, by Sven Eckelmann
- enable RTNL automatic loading and according documentation
changes, by Sven Eckelmann (2 patches)
- fix/improve interface removal and associated locking, by
Sven Eckelmann (3 patches)
- clean up unused variables, by Linus Luessing
- implement Gateway selection code for B.A.T.M.A.N. V by
Antonio Quartulli (4 patches)
- rewrite TQ comparison by Markus Pargmann
- fix Cocinelle warnings on bool vs integers (by Fenguang Wu/Intels
kbuild test robot) and bitwise arithmetic operations (by Linus
Luessing)
- rewrite packet creation for forwarding for readability and to avoid
reference count mistakes, by Linus Luessing
- use kmem_cache for translation table, which results in more efficient
storing of translation table entries, by Sven Eckelmann
- rewrite/clarify reference handling for send_skb_unicast, by Sven
Eckelmann
- fix debug messages when updating routes, by Sven Eckelmann
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/batman-adv.txt | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/Documentation/networking/batman-adv.txt b/Documentation/networking/batman-adv.txt index 1b5e7a7f2185..8a8d3d96f6c6 100644 --- a/Documentation/networking/batman-adv.txt +++ b/Documentation/networking/batman-adv.txt | |||
@@ -43,10 +43,15 @@ new interfaces to verify the compatibility. There is no need to | |||
43 | reload the module if you plug your USB wifi adapter into your ma- | 43 | reload the module if you plug your USB wifi adapter into your ma- |
44 | chine after batman advanced was initially loaded. | 44 | chine after batman advanced was initially loaded. |
45 | 45 | ||
46 | To activate a given interface simply write "bat0" into its | 46 | The batman-adv soft-interface can be created using the iproute2 |
47 | "mesh_iface" file inside the batman_adv subfolder: | 47 | tool "ip" |
48 | 48 | ||
49 | # echo bat0 > /sys/class/net/eth0/batman_adv/mesh_iface | 49 | # ip link add name bat0 type batadv |
50 | |||
51 | To activate a given interface simply attach it to the "bat0" | ||
52 | interface | ||
53 | |||
54 | # ip link set dev eth0 master bat0 | ||
50 | 55 | ||
51 | Repeat this step for all interfaces you wish to add. Now batman | 56 | Repeat this step for all interfaces you wish to add. Now batman |
52 | starts using/broadcasting on this/these interface(s). | 57 | starts using/broadcasting on this/these interface(s). |
@@ -56,10 +61,10 @@ By reading the "iface_status" file you can check its status: | |||
56 | # cat /sys/class/net/eth0/batman_adv/iface_status | 61 | # cat /sys/class/net/eth0/batman_adv/iface_status |
57 | # active | 62 | # active |
58 | 63 | ||
59 | To deactivate an interface you have to write "none" into its | 64 | To deactivate an interface you have to detach it from the |
60 | "mesh_iface" file: | 65 | "bat0" interface: |
61 | 66 | ||
62 | # echo none > /sys/class/net/eth0/batman_adv/mesh_iface | 67 | # ip link set dev eth0 nomaster |
63 | 68 | ||
64 | 69 | ||
65 | All mesh wide settings can be found in batman's own interface | 70 | All mesh wide settings can be found in batman's own interface |