Page 1 of 1

Toon Webaccess

Posted: Thu Jul 22, 2021 11:32 am
by Arnout2000
Is there a way to disable webaccess to require a username/pwd?
I only access Toon when on my home network or via VPN server when I am away.

Re: Toon Webaccess

Posted: Thu Jul 22, 2021 1:02 pm
by Toonz
you can disable this in the file /HCBv2/etc/lighttpd/lighttpd.conf
But that file will be overwritten if we publish a new version or if you do 'fix stuff' via update-rooted.

Why is it a problem? You can simple add the username password to the url to toon: http://name:password@ipadresstoon/mobile

Re: Toon Webaccess

Posted: Fri Jul 23, 2021 10:49 pm
by Arnout2000
Thanks. That would also be a good solution. Will try tomorrow.

Re: Toon Webaccess

Posted: Sat Jul 24, 2021 11:38 am
by Arnout2000
Tried this, but It doesn’t work. Despite entering the right username and password in the URL it keeps asking me to enter the credentials.
Can anyone confirm this should work?

Re: Toon Webaccess

Posted: Sat Jul 24, 2021 3:23 pm
by Ron_nl
This never worked for me either.

I modified the file /HCBv2/etc/lighttpd/lighttpd.conf
Find these lines (see below) and add the "# ", safe it and restart your Toon
#auth.require = ( "/mobile" =>
#
# ("method" => "basic",
# "realm" => "Enter password",
# "require" => "valid-user"
# )
# )
The only thing is, the file will be overwritten with a newer version after an update like mentioned before.

Ron.