Currently working on an OpenEmbedded/Yocto board, and I'm running into an issue with Wifi.
Inside of interfaces, if I set a static IP, and assign it my network, gateway, netmask, and dns, it works when connecting to a specific wireless access point with wlan0.
However, if I set wlan0 to inet dhcp, instead of inet static, then it can connect to the access point, ping other things on the network, but it cannot get out to the internet. I have tried many things to get it to work, but to no avail.
I have played with wpa_supplicant, and interfaces, as well as udhcpc in order to try and get this to work, but nothing is working.
Does anyone have any ideas?
Edit 1: Took a look at route -n with both dhcp and static. The only difference is that with dhcp, Metric is set to 10 on the dhcp attempt, and 0 on the static.