Hi gang. I have been trying all sorts of little tweeks to that text string, cannot get anything to work. It looks like this is a problem in Windows, and I thought it was solved, but things solutions found thus far have not worked. Will try again in morning, but not looking good. The password prompt is new, and thought there was a way to remedy, but did not work.
when you get the password prompt, enter your pi user and password , check the remember me prompt and it should work. if it does not, you will need to enter the registry entry from the the link above.
Set the following registry value to 1
HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\AllowInsecureGuestAuth
If its not there create the value as a DWORD
Maybe i missed this so i apologize if i am asking a dumb question but is there a reason why you are using SAMBA to transfer the gcode file?
Thanks Orob, I will try this in a little bit. Pretty sure I had the checkbox (there were 2) checked off. If doesnāt work again will try this script. Thanks!!!
Hey Jon! Only doing this to move the gcode from my laptop which has Solidworks on itā¦to the Pi hooked up to the monitor and keyboard (so NOT the Pi running WebControl essentially headless right). This way with no laptop in the garage, can launch WebControl from this second Pi (I decided NOT to put in Kiosk mode so can use the Pi for whatever in garage if wanted )ā¦then load upload Gcode and launch the cut from there.
Last night I used WinSCP it was super fast so not sure if canāt get this to work today maybe I just use what works?
I was thinking about it and if Samba makes you put in password anyhow, how is it any quicker than the Samba? I am more trouble mad why I can see and reach 1 of the Piās when mapping the network drive in Windows but the other Piā¦it doesnāt map.
Yet I can reach the other pi with WInSCP super easy.
ok, just so im clear on your workflow:
- generate gcode on laptop.
- from pi workstation, access gcode file on laptop and upload to webcontrol.
i think in your case the easiest workflow would be to upload the gcode file from the laptop, directly to the webcontrol pi using the webcontrol browser interface. it eliminates the need to use winSCP or SAMBA. FYI, this is how im currently doing this because I dont want to lug my laptop into the dusty shop. once uploaded to webcontrol, my shop pi workstation give me all the control functionality i need.
closeā¦Generate the Gcode on the laptop. transfer it to a folder on the Pi workstation using Samba so my Windows PC can setup network drive to it. Then whenever I go to run a part, that second Pi would be fired up anyways so I can log in to Webcontrol for the display. Yet now, instead of using laptop or tablet to load Gcode and launch cut, I can do it from Pi workstation.
So maybe this is something different then how I am approaching this, as it sounds like you can do this through Webcontrol itself (any Webcontrol running)? Again whatever works easiest, I can use WinSCP easily just more wanna do this as NOW it is not workingā¦which I do not understand why so want it to work just because it SHOULD. lol
Hey Orob, sorry I cannot find this HKLM script. I just pasted it in, nothing came upā¦then I tried Dword in front of it, still nothing. I assume I have no clue what doing, and need to use some other command first like Sudo or Sudo nano? Thanks!!
Sorry I did not see the link Orob, let me go check this out will probably explain this command. I must of missed that sorry!
I realize this is a registry you update in Windows. Trying to find this in the registry, itās not easy! lol
Unless there is a specific reason why you need to first transfer the g-code to the pi workstation in order to upload it to webcontrol then yes i believe you are adding unnecessary complexity. You can upload the g-code to the headless webcontrol Pi directly from the laptop using the webcontrol browser client on the laptop. Once uploaded, you can go to your garage and use the Pi workstation as you would your laptop to control the maslow. Once you upload the g-code from your laptop it will show up in the display of your Pi workstation. The Pi workstation and your laptop are connected in paralell to the headless webcontrol Pi and each funtion as a client to it
I have attached a sketch to try and illustrate the process I use. I dont use SAMBA for any ftp client. simply use the function built into webcontrol to upload the g-code.
Thanks Jon! Yeah the way I am looking at it, I do not want to take out laptop if already have the gcode created. I think the way you are saying is upload the code to Webcontrol during the time I want to cutā¦then go downstairs right? This means only 1 gcode can be loaded at once, then if done with a part need to go upstairs to laptop (if decided to not use laptop like I normally do) to clear clear gcode and add another part to cut. I was thinking as I complete the gcode, transfer to a folder on the Pi with the monitor so itās always there to execute the cut when I want. Do you know what I mean?
I think you are saying to do one uploadā¦then go cut. Then go back upstairs to laptop, clear that Gcode if done, load NEW Gcode, do down and cutā¦and so on. Maybe I am misunderstanding?
yes, thats the way you would do it at first. however, the webcontrol pi saves all of your gcode files previously uploaded to a local directory. i believe that all you would need to do is just reload them using the pi workstation webcontrol client. you wouldnt need to upload them from the laptop unless the files needed to be modified or they are new parts that were never uploaded before.
That is probably the best workflow⦠design on laptop, direct upload one after the other from the laptop to the webcontrol server rpi, then use the open feature on webcontrol from the display rpi to select the cut and position the sled and then run it.
Thanks both of you!! Sorry just to clarifyā¦are you both agreeing that upload into Webcontrol, then I can clear gcode. Do this one after another. Then they are really there saved (which I do not see) for me to pull in again? Sorry orob, not sure if you are saying to just use what Jon suggests, or keep trying to move when needed to the second Pi? lol I finally found where this registry file needs to goā¦it is NOT there, just need to see how to add it. if this doesnāt work, I will just do like Jon suggested or use WinSCP
Orob, finally figured this out! Searched how to create DWORD. Created a new Dwordā¦renamed it to AllowInsecureGuestAuth, then you can open it and change the value from 0 to 1. Will see what happens.
Boy you know I have to wonder if loading that Dword registry and setting to 1 actually worked!!!..but because I changed the name of the Piā¦it is not? Now I am getting error about multiple users cannot connect, and last night the Pi kept prompting "the profile appears to be in use by another Chromium process (1216) on another computer (raspberrypi) Chromium has locked the profile so that it doesnt get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chromium - -Quit or Unlock profile and relaunch. After a few times of seeing this very time, I clicked the Unlock Profile and relaunch button.
I will try to put the name of the Pi back to Raspberrypi from teh Raspberrypi2 as that is when all the errors started and the double users error. I have a few meetings, but will try this as soon as I canā¦