If you were unfortunate enough to stumble on my humble site, the least I could do for your troubles is to wish you a Merry Christmas, Happy Chanukah, Happy Kwanza or Merry Festivus. Pretty soon it will just be called Amazon-mas, but for now we can enjoy whats left of the Holiday Season, and look forward to using all the new credit card bonus miles in 2020. Hopefully you will be spending the holiday with friends and family, or at least with a stiff drink and some good music, if they are unavailable or intolerable. For whatever you are celebrating, I hope you have a Merry Holiday!
This is a modification of my under desk PC mount for the Lenovo M700 Tiny PC. It started off simple and then I added a cable management clip which actually took as long as the modifying the drawer, however I thought it would be important to secure a cable (USB cable) to the drawer, and cover the hole use to install it. The current version requires a CR10 size printer to make, but I am working on an Ender3 size version as well (220x220mm).
It's now up on Thingiverse here.
The back shell is almost done, and what a pain it was. I wasted almost a spool of PLA when I realized that I needed to re-design it, which delayed things a couple weeks as well. The back shell is composed of 4 large printed parts, and several small ones. The large parts took over a day to print, and the rest of the parts are probably under a day in total. The printed parts make up a frame, which holds an AC power outlet / USB power outlet, a tool holder and a filtered air intake / filtered air exhaust duct. The exhaust duct bolts on the back of the back shell and will duct air pulled from the enclosure, to the outside, via a 2 1/2" flexible hose. The printed frame holds a 3mm aluminum composite panel which is 2 pieces of thin aluminum which sandwich a layer of polyethylene plastic. The panel is 18"x24" and cost me 25 bucks, but arrived with a dinged corner (but I was able to fix that well enough that it doesn't really show now).
Now I just need to install the lighting, Octopi screen and the printer control screen, adjust the doors (which have a minor, but annoying to look at sag), close off the right side and enclose the base using some Ikea HÄGGEBY Doors which fit almost perfectly in the openings.
I just saw this thread on Thingiverse and learned how to reset the "pi" user password thanks to info from lar3ry who answered another users question on how to reset a password by pointing to a fix provided by Foosel (the creator and maintainer of Octoprint) which is here.
There are actually two passwords that may need to be reset, and it is possible both will need to be reset.
The first password is the password for the pi itself. In order to reset any passwords, the first step is to log into the pi using ssh. To do that use a ssh client like putty. Below is a pic of the screen you would see when launching putty. You should not need to modify any of the options, just put the IP address of the Pi in the field and then click Open. It will pop up a box asking you about saving the key (yes), and then the terminal window will open where you can log in to the Pi.
If you never updated your pi password, then it may still be "raspberry", so you can try try logging in using that (or any password you may have changed it to). If your password is still "raspberry" though, it would be good to change that from the default using "sudo passwd pi", then enter the current password (raspberry), and then enter a new password (and then one more time).
If you do not recall the password, then it can be reset using the info here.
To summarize what is explained in that link, the process is to:
1. power off the pi, remove the MicroSD card, and put that in a PC.
2. Then in the drive called "boot", create a file named "octopi-password.txt"
3. In that text file ("octopi-password.txt") you only need the password you want to set for the "pi" user, nothing else. So it will be one word only in this file.
4. Now take the MicroSD out of the PC, install it in the pi and boot it.
5. You can now log in again using SSH, with username "pi" and the password you set in the file "octopi-password.txt".
To reset the password used to access the Octoprint web server running on the Pi...
The second password that may need to be reset is the one most people use when they log into the octoprint webserver, and that is done using the method described here:
The long-winded explanation of that process is to log into the pi via ssh using username "pi" and password (as described above). Then the following needs to be done:
1. Delete ~/.octoprint/users.yaml (you can view whats in there using more ~/.octoprint/users.yaml in case you just need to recall the username that was used):
2. Edit ~/.octoprint/config.yaml using nano (which is already installed), and then find "firstrun" and replace "false" with "true". This will cause the Octoprint server to produce the initial setup dialog (on the next restart). where the username and password can be entered again. Be careful editing this file though, since spaces matter, all that is needed is to change the one word from false to true. If you need to go back, just Ctrl+x, and to search for a word use Ctrl+w (then enter the word you are looking for). When satisfied with the changes, just write the file use Ctrl+o and then Ctrl+x.
3. Now just reboot and log back in using the browser.
If you run TouchUI you may need to update one more thing...
If you change the username and use TouchUI (which is a touchscreen plugin for Octoprint), then there is one more step as explained here.
When TouchUI was initially set up, it asked for the username, which would allow it to autologin to the Octoprint server. If the username was changed for whatever reason, it will no longer auto-login. To fix that, the ~/.octoprint/config.yaml needs to be edited. Specifically, look for "accessControl:" near the top, and then under that will be "autologinAs:" with a username. So you guessed it, gotta change the username to match the new one. Also check that "autologinLocal:" is "true".
Be careful editing this file though, since spaces matter, all that is needed is to change the username. If you need to go back, just Ctrl+x, and to search for a word use Ctrl+w (then enter the word you are looking for). When satisfied with the changes, just write the file use Ctrl+o and then Ctrl+x.
Then just reboot the Pi, or restart the Octoprint and TouchUI services. It should then autologin as before.
Welcome to my Stoopid corner of teh Internet. It's mostly gonna be 3D printing stuff, but I also post some recipes, projects, and the occasional rant here as well. More Stoopid stuff is updated regularly.