Saturday, December 30, 2023

Fixing windows privileges

 Doesn't seem to work on windows 11.


trying Tweaking.com - Windows Repair

A:  I like to force a disk check with the command "chkdsk /F C:"


<windows><r>
chkdsk /F C:
<ctrl><shift><enter>
y

then reboot

B: fix privileges %userprofile%

ICACLS %userprofile% /T /Q /C /RESET 
takeown /R /SKIPSL /F %userprofile% /D N

then reboot


Sunday, June 25, 2023

Orange pi 5 setup

 running from microSD.

remove "pro"

https://askubuntu.com/questions/1434512/how-to-get-rid-of-ubuntu-pro-advertisement-when-updating-apt

apt-get  --assume-yes  --purge  remove  ubuntu-advantage-tools

apt-get install rsnapshot

apt-get install samba

(I used apt-get install samba* and i think it installed a lot more than necessary)

apt-get install unison

crontab -e
0,15,30,45 *   *   *   *   /home/matt/start_unison_movie
#40 23 * * 6 /home/matt/rsnapshot_run
40 23 * * * /usr/bin/rm /home/root/.unison/lk*
*/5 * * * * /bin/touch /media/matt/2tb_prime/touch &>/dev/null
#*/5 * * * * /bin/mount /dev/md0 /media/backup


secret privilege

GRANT PROXY ON ``@`` TO `matt`@`localhost` WITH GRANT OPTION















add motd file:

98-custommotd 

#!/bin/bash

echo

cat /proc/mdstat

dmesg |grep Gb

echo



Sunday, April 2, 2023

Prusa Slicer Voron Profiles.

The Voron profiles are not very similar to the Prusa MK3s profiles.

The short way is to remove the "Compatible printers condition" restriction to be a prusa....

Set the printer to Prusa MK3s.

Filament to "Generic PETG".  

Switch tab to "Filament Settings".

go to sub tab "Dependencies"

Remove Prusa Vender string in compatible printers condition.



The long (but still useful way is)


In PrusaSlicer 2.6 Set Printer to Voron.

Set filament profile to Basic PET.  

Open tab for "Filament Settings"

Click on save profile (you need to have a local profile to overwrite)

Click on Prusa Diff (mouse over says "Compare this preset with some other"Prusa Diff

Check "Show all presets (including incompatible)"

Change left box to "Generic PETG"

All of the changes will be visible...

On the bottom (in 2.6 only) is a check box "transfer values from left to right"



Tuesday, March 7, 2023

64bit Voron USB setup

 Use Pi Imager to install Klipper 64bit (with login/wifi)

if wifi doesn't work enable by updateding wpa_supplicant

install kiauh

use kiauh 

             install octoprint

                    restore backup

                    uninstall filament sensor, then install

                    klipper config directory:

            uninstall klipper

            install klipper

                   https://www.klipper3d.org/Installation.html

            update all

mount SD card

mount /dev/mmcblk0p1 /media/pi/boot

mount /dev/mmcblk0p2 /media/pi/root


make pi sudoer

/etc/sudoers.d/010_pi-nopasswd


apt-get install samba

 smbpasswd -a pi


enable SPI


sometimes mainsail conflicts with octoprint.

systemctl disable moonraker.service
or 
systemctl disable octoprint.service