can't install grblweb on pi.

148 views
Skip to first unread message

niki...@gmail.com

unread,
Apr 19, 2020, 11:57:50 AM4/19/20
to XYZBots Support for GRBLWeb and RepRapWeb
Hi.
i try to install the grblweb on my raspberry pi 3.
but when i type "npm install"  i get command not found npm.

pls advice



Installation

git clone https://github.com/andrewhodel/grblweb.git
cd grblweb
npm install

terry....@gmail.com

unread,
May 22, 2020, 3:33:33 PM5/22/20
to XYZBots Support for GRBLWeb and RepRapWeb
You need to install node.js first. I just did it on a PI4b this week, so it does work.

sudo apt install nodejs

Nick

unread,
Dec 28, 2020, 9:53:47 AM12/28/20
to XYZBots Support for GRBLWeb and RepRapWeb
Hey Terry, I'm having a heck of a time with this. I'm trying to install grblweb on a Pi3b but I am far from a Linux expert, my background is in networking. I've also noticed that the author of this package is abrasive and resistant to helping people with "basic support requests", as if we're all experts like him. Some of us just want to enjoy a new hobby without having gatekeepers in our way. Hopefully you can help me here :) 

If you are able, could you provide an executive summary of the process you used to get this running on a modern Pi? Are there legacy versions that need installed for some of the packages? I am just dipping my toes into CNC and would love to take advantage of this web-based controller and its features. Thanks in advance for any assistance you can provide. 

Andrew Hodel

unread,
Dec 28, 2020, 6:39:48 PM12/28/20
to Nick, XYZBots Support for GRBLWeb and RepRapWeb
Here's a new build that will work with every raspberry pi that exists as of today.

https://xyzbots.com:4000/rpi-grblweb-reprapweb-testing.zip

Updates:

* latest version of raspberry pi OS (2020-12-02)
* latest version of node for ARM7 (32 bit, matching raspberry pi OS)
* grblweb/reprapweb code updates to use latest serialport package that changed the function calls
* latest build of Slic3r (built from source)
* latest build of CuraEngine (built from source)
* bluetooth is disabled

All you need to do after flashing the image to an SD card is SSH to the device with the standard (pi/raspberry) login and there will be a message telling you how to start/start on boot reprapweb or grblweb.  You can also login with a keyboard and HDMI instead of using SSH.

Standard stuff, change the pi password and wifi information (passwd and raspi-config).

I am still waiting on Cura to provide a list of the required/optional settings per version of their software - https://github.com/Ultimaker/CuraEngine/issues/1389

I am also still waiting on Slic3r to provide a reason the command line options are failing - https://github.com/slic3r/Slic3r/issues/5037

So you can send GCODE using GRBLWeb or RepRapWeb.  JSCut works in GRBLWeb and RepRapWeb is still waiting on the slicer to be supported with their latest versions due to command line option changes that they made.




Test it and let me know if everything works as you expected, once I have some valid tests and fix the slicer inputs I will put it on the main website.





Andrew

On Mon, Dec 28, 2020 at 2:31 PM Andrew Hodel <andre...@gmail.com> wrote:
Seems that arm7 is 32 bit and arm8 supports 64 bit but the OS is only built with 32 bit support and raspbian was previously built with 64 bit support.

That is likely the problem with the later boards and the binaries not working properly, some instructions missing for the cpu.

I have no idea why people keep saying memory leak though.


Should be built and downloadable soon.



Andrew

On Mon, Dec 28, 2020 at 1:17 PM Andrew Hodel <andre...@gmail.com> wrote:
I too wish more people understood a serial port, network sockets and a web interface.  Maybe I'd have some people to work with again!

On Mon, Dec 28, 2020 at 1:16 PM Nick <nickz...@gmail.com> wrote:
You are a legend. Thank you!

On Mon, Dec 28, 2020 at 2:04 PM Andrew Hodel <andre...@gmail.com> wrote:
Looks like the latest rpi os supports all of them. 

I will rebuild another image that works for all of the pis. 





Andrew

On Mon, Dec 28, 2020 at 1:00 PM Andrew Hodel <andre...@gmail.com> wrote:
Odd, does raspberry pi os list the hardware it supports anywhere?


Andrew

On Mon, Dec 28, 2020 at 12:38 PM Nick <nickz...@gmail.com> wrote:
I've tried it a few times but unfortunately the Pi just puts up the rainbow screen of doom. I don't see any activity on the network, even the NIC's link lights are dark. I don't have another way of watching it boot, maybe there's some way to get serial output but I'm not too familiar with it. 

I did manage to get grblweb to start on the Pi3b by following the steps you posted here after flashing Raspbian to the SD card, but there is a memory leak and the program crashes after a few minutes. 

