I have a couple of things that I would like to do via the web interface. Since the stock MBWE2 can use perl, I was hoping that I could find someone who could assist me. Basically what I want to do is create a very generic looking page that I can go to (with or without a password - doesn't really matter to me) that will allow me to issue some commands to the MBWE2.
My thought is a basic page that has a couple links. The first would issue the "poweroff" command to the MBWE2, so I don't have to bother with logging in via SSH to do so. I want this because the box is on a UPS, but if the power is off for an extended time, I'd like to be able to shut it down properly instead of the UPS dying and making it shut down unclean. For whatever reason, the button on the front of my MBWE2 doesn't work, so I think that this would be the best solution. Also, I'd like to have another link that will run "smbstatus -b" and see what it's output is on the page. There are probably other things I could do at a later time, but those are the two most common things I do via SSH that would be nice to just do via a webpage.
Can anyone help?