# WebControl RaspberryPi Install from Image file

**URL:** <https://forums.maslowcnc.com/t/webcontrol-raspberrypi-install-from-image-file/11884>\
**Category:** Software\
**Created:** [December 14, 2019, 9:20pm UTC](https://forums.maslowcnc.com/t/webcontrol-raspberrypi-install-from-image-file/11884 "2019-12-14T21:20:34Z")\
**Posts on this page:** 1\
**Showing post:** 43

<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:** [January 18, 2020, 3:32pm UTC](https://forums.maslowcnc.com/t/webcontrol-raspberrypi-install-from-image-file/11884/43 "2020-01-18T15:32:39Z")

</div>

the github page is close, but the tar command doesn’t work as typed…

the directions say make the directory, then go into it and get the gz file

the tar file says to go back one directory to find the gz file and untar it, so I’d do this:

> cd ~  
> mkdir webcontrol  
> cd webcontrol  
> wget [https://github.com/madgrizzle/WebControl/releases/download/v0.920/webcontrol-0.920-rpi-singledirectory.tar.gz](https://github.com/madgrizzle/WebControl/releases/download/v0.920/webcontrol-0.920-rpi-singledirectory.tar.gz)  
> tar -zxvf webcontrol-0.920-rpi-singledirectory.tar.gz

and rather than make the service file and copy it, I’d make it in the correct location to start with:

> sudo nano /etc/systemd/system/webcontrol.service

one other optional add is to install samba, so if you are using windows, you can just drop them in the gcode folder on the rpi and open them in webcontrol rather than upload and then open, they are already there and you just open the one you want. My gcode generator now puts them there automatically. It dawned on me that I could do this with the git repository location instead of trying to keep two separate copies (one on my laptop and one on the rpi in sync).

> sudo apt-get install samba samba-common-bin  
> sudo nano /etc/samba/smb.conf  
> (set mask to 775 or 777 for items in there)

add these items into the file at the end

> [global]  
> netbios name = MaslowPi  
> server string = Maslow File Drop  
> workgroup = WORKGROUP  
> [MASLOW]  
> path = /home/pi/  
> comment = No comment  
> writeable=Yes  
> create mask=0777  
> directory mask=0777  
> public=yes  
> [GCODE]  
> path = /home/pi/.WebControl/gcode  
> comment = No comment  
> writeable=Yes  
> create mask=0777  
> directory mask=0777  
> public=yes

sudo smbpasswd -a pi  
sudo service smbd restart

---

_[View the full topic](https://forums.maslowcnc.com/t/webcontrol-raspberrypi-install-from-image-file/11884)._
