I have attached Intel® Centrino® Wireless-N 2230 with my Intel Galileo. I have also configured the wifi card by following this link (Configuring WiFi for the Intel Galileo Board | Intel® Developer Zone) . I know that my wifi card is working by connmanctl command like scanning wifi, connecting wifi and ping to google or any other website by using Linux command window. After finishing the configuration, i tried to use this galileo board in Arduino 1.6.5 and i wanted to use the example sketch of Arduino like scanNetworks. It seems like the scannetwork sketch is not working as it is saying there is zero(0) networks available, though i am sure that there are few wifi networks around my galileo board. I am following this book(Intel Galileo and Intel Galileo Gen 2: API features and arduino projects for linux programmers) and it said that i do not need to change the example sketch when the configuration is done by linux terminal. How can i talk my wifi card through Arduino sketch?
Operating system: Ubuntu 14.04
SD image from this link( http://iotdk.intel.com/images/iot-devkit-latest-mmcblkp0.direct.bz2. )
please, provide me a possible solution.