This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To enable auto-login, I have the following in the [SeatDefaults] section of /etc/lightdm/lightdm.conf | |
autologin-user = cnc | |
autologin-user-timeout = 10 | |
# install vnc server | |
sudo apt-get install x11vnc | |
# Setup vnc password | |
x11vnc -storepasswd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Send keep alive state every 5 minutes: | |
Rule1 ON Time#Minute|5 DO publish tele/%topic%/LWT Online ENDONy | |
Rule1 1 | |
Analog value changed send sensor telemetric: | |
Rule2 ON analog#a0div10 DO publish tele/%topic%/SENSOR {"ANALOG":{"A0":%value%0}} ENDON | |
Rule2 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source: https://github.com/Wikifab/wikifab-main | |
Create CT with debian debian-11-standard_11.3-1_amd64.tar.zst | |
# Log into console and update system | |
apt update | |
apt dist-upgrade | |
# Install docker | |
apt-get remove docker docker-engine docker.io containerd runc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://forums.raspberrypi.com/viewtopic.php?t=305820 | |
sudo nano /usr/local/sbin/eee-disabling-eth0.sh | |
#!/bin/sh | |
while true | |
do | |
/sbin/ethtool --set-eee eth0 eee off > /dev/null 2>&1 | |
sleep 1 | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prusa-slicer-console.exe --sw-renderer --loglevel=5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source: | |
https://computers.tutsplus.com/articles/how-to-clone-raspberry-pi-sd-cards-using-the-command-line-in-os-x--mac-59911 | |
https://github.com/lisanet/PiShrink-macOS | |
BACKUP ON MACOS | |
1.) Locate SD Card | |
diskutil list | |
2.) Cloning SD Card |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source: https://github.com/arendst/Tasmota/wiki/Esptool | |
1.) Install python from https://www.python.org/ | |
2.) Download latest Esptool source from https://github.com/espressif/esptool/releases | |
3.) Install Esptool | |
cd Downloads/esptool-x.y | |
python setup.py install | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source: https://howchoo.com/g/ndy1zte2yjn/how-to-set-up-wifi-on-your-raspberry-pi-without-ethernet | |
1.) Switch to boot | |
cd /Volumes/boot | |
2.) Create file | |
nano wpa_supplicant.conf | |
3.) Paste this content | |
country=CZ # Your 2-digit country code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Schedule a fsck at the next reboot | |
sync | |
sudo touch /forcefsck | |
sudo reboot | |
or can use shutdown command for this too | |
sudo shutdown -rF now | |
https://raspberrypi.stackexchange.com/questions/3289/checking-sdcard-for-errors-unmount-problem |
NewerOlder