On Mon, Dec 28, 2020 at 12:31 PM Andrew Hodel <andre...@gmail.com> wrote:
I don't know why it wouldn't! Nobody has put up a bug saying it doesn't though.



Andrew

On Mon, Dec 28, 2020 at 9:31 AM Nick <nickz...@gmail.com> wrote:
Thanks Andrew, I appreciate the quick follow-up and your patience. I'll apologize in advance for my arrogance on this, but do you mean that the prebuilt image for Pi2 should work on a 3b? I will give that another try. 

On Mon, Dec 28, 2020 at 9:59 AM Andrew Hodel <andre...@gmail.com> wrote:
Yea sorry for being a jerk, the counts are bad but the real problem is that there is so much beyond the initial instructions. 

Just download the binary and flash it to an sd card then plug it in. 



Andrew

--
You received this message because you are subscribed to the Google Groups "XYZBots Support for GRBLWeb and RepRapWeb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xyzbots-suppo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xyzbots-support/282b9bad-bd88-44c6-9296-7de43dc8d0f3n%40googlegroups.com.


--
- Nick


--
- Nick


--
- Nick

Andrew Hodel

unread,
Dec 28, 2020, 6:41:32 PM12/28/20
to Nick, XYZBots Support for GRBLWeb and RepRapWeb
Once I get some answers from the slicers, I will update the mailing list with some more information.

It will work to run your machines for now.


Andrew

Andrew Hodel

unread,
Dec 28, 2020, 9:37:35 PM12/28/20
to Nick, XYZBots Support for GRBLWeb and RepRapWeb
Cura closed the issue without a full answer, so here is another one we are waiting on. 

Jonathan McConnell

unread,
Jan 5, 2021, 10:57:09 AM1/5/21
to Andrew Hodel, Nick, XYZBots Support for GRBLWeb and RepRapWeb
Thank you Andrew for this update! Will test it out this week. 

J



Andrew Hodel

unread,
Jan 5, 2021, 1:04:36 PM1/5/21
to Jonathan McConnell, Nick, XYZBots Support for GRBLWeb and RepRapWeb
You're welcome! 

Andrew Hodel

unread,
Jan 26, 2021, 1:00:06 PM1/26/21
to Jonathan McConnell, Nick, XYZBots Support for GRBLWeb and RepRapWeb
There is later code in github that fixes a socket.io vulnerability and makes reprapweb work with cura as a slicer.

```
cd reprapweb
git pull
npm update

cd ../grblweb
git pull
npm update
```

From the image I provided.

I am still waiting on an answer from Cura as to why the options to startCode and endCode changed and what they changed to.

I am also still waiting on slic3r in regards to this issue: https://github.com/slic3r/Slic3r/issues/5037





Andrew

Andrew Hodel

unread,
Jan 26, 2021, 1:58:01 PM1/26/21
to Jonathan McConnell, Nick, XYZBots Support for GRBLWeb and RepRapWeb
Cleaned up some more stuff you can read in the git commits for reprapweb and grblweb.

reprapweb now supports start and end gcode from Cura in the options.

I sure wish slic3r would answer issue #5037 so I could release an image on xybots.com that works for all raspberry pi devices!




Andrew

Bill Allen

unread,
Jan 31, 2021, 6:38:25 PM1/31/21
to XYZBots Support for GRBLWeb and RepRapWeb
When I use the img file for the Raspberry Pi 2 B and try to login to it via ssh I get an Access Denied error.  I've tried (username pi password raspbian) and (username pi password raspberry).  I get access denied on either one.

I tried imaging the testing version you posted up above and when I run Win32DiskImager it doesn't see the "bin" file - it expects an "img" file.  I manually select it and when I try burning it says there's not enough room (see the image below).  I'm using an 8GB card formatted to 7.41GB FAT32.  The previous image fit fine.  Do I need to use a bigger card for this latest image?

win32diskimager.jpg

Andrew Hodel

unread,
Feb 1, 2021, 9:09:44 AM2/1/21
to Bill Allen, XYZBots Support for GRBLWeb and RepRapWeb
You must be trying to ssh to the wrong address, you can verify the fingerprint by mounting the disk image.

The testing version was built on a 16gb card. 



Thank You,
Andrew Hodel

On Jan 31, 2021, at 5:38 PM, Bill Allen <bakan...@gmail.com> wrote:

When I use the img file for the Raspberry Pi 2 B and try to login to it via ssh I get an Access Denied error.  I've tried (username pi password raspbian) and (username pi password raspberry).  I get access denied on either one.

I tried imaging the testing version you posted up above and when I run Win32DiskImager it doesn't see the "bin" file - it expects an "img" file.  I manually select it and when I try burning it says there's not enough room (see the image below).  I'm using an 8GB card formatted to 7.41GB FAT32.  The previous image fit fine.  Do I need to use a bigger card for this latest image?

Reply all
Reply to author
Forward
0 new messages