Hi Kartik -
please provide info about the error message...
Of course you have to set up the wireless interface...
Here is the startup-script I use on my laptop:
# Load the tun kernel module modprobe tun
# Create Ahdemo mode Madwifi wireless VAP wlanconfig ath0 create wlandev wifi0 wlanmode ahdemo
# Create /etc/resolv.conf with preferred domain name server echo "nameserver 141.1.1.1" > /etc/resolv.conf
# Set up wireless essid, channel and fix the IBSS-ID to avoid cell-splitting # - mandatory to join an existing cell in Ahdemo mode iwconfig ath0 essid olsr.freifunk.net channel 10 ap 02:CA:FF:EE:BA:BE
# Configure IP of VAP interface ip a add 103.130.30.10/8 brd 103.255.255.255 dev ath0
# Switch it on. ip link set ath0 up
# Start batmand with preferred internet gateway batmand -p 103.130.1.67 ath0
cu elektra