~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to Documentation/networking/batman-adv.txt

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
[state: 21-11-2010]
 
1
[state: 17-04-2011]
2
2
 
3
3
BATMAN-ADV
4
4
----------
19
19
network driver, and can be used on wifi as well as ethernet  lan,
20
20
vpn,  etc ... (anything with ethernet-style layer 2).
21
21
 
 
22
 
22
23
CONFIGURATION
23
24
-------------
24
25
 
67
68
folder:
68
69
 
69
70
#  ls  /sys/class/net/bat0/mesh/
70
 
#  aggregated_ogms  bonding  fragmentation  orig_interval
71
 
#  vis_mode
72
 
 
73
 
 
74
 
There is a special folder for debugging informations:
 
71
#  aggregated_ogms  gw_bandwidth  hop_penalty
 
72
#  bonding          gw_mode       orig_interval
 
73
#  fragmentation    gw_sel_class  vis_mode
 
74
 
 
75
 
 
76
There is a special folder for debugging information:
75
77
 
76
78
#  ls /sys/kernel/debug/batman_adv/bat0/
77
 
#  originators  socket  transtable_global  transtable_local
78
 
#  vis_data
 
79
#  gateways     socket        transtable_global  vis_data
 
80
#  originators  softif_neigh  transtable_local
79
81
 
80
82
 
81
83
Some of the files contain all sort of status information  regard-
159
161
-> "TQ mac  value"  -  src mac's link quality towards mac address
160
162
                       of a neighbor originator's interface which
161
163
                       is being used for routing
162
 
-> "HNA mac" - HNA announced by source mac
 
164
-> "TT mac" - TT announced by source mac
163
165
-> "PRIMARY" - this  is a primary interface
164
166
-> "SEC mac" - secondary mac address of source
165
167
               (requires preceding PRIMARY)
166
168
 
167
169
The TQ value has a range from 4 to 255 with 255 being  the  best.
168
 
The HNA entries are showing which hosts are connected to the mesh
 
170
The TT entries are showing which hosts are connected to the mesh
169
171
via bat0 or being bridged into the mesh network.  The PRIMARY/SEC
170
172
values are only applied on primary interfaces
171
173
 
198
200
 
199
201
0 - All  debug  output  disabled
200
202
1 - Enable messages related to routing / flooding / broadcasting
201
 
2 - Enable route or hna added / changed / deleted
 
203
2 - Enable route or tt entry added / changed / deleted
202
204
3 - Enable all messages
203
205
 
204
206
The debug output can be changed at runtime  using  the  file
206
208
 
207
209
# echo 2 > /sys/class/net/bat0/mesh/log_level
208
210
 
209
 
will enable debug messages for when routes or HNAs change.
 
211
will enable debug messages for when routes or TTs change.
210
212
 
211
213
 
212
214
BATCTL
230
232
Please send us comments, experiences, questions, anything :)
231
233
 
232
234
IRC:            #batman   on   irc.freenode.org
233
 
Mailing-list:   b.a.t.m.a.n@b.a.t.m.a.n@lists.open-mesh.org
234
 
                (optional   subscription   at
235
 
                 https://lists.open-mesh.org/mm/listinfo/b.a.t.m.a.n)
 
235
Mailing-list:   b.a.t.m.a.n@open-mesh.org (optional  subscription
 
236
          at https://lists.open-mesh.org/mm/listinfo/b.a.t.m.a.n)
236
237
 
237
238
You can also contact the Authors:
238
239