I installed the package batctl on my desktop which have a 2.4 ghz wifi card and on one of my laptops. After running a modprobe for the batman-adv module everything was set for the test to begin.
I followed the quick setup from: Batman-adv quick start guide
ip link set mtu 1532 dev wlan0
iwconfig wlan0 mode ad-hoc essid my-mesh-network ap 02:12:34:56:78:9A channel 1
batctl if add wlan0
ip link set up dev wlan0
After that was done I tried checking if I had any neighbors on the network.
This gave me the other host that I set up and I tried to run the same command on the other machine and it gave me the first system. Success. They’re at least on the same network since they can see each other. I then tried to setup an ip on the bat0 interface. But I had no luck getting it to ping each other. I will try again and read up some more on the setups.