WebControl RaspberryPi Install from Image file

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
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