What's new

Http Server on Stock Asus Firmware /Lighttpd

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Zippo87

New Around Here
Hello hive minds,
I need to serve some jpeg files via http server and would like to use the Asus router if possible. Files will be stored on a USB drive on the router. I did some digging and it looks like there is lighttpd preinstalled on the stock firmware. Do you know if it is possible to do it with the stock firmware? I don't mind if I have to restart the server after reboot as I can execute it via ssh and automated script. All files can reside on USB as well. I know a thing or two about Linux but I would consider myself newbie.1. TIA.
 
You shouldn't reuse that lighttpd instance, it's heavily modified specifically for use with AiCloud. It's best to install a separate web server (nginx or lighttpd) through Entware and use that instead.
 
You shouldn't reuse that lighttpd instance, it's heavily modified specifically for use with AiCloud. It's best to install a separate web server (nginx or lighttpd) through Entware and use that instead.
Thanks for your reply. I am having trouble installing Entware (again,stock firmware). Followed this, short version, but the Entware install complains that it is unable to access /opt (see attached output). I can ls and see /opt, but I can't CD to it. Trying to keep the stock firmware because of the TrendMicro protection.
 

Attachments

  • Entware install output.pdf
    18 KB · Views: 187
Thanks for your reply. I am having trouble installing Entware (again,stock firmware). Followed this, short version, but the Entware install complains that it is unable to access /opt (see attached output). I can ls and see /opt, but I can't CD to it. Trying to keep the stock firmware because of the TrendMicro protection.
AFAIK you can't install Entware on stock firmware. Merlin's firmware includes TrendMicro.

What router model are you talking about?
 
Last edited:
AFAIK you can't install Entware on stock firmware. Merlin's firmware includes TrendMicro.

What router model are you talking about?
AC68

I must've looked at a different fork about the TrendMicro omission. Do I loose any of the stock features with Merlin's?
Yes, you can install Entware on stock Asus. See: https://github.com/Entware/Entware-ng/wiki
Would recommend not using the USB3 port or if you must change it to USB2 operation.
Well, I followed this guide and no luck. Can't cd to /opt, can't mkdir, Entware doesn't install. I did use USB2 port formatted as Ext4.
 

Attachments

  • Entware install output.pdf
    18 KB · Views: 174

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top