I am trying to create an adhoc network with following command in ubuntu 16.04:
sudo iwconfig wlan0 mode ad-hoc essid my-mesh-network ap 02:12:34:56:78:9A channel 1
however when I try to enable the interface, its giving me error
sudo ip link set up dev wlan0
output:
rtnetlink answers device or resource busy
This problem comes only when the interface mode is set to "Ad-Hoc"
In monitor mode or managed mode, this issue does not come.
Can you please tell me if this issue is due to the driver limitation or I am missing anything. Thanks in advance.