What I want should be quite simple, yet I am unable to get the thing (Omega 2) working to my satisfaction.
I understand that OpenWRT is meant to be a router distribution, but I want to use the Omega2 in an IoT setting. So:
- I do not want dnsmasq in the way.
- I do not want a fancy firewall, best left to a router
- I want just 3 straightforward network interfaces
- loopback (no problem here)
- wifi connecting as a client to my SSID using the required password
and configured via dhcp (including dns, ntp, routes and whatever
option is set by the dhcp server
- ethernet in a config similar to that of wifi
The wifi and ethernet should use SLAAC for IPv6 configuration.
This really should be a easy thing, and I have done it countless times on Linux boxes, yet I have not succeeded so far on the Omega 2. I've tried modifying the files in /etc/config, I looked at board.js (Why define the proto there???) ... but to no avail. I did not understand where apcli0 was defined even when there was no mention of that interface in the config files. I also got it to not appear when it was defined.
In a word, I am stymied! Help please.