I would like to develop custom UI Web Interface for use on MT-300N-V2,
to ease the development process I installed openwrt 18.06 on VirtualBox
using x86_64 image from openwrt.org, and succeeded.
What I did were:
I compare from the MT-300N-V2, Installed the missing package are:
lighttpd,
lighttpd-mod-access,
lighttpd-mod-cgi,
lighttpd-mod-expire,
lighttpd-mod-fastcgi,
lighttpd-mod-proxy,
luci-mod-rpc,
uhttpd-mod-bus,
zlib,
libubus-lua
copy all files and folder in /etc/lighttpd, /www from mt-300n-v2 version 3.102 to my virtualbox, with the same permission, and flag
Disable uhttpd from init.d
Enable lighttpd
My questions are
Where can I get lighttpd-mod-openssl package? Can you provide the link?
How to make /www/api (fastcgi application) run on VirtualBox? what setup I missed?
My lighttpd was started without any error, but when the the Web Interface (index_vue.html) invoke the api, always got error (internal server 500), where do you put the api log file, so I can trace the error message?
Do you intend to open the api source code ? cause although I want to customize the web interface, I still need the api to run.
It is used to build custom image for our router. All these things should just run. You just need to include your own packages and customize your scripts.
Thanks you for your answer, I didn’t notice that the api is a binary compiled for MIPS, then I will try to emulate using qemu, like this one GitHub - cfsghost/makerboard: Utility and emulator for development boards, so our team can collaborate for the development, without having a real device for each developers.
It would be nice, if GLInet can provide qemu image for every of your device variants cause we have plan to make our app runs on your device.