And add some comments. Station's will get IPs in NAT
mode, but I cannot pass traffic. So, either config is
broken, or there are owrt + ucentral issues still.
Signed-off-by: Ben Greear <greearb@candelatech.com>
This option parses the latest-image.json link on the jfrog repo
and then parses it to generate an upgrade URL to pass to ucentral.
Signed-off-by: Ben Greear <greearb@candelatech.com>
This appears to set up VLANs in bridge mode, but not fully tested
end to end.
To do really interesting configs, we will need more extensive input
and interface-section-creation logic.
Signed-off-by: Ben Greear <greearb@candelatech.com>
With current ucentral, we must specify the radio mode,
so default that to 'HE' intead of leaving it empty.
Update examples in the help text at the top of the file.
Signed-off-by: Ben Greear <greearb@candelatech.com>
And default to match ucentral gw default settings.
And don't try to load a cert unless user specifies such.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Latest ucentral uses properly formed json instead of
text blobs it seems, update ulogin to handle that.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Support querying specific devices.
Add configure logic (doesn't work yet).
Cmd-line args to be more flexible.
Check response codes and warn as needed.
Signed-off-by: Ben Greear <greearb@candelatech.com>