Thanks ... much appreciated.
As a reference, I built the image with these extras installed:
IMAGE_INSTALL += "nano git hostap-utils hostap-daemon dhcp-server iptables libnl libnl-dev openssl autoconf automake binutils binutils-symlinks cpp cpp-symlinks gcc gcc-symlinks g++ g++-symlinks gettext make libstdc++ libstdc++-dev file coreutils"
I have not set up an address translation table, but I have set up the Galileo as it's own DNS server, which might be what you really want.
Let me describe what we did. We had a Galileo which we setup as a Wi-Fi hot spot. People could connect to the Galileo with their phone, and then when they went to a web address like http://DOG, it would take them to our Web Page that was hosted on the Galileo.
Our Galileo was not connected to the internet, but it could have been (using the Ethernet port), and we could have easily have routed normal web traffic to the Internet connection.
The key to setting up the Wi-Fi hot spot are in the srv_card directory.
In the home/root directory
- busybox_custom (which has the executable you need)
- startAP This has the commands that start your WiFi hotspot
In the \etc\ directory:
- dnsd.conf - a map of internet addresses and the IP where you want them to go.
In the etc\hostapd\
- hostapd.conf - the SSID for the hotspot.