What's new

Entware-arm - synced with Entware (mips) 2015.09

  • 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!

I have just tested it. It works. You need to edit lighttpd.conf file and specify server.port and create index.html at server.document-root.

I appreciate the response. If possible could you walk me through this a little more? More specifically how I create the document. I appreciate you taking the time to help me!
 
Last edited:
1. lighttpd.conf file is located in the folder /opt/etc/lighttpd
Use you favorite text editor - nano, joe, vim to edit it.
2. There are a lot of html examples in the internet.
You can use the following index.html to check:
Code:
<html>
<head>
<title>Welcome to nginx!</title>
</head>
<body bgcolor="white" text="black">
<center><h1>Welcome to nginx!</h1></center>
</body>
</html>
 
1. lighttpd.conf file is located in the folder /opt/etc/lighttpd
Use you favorite text editor - nano, joe, vim to edit it.
2. There are a lot of html examples in the internet.
You can use the following index.html to check:
Code:
<html>
<head>
<title>Welcome to nginx!</title>
</head>
<body bgcolor="white" text="black">
<center><h1>Welcome to nginx!</h1></center>
</body>
</html>

I feel really stupid trying to get this going. Which conf file should i edit? I added #server.port=81 to the lighttpd.conf-opkg config file. Where would I add the html code to? Would i navigate to the /opt/share directory then nano into the "www" directory and input my code there?

I think my main problem is setting a default document.
 
Last edited:
This guide needs some editing. Now lighttpd modules are added automatically to lighttpd.conf
lighttpd will complain that
Code:
2015-02-14 08:28:53: (plugin.c.131) Cannot load plugin mod_scgi more than once, please fix your config (we may not accept such configs in future releases
2015-02-14 08:28:53: (plugin.c.131) Cannot load plugin mod_fastcgi more than once, please fix your config (we may not accept such configs in future releases
 
I have literally followed that guide a couple times now. I wonder if I just need to reinstall everything and start fresh?

When entering the command lighttpd -f /opt/etc/lighttpd/lighttpd.conf I get these two entries in return.

(configfile.c.1272) a default document-root has to be set

(server.c.649) setting default values failed
Don't have to reinstall
Code:
/opt/etc/init.d/S80lighttpd stop
rm /opt/etc/lighttpd/conf.d/*
wget -c -O /opt/etc/lighttpd/conf.d/99-rtorrent-fastcgi-scgi-auth.conf http://goo.gl/YK8xPQ
wget -c -O /opt/share/www/index.html http://goo.gl/ZPEv73
/opt/etc/init.d/S80lighttpd start

This guide needs some editing. Now lighttpd modules are added automatically to lighttpd.conf
lighttpd will complain that
Code:
2015-02-14 08:28:53: (plugin.c.131) Cannot load plugin mod_scgi more than once, please fix your config (we may not accept such configs in future releases
2015-02-14 08:28:53: (plugin.c.131) Cannot load plugin mod_fastcgi more than once, please fix your config (we may not accept such configs in future releases

Same on mipsel version but it works
 
I got it working with the link you posted. Thanks a ton!. One last question though, where is the html index that I need to edit which will change the look of 192.168.1.1:81?

If you look just a little bit, you will see where the index.html is :)
Code:
wget -c -O [B]/opt/share/www/index.html[/B] http://goo.gl/ZPEv73
 
If you look just a little bit, you will see where the index.html is :)
Code:
wget -c -O [B]/opt/share/www/index.html[/B] http://goo.gl/ZPEv73

I found it but everytime I modify the index.html I either get a broken webpage or it just doesn't seem to work since the default "congratulations" webpage will still pop up. It works fine when I modify the index.html in ubuntu but I cannot figure out how to get my own html code to stick. I appreciate you bearing with me. I would "thank" you again on here but it says I need to spread thanks around first haha
 
I found it but everytime I modify the index.html I either get a broken webpage or it just doesn't seem to work since the default "congratulations" webpage will still pop up. It works fine when I modify the index.html in ubuntu but I cannot figure out how to get my own html code to stick. I appreciate you bearing with me. I would "thank" you again on here but it says I need to spread thanks around first haha
You don't have to ask in this thread, here is for entware installation only.
Use comments on site.
Also search on internet how to create a webpage...
 
Last edited:
You don't have to ask in this thread, here is for entware installation only.
Use comments on site.
Also search on internet how to create a webpage...

Your not understanding me. I know how to create a simple webpage. I just cannot get my HTML code to actually work. You would think I didn't even paste my HTML code into it. I have no problem having lighttpd work using ubuntu. I think maybe I am editing the wrong index.HTML or something.

Either way I guess I'll just make a thread about it or something.
 
Wow!, I know I'm a little late but this is awesome news. I miss entware from my ac66! Optware just pales in comparison of what is available. I've had to compile some stuff for arm I used from entware in the past.

I'm not going to go through the hassle of changing over to entware just yet but I will bite the bullet and redo everything on the next FW update if everything for entware looks good.

I'm a little confused after reading through the pages.. are people having issues or not? Most who have mentioned issues also mention a swap partition and I'm not running a swap since it has never seemed necessary with the "minor" router hacking I've done. I forward most things other than DNScrypt and knockd over to my home server to handle.
 
Last edited:

Sign Up For SNBForums Daily Digest

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