# How Do I Install? Prebuilt Image for WebControl.. Sort of

**URL:** <https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665>\
**Category:** How do I ... ?\
**Created:** [March 16, 2020, 4:17pm UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665 "2020-03-16T16:17:27Z")\
**Posts on this page:** 19\
**Page:** 2

<div class="post-metadata">

**Author:** ![madgrizzle](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/madgrizzle/32/1372_2.png) [@madgrizzle](https://forums.maslowcnc.com/u/madgrizzle)\
**Post date:** [March 21, 2020, 12:25am UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/21 "2020-03-21T00:25:26Z")

</div>

Interesting… it might all be able to be incorporated into webcontrol. The upgrade process calls os commands so it’s possible to do it that way.

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [March 21, 2020, 12:30am UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/22 "2020-03-21T00:30:37Z")

</div>

the original docker based version had webcontrol on a different port than a MCP  
program (that could start/stop webcontrol)

I see no reason why the network setup can’t be completely stand-alone on a  
different port. There isn’t going to be any firewall between the browser and the  
pi 🙂

David Lang

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [March 21, 2020, 4:27am UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/23 "2020-03-21T04:27:13Z")

</div>

this would probably work once the commands are working to set it up.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/3X/f/6/f69201466ede03acaae3df76f8f5ccb8b2a4b0fb.png)

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [March 21, 2020, 5:31am UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/24 "2020-03-21T05:31:02Z")

</div>

I would expect that 99% of the time, you will get a dhcp address.

I run the Scale conference network in Southern California where we deploy over a  
hundred APs for the show, and one thing that I do is to have a script that pings  
my gateway every minute, and if it can’t do that, it decides that there is a  
problem (in my case, I have it turn of the wifi so that it’s not a black hole,  
but for the maslow we would want to have it activate the AP mode)

Also, there need to be four modes

1. wired
2. wifi with encryption
3. wifi without encryption
4. AP mode

Not everyone is running encryption, and we should not force the issue.

I can already hear people screaming about the third option. My day job is  
Computer Security, unencrypted wifi is only a security risk if you are running  
unencrypted protocols over it.

SSH is encrypted, HTTPS is encrypted.

HTTP is not, but you have to ask what the real risk is here. Especially since  
the AP mode is going to have a default password

bridging the wired and wifi is a good option to have, but that gets into  
advanced configurations

David Lang

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [March 21, 2020, 1:54pm UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/25 "2020-03-21T13:54:26Z")

</div>

fyi, the more I try to do with this the more I respect @madgrizzle 's mad coding skills. seriously. I’m struggling to get a pop up dialog to show anything useful let alone code it syntactically correct to do something in a different language. html -\> JS -\> python -\> system OS network manipulation for kernel service modification. I don’t know I can say thank you enough times for the time and skill given to all of us for webcontrol which is seriously a cool piece of software.

---

<div class="post-metadata">

