What's new

Entware-ng for arm, mipsel ....

  • 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've had a look at my launch scripts and config files after upgrading and nothing seems to be overwritten *phew*, but its something i never considered before i blindly hit the "shiny new stuff please" button.
How do you go about your backing up?....something to consider for the future.
 
I've had a look at my launch scripts and config files after upgrading and nothing seems to be overwritten *phew*, but its something i never considered before i blindly hit the "shiny new stuff please" button.
How do you go about your backing up?....something to consider for the future.

Just a primitive script using tar and rsync but serve my purpose well enough.
 
Lighttpd does not start after upgrade to entware-ng.

Upgraded to entware-ng and lighttpd (as a part of rtorrent-easy-install) does not start. After playing a lot without success I performed the following steps:

1. Upgraded Merlin FW from 378.52 to 380.64
2. Did factory reset and entered all configs using Merlin's Web GUI
3. Deleted entware folder
4. Did fresh installation of Entware-NG using the script embedded in Merlin's FW
5. Did fresh installation of Rtorrent by installing rtorrent-easy-install with default options
6. Rebooted the router

The result is the same - lighttpd does not start. Rtorrent starts sucessfully. Any attempts to start manually lighttpd using S80lighttpd script failed. The script says that the daemon has been started, but when checking with htop it does not exist as a process. Attempt to stop it using S80lighttpd script returns "dead". All other Entware-NG packages I've installed work fine.

I did some googling of this problem and found many complains in different forums about the same issue. Some people said that the reason is bad lighttpd.conf file, but not final solution found yet. I will appreciate any suggestions, especially from @ryzhov_al and @zyxmon. Please note, that my installation of rtorrent/rutorrent/lighttpd is absolutely fresh with default settings and has been done by rtorrent-easy-install.

I will appreciate also a comments about this post http://www.snbforums.com/threads/tu...ters-through-entware.17170/page-3#post-240426 where seems to be the same problem is commented.

Happy New Year guys!
 
Hello, how do I put lighttpd in? Previously I worked on asus rtn-66u and after installing everything on asus rt-ac68 install the module with:
Opkg install lighttpd-mod-auth
And I modified the file lighttpd.conf with:

server.modules += ( "mod_auth" )
auth.backend = "plain"
auth.backend.plain.userfile = "/opt/etc/lighttpd/passwd"
auth.require = (
"" =>
( "method" => "basic",
"realm" => "restricted area",
"require" => "valid-user"
)
)

But it does not work, can anyone help me?

Thank you
 
I have it installed but the code will not be made to work,
If someone has an example can you send it? I in opttware link I put this code inside ligttpd.conf and it works but in entware does not work the code:

server.modules += ( "mod_auth" )
auth.backend = "plain"
auth.backend.plain.userfile = "/opt/etc/lighttpd/passwd"
auth.require = (
"" =>
( "method" => "basic",
"realm" => "restricted area",
"require" => "valid-user"
)
)


thanks zyxmon
 
I have it installed but the code will not be made to work,
If someone has an example can you send it? I in opttware link I put this code inside ligttpd.conf and it works but in entware does not work the code:

server.modules += ( "mod_auth" )
auth.backend = "plain"
auth.backend.plain.userfile = "/opt/etc/lighttpd/passwd"
auth.require = (
"" =>
( "method" => "basic",
"realm" => "restricted area",
"require" => "valid-user"
)
)


thanks zyxmon
I just installed lighttpd on fresh entware-ng arm, added your conf, created pass file, installed lighttpd-mod-auth and lighttpd-mod-authn_file, restarted lighttpd server and when accessing 192.168.1.1:81 is asking me for password
 
I just installed lighttpd on fresh entware-ng arm, added your conf, created pass file, installed lighttpd-mod-auth and lighttpd-mod-authn_file, restarted lighttpd server and when accessing 192.168.1.1:81 is asking me for password


I with this configuration does not work

***************************
I expose my files and install:
***************************
install:
opkg install lighttpd-mod-auth
opkg install lighttpd-mod-authn_file

**********************
my file liggttpd.conf:
**********************
server.modules = (
)

server.document-root = "/opt/share/www"
server.upload-dirs = ( "/opt/tmp" )
server.errorlog = "/opt/var/log/lighttpd/error.log"
server.pid-file = "/opt/var/run/lighttpd.pid"
#server.username = "http"
#server.groupname = "www-data"

index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm",
"index.lighttpd.html" )

static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

### Options that are useful but not always necessary:
#server.chroot = "/"
server.port = 81
#server.bind = "localhost"
#server.tag = "lighttpd"
#server.errorlog-use-syslog = "enable"
#server.network-backend = "write"

### Use IPv6 if available
#include_shell "/opt/share/lighttpd/use-ipv6.pl"

#dir-listing.encoding = "utf-8"
#server.dir-listing = "enable"

include "/opt/etc/lighttpd/mime.conf"
include_shell "cat /opt/etc/lighttpd/conf.d/*.conf"

