diff options
Diffstat (limited to 'Documentation/networking/batman-adv.txt')
-rw-r--r-- | Documentation/networking/batman-adv.txt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Documentation/networking/batman-adv.txt b/Documentation/networking/batman-adv.txt index 221ad0cdf11f..75a592365af9 100644 --- a/Documentation/networking/batman-adv.txt +++ b/Documentation/networking/batman-adv.txt | |||
@@ -1,5 +1,3 @@ | |||
1 | [state: 21-08-2011] | ||
2 | |||
3 | BATMAN-ADV | 1 | BATMAN-ADV |
4 | ---------- | 2 | ---------- |
5 | 3 | ||
@@ -67,18 +65,19 @@ To deactivate an interface you have to write "none" into its | |||
67 | All mesh wide settings can be found in batman's own interface | 65 | All mesh wide settings can be found in batman's own interface |
68 | folder: | 66 | folder: |
69 | 67 | ||
70 | # ls /sys/class/net/bat0/mesh/ | 68 | # ls /sys/class/net/bat0/mesh/ |
71 | # aggregated_ogms fragmentation gw_sel_class vis_mode | 69 | # aggregated_ogms gw_bandwidth log_level |
72 | # ap_isolation gw_bandwidth hop_penalty | 70 | # ap_isolation gw_mode orig_interval |
73 | # bonding gw_mode orig_interval | 71 | # bonding gw_sel_class routing_algo |
72 | # bridge_loop_avoidance hop_penalty vis_mode | ||
73 | # fragmentation | ||
74 | 74 | ||
75 | 75 | ||
76 | There is a special folder for debugging information: | 76 | There is a special folder for debugging information: |
77 | 77 | ||
78 | # ls /sys/kernel/debug/batman_adv/bat0/ | 78 | # ls /sys/kernel/debug/batman_adv/bat0/ |
79 | # gateways socket transtable_global vis_data | 79 | # bla_claim_table log socket transtable_local |
80 | # originators softif_neigh transtable_local | 80 | # gateways originators transtable_global vis_data |
81 | |||
82 | 81 | ||
83 | Some of the files contain all sort of status information regard- | 82 | Some of the files contain all sort of status information regard- |
84 | ing the mesh network. For example, you can view the table of | 83 | ing the mesh network. For example, you can view the table of |
@@ -202,12 +201,13 @@ abled during run time. Following log_levels are defined: | |||
202 | 1 - Enable messages related to routing / flooding / broadcasting | 201 | 1 - Enable messages related to routing / flooding / broadcasting |
203 | 2 - Enable messages related to route added / changed / deleted | 202 | 2 - Enable messages related to route added / changed / deleted |
204 | 4 - Enable messages related to translation table operations | 203 | 4 - Enable messages related to translation table operations |
205 | 7 - Enable all messages | 204 | 8 - Enable messages related to bridge loop avoidance |
205 | 15 - enable all messages | ||
206 | 206 | ||
207 | The debug output can be changed at runtime using the file | 207 | The debug output can be changed at runtime using the file |
208 | /sys/class/net/bat0/mesh/log_level. e.g. | 208 | /sys/class/net/bat0/mesh/log_level. e.g. |
209 | 209 | ||
210 | # echo 2 > /sys/class/net/bat0/mesh/log_level | 210 | # echo 6 > /sys/class/net/bat0/mesh/log_level |
211 | 211 | ||
212 | will enable debug messages for when routes change. | 212 | will enable debug messages for when routes change. |
213 | 213 | ||