**Author:** ![madgrizzle](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/madgrizzle/32/1372_2.png) [@madgrizzle](https://forums.maslowcnc.com/u/madgrizzle)\
**Post date:** [March 21, 2020, 3:15pm UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/26 "2020-03-21T15:15:41Z")

</div>

It’s getting a whole lot better with @tinker’s help. He actually knows what he’s doing and cleaning up a lot of my slop.

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [March 21, 2020, 3:17pm UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/27 "2020-03-21T15:17:44Z")

</div>

There is a place for brute force “make it work” and for streamlining and optimization. Thanks to you both!

---

<div class="post-metadata">

**Author:** ![Alric\_O\_Connor](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/alric_o_connor/32/12167_2.png) [@Alric\_O\_Connor](https://forums.maslowcnc.com/u/Alric_O_Connor)\
**Post date:** [March 21, 2020, 4:21pm UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/28 "2020-03-21T16:21:45Z")

</div>

Update. Finally got things working. I had to go wired because the wireless settings didn’t seem to be taking. Once the RPI was up and running, I entered the log in info and no problem.  
It took a bit to figure out how to stay connected to the WiFi in the house. Found a TPLink device I got to share wireless at hotels and such. Set it up as a range extender and just plugged in into the RPi. Just checked from my living room and connection to web control is solid.I did a couple of restarts to be be sure.  
Thanks for the work on this.  
Now to find time to do some cutting

---

<div class="post-metadata">

**Author:** ![Arnd](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/arnd/32/15571_2.png) [@Arnd](https://forums.maslowcnc.com/u/Arnd)\
**Post date:** [May 10, 2020, 3:26am UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/29 "2020-05-10T03:26:46Z")

</div>

Hi,

i did just made a fresh install using the latest raspbian desktop and “webcontrol-0.9331-rpi-singledirectory.tar.gz” on a Rasperry PI 4.

The image is still pristine without any additions except whats neccessay for Webcontrol plus Firefox-Esr and “XDRP” for remote desktop connections. Region is set, language english. You might need to reconfigure region, language and keyboard.

If anyone is interested i can make a compressed copy (currently 16GB filesystem). I can also reduce the filesystem to 8GB if someone needs it. People using bigger SD cards needs to manually expand the file system or add a second one.

Anyone wants a copy i can put it online.

cheers…

---

<div class="post-metadata">

**Author:** ![Metalmaslow](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@Metalmaslow](https://forums.maslowcnc.com/u/Metalmaslow)\
**Post date:** [May 10, 2020, 12:03pm UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/30 "2020-05-10T12:03:37Z")

</div>

Yes this is a great idea interested! Please give link

---

<div class="post-metadata">

**Author:** ![emilecantin](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/emilecantin/32/16834_2.png) [@emilecantin](https://forums.maslowcnc.com/u/emilecantin)\
**Post date:** [May 18, 2020, 7:45pm UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/31 "2020-05-18T19:45:28Z")

</div>

This seems like it’s an often-requested feature, and I agree that it makes things a lot easier to just have an image. So, I went ahead and looked at how Octoprint does it, turns out it’s not too complicated.

I’ve published the build scripts here: [https://github.com/WebControlCNC/webcontrol-pi](https://github.com/WebControlCNC/webcontrol-pi)

A test release is available here: [https://github.com/WebControlCNC/webcontrol-pi/releases](https://github.com/WebControlCNC/webcontrol-pi/releases)

I still need to polish a few things, because right now it only builds a specific WebControl release.

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [May 18, 2020, 11:43pm UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/32 "2020-05-18T23:43:32Z")

</div>

so are we going back to docker instead of pyinstaller?

---

<div class="post-metadata">

**Author:** ![emilecantin](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/emilecantin/32/16834_2.png) [@emilecantin](https://forums.maslowcnc.com/u/emilecantin)\
**Post date:** [May 19, 2020, 12:04am UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/33 "2020-05-19T00:04:33Z")

</div>

It’s only using Docker to build the image. Basically it does exactly what’s in the README [here](https://github.com/WebControlCNC/WebControl#getting-started-for-raspberry-pi-recommended-pyinstaller-release-instructions).

The only additional step is to add the systemd unit file (copied straight from a little lower down in the README) and activate it.

I used Docker because I’m on a Mac, and I didn’t want to install the gazillion dependencies needed to make this work. It should work natively on Linux, but even then it should be easier with Docker.

The Raspberry Pi itself doesn’t run Docker when all is said and done.

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [May 19, 2020, 12:07am UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/34 "2020-05-19T00:07:10Z")

</div>

so docker is just used as a vehicle to build the image?

---

<div class="post-metadata">

**Author:** ![emilecantin](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/emilecantin/32/16834_2.png) [@emilecantin](https://forums.maslowcnc.com/u/emilecantin)\
**Post date:** [May 19, 2020, 12:11am UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/35 "2020-05-19T00:11:06Z")

</div>

Exactly.

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [May 19, 2020, 12:12am UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/36 "2020-05-19T00:12:31Z")

</div>

no, this should be just an image that already has the pyinstaller package  
installed.

David Lang

---

<div class="post-metadata">

**Author:** ![Mathew\_Mulholland](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/mathew_mulholland/32/14497_2.png) [@Mathew\_Mulholland](https://forums.maslowcnc.com/u/Mathew_Mulholland)\
**Post date:** [October 1, 2020, 1:35am UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/37 "2020-10-01T01:35:50Z")

</div>

If this is still available, can you send me a link for a 16gb?

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [October 1, 2020, 2:12am UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/38 "2020-10-01T02:12:20Z")

</div>

like [this one](https://github.com/WebControlCNC/webcontrol-pi)?

---

<div class="post-metadata">

**Author:** ![Mathew\_Mulholland](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/mathew_mulholland/32/14497_2.png) [@Mathew\_Mulholland](https://forums.maslowcnc.com/u/Mathew_Mulholland)\
**Post date:** [October 2, 2020, 10:43pm UTC](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665/39 "2020-10-02T22:43:15Z")

</div>

YES! Thank you!

[Previous page](https://forums.maslowcnc.com/t/how-do-i-install-prebuilt-image-for-webcontrol-sort-of/12665.md?page=1)
