I'm trying to get DNS resolution without success.
I'm doing an ifconfig in the following way:
>>>wlan.ifconfig(config = ('192.168.2.1', '255.255.255.0', '192.168.2.2', '192.168.1.1'))
but after this command, DNS server address seems still not set and address resolution fails:
>>> wlan.ifconfig()
('192.168.2.1', '255.255.255.0', '192.168.2.2', '0.0.0.0')
The other elements of the config may be changed, though.
I built "mcuimg.bin" from the latest sources from git and even changed the hardcoded values
(SlNetCfgIpV4Args_t ipV4 in "cc3200/mods/modwlan.c") for IP, mask, gateway and DNS but the DNS value returned by wlan.ifconfig() is still 0.0.0.0.
All the rest is unchanged from defaults, so the Wipy is in AP mode, maybe this has something to do with the DNS failure? But the routing via the 192.168.2.2 node works and I can connect to server in the internet. Only DNS fails.
Has anybody an idea (or better knows the reason)?
Best regards
llo