Hi,
Hello,
- I can't creat the 2 files:
cat /sys/kernel/debug/batman_adv/bat0/log echo 2 > /sys/class/net/bat0/mesh/log_level
then when i write this line, i have the result: sudo batctl log Error - can't open file '/sys/kernel/debug//batman_adv/bat0/log': No such file or directory To read the debug log you need to compile the module with debugging enabled (see the README)
WWW@ubuntu:~$ sudo batctl ll Error - can't open file '/sys/class/net/bat0/mesh/log_level': No such file or directory To increase the log level you need to compile the module with debugging enabled (see the README)
How can i compile it ?
Read the README, it's documented there.
- The MTU = 1528 is not need to be set on the computer ?
No, batman-adv can also fragment the packets for you. But it's a good idea to set this MTU value to the hard interface used by batman-adv.
- How can i lauch batman-adv in debug mode to see all node ?
There is no such thing as debug mode. Compile batman-adv with debug turned on (either set CONFIG_BATMAN_ADV_DEBUG=y in the Makefile if you compile the module externally or select debug in "make menuconfig" when using the module from the in-kernel tree).
You can "see" other nodes e.g. by using "batctl o", which will print the local originator table.
The quick-start guide might also point you to a view interesting things:
http://www.open-mesh.org/projects/batman-adv/wiki/Quick-start-guide
Cheers, Simon