Ok… It runs in a script outside of webcontrol so it makes it hard to provide feedback… it’s not impossible, but it’s a bit of work figuring it out.
Just checked and another update is available. Couldn’t get the update page to work on my phone, so fired up my laptop, and had to click a couple of times on update till the page came up (my wifi router is ten years old, so it does have issues sometimes) .Selected update, and it downloaded, and did it’s thing. Had to refresh the web page to get rid of the notification. Shows Version v0.919 under help->about
9.19 is the latest. Let me know if it pops up again, please.
Is this still working for you, @kayaker37? If so, I want to add this to the instructions.
WebControl is still running on the Raspberry Pi, but it is not attached to Maslow yet, that should be this weekend, if the garage is warm enough.
It looks like your method ran webcontrol under the root user, so that put the .WebControl directory in root’s home directory. It’s not the end of the world or anything, but I like it under pi since its readily accessible, so I created a systemd service file. I updated the readme.md file on the repo if anyone can test it out.
I reinstalled everything from scratch again to try the systemd service. Upon restarting the raspberry, WebControl does start up, but when plugged into a monitor it eventually goes to a login prompt, so I don’t see WebControl messages.
Prior, when trying to update from my phone, it would show “releases_mobile.html”, but not actually do anything. Updating from my laptop it would show the percentage downloaded, and I could see it progressing. When done, reload the web page, and see that it upgraded properly.
Is there any way to display messages as before, or login in a particular manner?
edit: it doesn’t seem to be able to update from the laptop anymore.
Try one of the options listed on this page and let us know if any works.
Good evening everybody!
I successfully cut my first cuts with the web control on the raspberry! Very nice to control everything from the iPad!!
One thing I was wondering is, that I imported the config.ini but the z-axis switch I had to turn on manually!
But maybe it’s normal.
Another question.
With ”upload” I manage to create folders and upload files but how can I manage the files? Like moving deleting etc. ? Is there a way to have access to sth. like a folder view in which I am able to cut/copy/delete?
Best
-Kompass
One thing I was wondering is, that I imported the config.ini but the z-axis switch I had to turn on manually!
That’s a known problem, I just filed an issue to note it so it can be fixed.
With ”upload” I manage to create folders and upload files but how can I manage the files? Like moving deleting etc. ? Is there a way to have access to sth. like a folder view in which I am able to cut/copy/delete?
there isn’t a way to do this through the web interface.
there are two ways to do this.
-
ssh to the pi and manipulate things there
-
export the filesystem as a windows share and access it that way
(I don’t know IOS well enough to know if this helps you with your ipad or not,
tools to do this on android or any desktop OS are readily available)
David Lang
Actually if you are running this on a raspberry pi, you should install SAMBA (file sharing) and then you can open the raspberry pi folder on your other machine and drag/drop files, add/remove folders. this isn’t through the web browser, this would be through the file explorer application you use. From Windows you access it by typing “\\” then the maslow raspberry pi IP address in the explorer window.
$ sudo apt-get install samba samba-common-bin
$ sudo nano /etc/samba/smb.conf
create mask = 0776
directory mask = 0776
[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
You may need to change the permission in the folder you want to use so you can add/modify files from network access.
$ chmod 776 [folder name]
Thanks!
I will try to make this work the Next days!!
My WiFI did not reach the garage, so I set up the Raspberry as an Access Point as well as running WebControl. Two webpages are available on phone, ipad, whatever, one for the access point, one for webcontrol.
To update, I will have to bring the boards back into the house and plug into a network jack. Here are my notes, in case anyone needs. Somewhat cryptic, mostly what I had to type in at the right spots. Just got this up, so NOT TESTED.
edit: After brief testing DO NOT RECOMMEND . Running with Fake Servo on (simulation mode) connection broke, and was never able to get it working again. I give in, will go but a wifi router for the garage, and use locally.
Follow:
Followed up to and including “Step 7. Login over Wifi”
Then follow: not recomended, broke connection and could not get working
This worked however, have tested about ten hours in simulation mode now (Fake Servo ON)
www.raspberrypi.org/documentation/configuration/wireless/access-point.md
The raspAP webpage has a system tab, where you can reboot, or shutdown the device, which is nice and shows CPU temperature.
However, when plugged into a network jack, in order to attempt to update webcontrol, I have to disable raspAP. When I reboot and update, it must download the new version as a local copy. Web control shows the new version under about, but when I enable raspAP and reboot, web control shows up as the old version.
Suppose I’ll have to breakdown and add a WiFi router to the back of Maslow. In the meantime, I’ll play a bit with this, but guess my understanding of Raspberries needs work.
Is it possible you are logging in as different users when you log in via Ethernet and wifi? If so, then the home directory would change and where the file is installed.
this would tell me tht you have two copies of WebControl on the system, where
are you downloading it to?
David Lang
I’m just hitting the update tab from within web control, so it’s automatic. Guessing the raspAP interferes somehow.
Redid everything but with 0.927 version of webcontrol. Click on update webcontrol crashes. So, since it’s not difficult to just reinstall manually:
In Putty:
rm -r webcontrol
mkdir webcontrol
cd webcontrol
wget https://github.com/madgrizzle/WebControl/releases/download/v0.929/webcontrol-0.929-rpi-singledirectory.tar.gz
tar -zxvf webcontrol-0.929-rpi-singledirectory.tar.gz
done. It was already set up to restart on a reboot, so nothing else to do.
If you are using raspAP, is your system on the internet? RaspAP keeps hanging on my system and won’t let me do anything. Also if you are running webcontrol as a service, you have to disable the service, start it, then run the upgrade, then reenable it.
I ended up deleting my initial wifi info under wifi client, otherwise it was flaky.
so they are competing for the wlan0 use?