0

We have a Raspberry PI (with raspbian OS) that runs some application, this application uses a local configuration file that contains some data like username, password, server url etc. We will provide raspberry pis (with the software installed) to users, they will have to connect them to their local network. We want to provide a way for users to change the configuration file. The solution so far is to create a local configuration web page (similar to the ones routers usually have), so the users can access this web page from their LAN and change all necessary configuration data.

What will be good solutions to do that? So far I have an idea to run a local web server on the Raspberry PI, that will run some front end web page with the UI, it will be communicating to a local back end application (Node.js as an option) that in turn will be modifying a configuration file. Are there any caveats for this solution? Are there any better/easier solutions to achieve that? Also I would like to know how this is usually done on routers?

Rick
1031 gold badge2 silver badges5 bronze badges
asked Jul 26, 2018 at 15:09
4
  • Have you tried it? Commented Jul 26, 2018 at 16:46
  • 1
    Questions like this are difficult to answer authoritatively, because you haven't stated your specific criteria. Do you want the smallest memory footprint? Most secure? Easiest to install? I suggest you do a bit of research; this looks like a good starting point: google.com/search?q=web+server+on+raspbian Commented Jul 26, 2018 at 18:28
  • @RobertHarvey, maybe you didn't get my question right. I'm not interested on how to create a website on raspberry pi (what languages, and web server to use, etc.), I can figure it out on my own, but rather what is a general approach for doing that on routers and can I mimic it on raspberry pi? So if a general approach is indeed to have a local back-end api that communicates to a local front-end web page, and all of that runs on a local web server, that's all I want to know. But maybe there some other architectural approaches that I'm missing? Commented Jul 27, 2018 at 7:01
  • 1
    The way you create a web page on a router is no different than the way you create one anywhere else. The specific approach you take will be based on your specific requirements and your hardware constraints, just as it would be anywhere else. Commented Jul 27, 2018 at 20:21

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.