So I previously setup my ad hoc network on my prior Raspberry Pi 3B by adding these lines to my /etc/network/interfaces
file:
auto wlan0
iface wlan0 inet static
address 10.2.1.1
netmask 255.255.255.0
wireless-channel 1
wireless-essid PiAdHocNetwork
wireless-mode ad-hoc
I just tried this same thing on my new Pi 4 running Buster and it did not work. I setup two Raspberry Pis using this method and tried to ping between them with no luck. How do I setup an ad hoc network on the Pi 4 with Buster? I can't find any examples and I'm not sure the syntax in the .conf or wpa_supplicant
files....Also would like to know how to control TX power.
Thanks!