I'm trying to connect my Raspberry Pi 3 to a GoPro Hero 4 camera that supports ad-hoc wifi connections so I can script some photo timelapses.
I'm able to connect from a Windows machine, but unable from the RPi3.
I tried the following commands:
sudo -i
ifconfig wlan0 up
iwconfig wlan0 mode ad-hoc
iwconfig wlan0 essid "goPro4_02"
ifconfig wlan0 10.5.5.20 netmask 255.255.255.0
Also I scanned first the available WiFi interfaces with the iwlist
command to identify properly the ESSID and the quality of the signal.