I have some troubles with setting up a batman mesh. I tried several tutorials to setup the batman mesh but I can't see if it is working or not. The strange thing is I always get the same error message from batctl, when I'm typing batctl o:
root@ap-eg-buero:~# batctl o
Error - no valid command or debug table/JSON specified: o
Usage: batctl [options] command|debug table|debug json [parameters]
options:
-h print this help (or 'batctl <command|debug table|debug json> -h' for the parameter help)
-v print version
commands:
meshif <netdev> aggregation|ag [0|1] display or modify aggregation setting
meshif <netdev> ap_isolation|ap [0|1] display or modify ap_isolation setting
vlan <vdev> ap_isolation|ap [0|1] display or modify ap_isolation setting for vlan device or id
meshif <netdev> vid <vid> ap_isolation|ap [0|1] display or modify ap_isolation setting for vlan device or id
meshif <netdev> bonding|b [0|1] display or modify bonding setting
meshif <netdev> bridge_loop_avoidance|bl [0|1] display or modify bridge_loop_avoidance setting
meshif <netdev> distributed_arp_table|dat [0|1] display or modify distributed_arp_table setting
hardif <netdev> elp_interval|et [interval] display or modify elp_interval setting
meshif <netdev> fragmentation|f [0|1] display or modify fragmentation setting
meshif <netdev> gw_mode|gw [mode] display or modify the gateway mode
meshif <netdev> hop_penalty|hp [penalty] display or modify hop_penalty setting
hardif <netdev> hop_penalty|hp [penalty] display or modify hop_penalty setting
meshif <netdev> interface|if [add|del iface(s)] display or modify the interface settings
meshif <netdev> isolation_mark|mark [mark] display or modify isolation_mark setting
meshif <netdev> loglevel|ll [level] display or modify the log level
meshif <netdev> multicast_fanout|mo [fanout] display or modify multicast_fanout setting
meshif <netdev> multicast_forceflood|mff [0|1] display or modify multicast_forceflood setting
meshif <netdev> network_coding|nc [0|1] display or modify network_coding setting
meshif <netdev> orig_interval|it [interval] display or modify orig_interval setting
routing_algo|ra [mode] display or modify the routing algorithm
hardif <netdev> throughput_override|to [mbit] display or modify throughput_override setting
debug tables: display the corresponding debug table
JSON queries: display results of netlink query as JSON
Any ideas what's going wrong on my side?
I'm using Cudy WR3000 V1 with additional packages kmod-batman-adv, luci-proto-batman-adv, wpad-mesh-wolfssl
I created a bat0 (Batman device), bat0_mesh (Batman interface) and created a jmomesh with network bat0_mesh over luci on all my mesh nodes. The jmomesh showing as connected on all nodes.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button (red circle; this works best in the 'Markdown' composer view in the blue oval):
Remember to redact passwords, VPN keys, MAC addresses and any public IP addresses you may have:
That's the point. Normally this should be valid as you can read in the batman documentation. The interesting point is that the JSON tables are not filled anyways.
That's why I'm asking if anybody had a similiar phenomenon or ideas. It's not my first network to setup and for me as it looks like s.th. messed up maybe with the package compile or a wrong kernel setting.
For comparison reason how it should look like here is an excerpt from a Ubuntu proxmox VM (not active batman mesh):
Sorry you are right.
Did you checked the dependencies of batctl?
I assume as long as the kmod is loaded and batctl is installed it should work as you has verified on an other system.