Page 1 of 1

Setting a password for stereopi.local

Posted: Mon Feb 03, 2020 11:48 am
by hugohadfield
Hi everyone,

I have a project with a stereopi hooked up to a LAN network in my open plan office, all working great :). The only problem is that our network administrators require me to set a password on stereopi.local to keep it connected to the network.. Any ideas on easy ways to achieve this?

Thanks,
Hugo

Re: Setting a password for stereopi.local

Posted: Mon Feb 03, 2020 12:58 pm
by Realizator
hugohadfield wrote:
Mon Feb 03, 2020 11:48 am
Hi everyone,

I have a project with a stereopi hooked up to a LAN network in my open plan office, all working great :). The only problem is that our network administrators require me to set a password on stereopi.local to keep it connected to the network.. Any ideas on easy ways to achieve this?

Thanks,
Hugo
Well, actually stereopi.local do the same thing like accessing it by IP address. On the StereoPi side web-server is responsible for all other steps. You can find all server code here: /var/www/
So using PHP you can add simple authorization mechanism the way you like.

Re: Setting a password for stereopi.local

Posted: Mon Feb 03, 2020 9:09 pm
by hugohadfield
Thanks, I'll dig into the web server and see if I can come up with something :)