Hi,
I have a couple of questions all regarding the same topic.
I'm currently using the stock ccimx6ulsbc image. I followed the instructions to set up softAP mode on wlan0 from here:
https://www.digi.com/resources/documentation/digidocs/90001945-13/default.htm#reference/yocto/r_network_bridging.htm%3FTocPath%3DDigi%2520Embedded%2520Yocto%7CSystem%2520
I can see the access point and connect to it on my computer. I then configured wlan0 in /etc/network/interfaces to have a static IP:
auto wlan0
iface wlan0 inet static
address 192.168.46.35
netmask 255.255.255.0
post-up /etc/init.d/hostapd start
pre-down /etc/init.d/hostapd stop
then I did 'ifconfig wlan0 down' and 'ifup wlan0' to get the interface back up with its new static IP.
Now I'm pretty sure the stock image runs an httpd server -- when I connect to my board via ethernet, if I type the ethernet interfaces IP into my computers browser I get to a page which displays the text "It Works!" However, when I try the same thing with the IP address on wlan0, I get a timeout. Whats the deal here? I'm assuming there is something basic here i'm misunderstanding.
My ultimate goal is to host a webpage that will be displaying live data which can be accesses from any other browser enabled wireless device.
A few other questions:
Which physical antennas correspond to which wlan interfaces? There is wlan0 and wlan1 and there is the antenna on the actual CCi.MX6UL module and there's one on the sbc board via the ANT EXT pin. Which is which? I couldn't find documentation on it, and its probably in the DEY configurations somewhere but I don't know where to look for these kinds of things.
Also I'm using the stock image because for some reason, I couldn't get a proper image to build. I built an image with the following inside of my local.conf file:
#
#Debugging
#
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
EXTRA_IMAGE_FEATURES += "tools-debug"
EXTRA_IMAGE_FEATURES += "eclipse-debug"
EXTRA_IMAGE_FEATURES += "dey-network"
EXTRA_IMAGE_FEATURES += "dey-wireless"
#EXTRA_IMAGE_FEATURES += "dey-examples"
#
#Web hosting services
#
CORE_IMAGE_EXTRA_INSTALL += "apache2"
CORE_IMAGE_EXTRA_INSTALL += "php"
CORE_IMAGE_EXTRA_INSTALL += "sqlite3"
I built using bitbake core-image-base. For whatever reason, my resulting image did not have wlan0 or wlan1 as an interface when running on the sbc board -- only eth0. Any advice here?
Thank you!
-AES_Dev