server.modules += ( "mod_auth" )
auth.backend = "plain"
auth.backend.plain.userfile = "/opt/etc/lighttpd/passwd"
auth.require = (
"" =>
( "method" => "basic",
"realm" => "restricted area",
"require" => "valid-user"
)
)




********************************************
my file 20-authn_file.conf in the folder conf.d
********************************************

server.modules += ( "mod_authn_file" )

********************************************
my file 20-auth.conf in the folder conf.d
********************************************
#######################################################################
##
## Authentication Module
## -----------------------
##
## See http://redmine.lighttpd.net/projects/lighttpd/wiki/docs_modauth
## for more info.
##
#
#auth.backend = "plain"
#auth.backend.plain.userfile = "/etc/lighttpd/lighttpd.user"
#auth.backend.plain.groupfile = "/etc/lighttpd/lighttpd.group"

#auth.backend.ldap.hostname = "localhost"
#auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
#auth.backend.ldap.filter = "(uid=$)"
#auth.require = ( "" =>
# (
# "method" => "basic",
# "realm" => "restricted area",
# "require" => "valid-user"
# ),
# )
#
##
#######################################################################
 
I with this configuration does not work

***************************
I expose my files and install:
***************************
install:
opkg install lighttpd-mod-auth
opkg install lighttpd-mod-authn_file

**********************
my file liggttpd.conf:
**********************
server.modules = (
)

server.document-root = "/opt/share/www"
server.upload-dirs = ( "/opt/tmp" )
server.errorlog = "/opt/var/log/lighttpd/error.log"
server.pid-file = "/opt/var/run/lighttpd.pid"
#server.username = "http"
#server.groupname = "www-data"

index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm",
"index.lighttpd.html" )

static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

### Options that are useful but not always necessary:
#server.chroot = "/"
server.port = 81
#server.bind = "localhost"
#server.tag = "lighttpd"
#server.errorlog-use-syslog = "enable"
#server.network-backend = "write"

### Use IPv6 if available
#include_shell "/opt/share/lighttpd/use-ipv6.pl"

#dir-listing.encoding = "utf-8"
#server.dir-listing = "enable"

include "/opt/etc/lighttpd/mime.conf"
include_shell "cat /opt/etc/lighttpd/conf.d/*.conf"

server.modules += ( "mod_auth" )
auth.backend = "plain"
auth.backend.plain.userfile = "/opt/etc/lighttpd/passwd"
auth.require = (
"" =>
( "method" => "basic",
"realm" => "restricted area",
"require" => "valid-user"
)
)




********************************************
my file 20-authn_file.conf in the folder conf.d
********************************************

server.modules += ( "mod_authn_file" )

********************************************
my file 20-auth.conf in the folder conf.d
********************************************
#######################################################################
##
## Authentication Module
## -----------------------
##
## See http://redmine.lighttpd.net/projects/lighttpd/wiki/docs_modauth
## for more info.
##
#
#auth.backend = "plain"
#auth.backend.plain.userfile = "/etc/lighttpd/lighttpd.user"
#auth.backend.plain.groupfile = "/etc/lighttpd/lighttpd.group"

#auth.backend.ldap.hostname = "localhost"
#auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
#auth.backend.ldap.filter = "(uid=$)"
#auth.require = ( "" =>
# (
# "method" => "basic",
# "realm" => "restricted area",
# "require" => "valid-user"
# ),
# )
#
##
#######################################################################
Which router? Try with fresh entware installation
 
Like I suggested here install lighttpd-mod-authn_file and restart server
Install entware
Code:
opkg install rtorrent-easy-install
opkg install lighttpd-mod-authn_file
services restart

Thank you @TeHashX ! Everything is working now. I'm sorry but you have tagged another member in your post here, so I didn't understood that this is related to my question.
 
Thank you @TeHashX ! Everything is working now. I'm sorry but you have tagged another member in your post here, so I didn't understood that this is related to my question.
Yes, @zyxmon is one of entware maintainer. After latest update, lighttpd-mod-auth require lighttpd-mod-authn_file which is not automatically installed and zyxmon should add it as a dependency :)
 
I have 2 routers and in both the same problem
rt n66u and ac68u
Installed several times entware-ng
The code that I put is the same one that works for you?
Of course it's working, like I explain in post 71.
Can I assist you, install team viewer and send me id and temp password using contact form
 
Of course it's working, like I explain in post 71.
Can I assist you, install team viewer and send me id and temp password using contact form


hi, TeHash
Thanks for everything, updating version 380.64 to 380.64_1 of merlin and reinstalling everything again I went back to work, I do not understand why but now everything works correctly again.
Thank you thank you very much
 
Entware is syncronized with openwrt and lede:
(1) trunk is syncronized with lede (because lede & openwrt are merging back together
- http://lists.infradead.org/pipermail/lede-dev/2016-December/004786.html )
(2) packages are synced with openwrt.

There are heavy changes in buildroot that can produce some bugs.

GO packages are now built with go (no gccgo) because go 1.8 supports mipsel/mips. For arm based routers that have no floating point cpu support please use packages with _nohf suffix. For example: `opkg install syncthing_nohf` or 'opkg install rclone_nohf`. GO code is slightly patched for embedded systems.
 

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