OpenWRT http endpoint to upload files to etc/config/xxx
$10-30 USD
In Progress
Posted almost 5 years ago
$10-30 USD
Paid on delivery
We're building a networking product on OpenWRT and need a way to upload (via HTTP POST) config files into etc/config/product-name from a browser. Ideally this should be done as simply as possible without any non-native dependencies (i.e. using CGI, uttpd etc.). LuCI is considered borderline and would be an acceptable dependency if other options were not feasible.
Hello!
Your task can be accomplished and with POSIX shell script. But in my opinion this is not necessary.
I suggest using Lua with uhttpd or rpcd. An important question is how authentication will be implemented. It can be done with ubus sessions or with using a custom solution.
If you have any questions (implementation, stack, price and term) please contact me.
Thank you for attention!