- OS: Ubuntu 20.04.2 LTS (GNU/Linux 5.8.0-59-generic x86_64)
- Network: 192.168.xxx.0/24
- Ubuntu multipass host machine IP: 192.168.xxx.yyy(static IP)
- NIC: enp2s0(bridge host NIC)
- Bridge NIC:br0
This file contains 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
var str = msg.payload; | |
var buf = []; | |
for (var i=0, l = str.length; i < l; i++) { | |
var ascii = str.charCodeAt(i); | |
buf.push(ascii); | |
} | |
buf.push(255); | |
buf.push(255); | |
buf.push(255); |
- Video by MetalMusings https://www.youtube.com/watch?v=NQ-HnrusGJo
- Linked LinuxCNC Forum Post https://forum.linuxcnc.org/10-advanced-configuration/42048-notes-from-installation-of-ethercat-on-raspberry-pi-4
The folowing is a writup from Hakans forum post!
- Download & Write image to SD card: www.linuxcnc.org/iso/linuxcnc-2.8.1-pi4.zip
- Configure Wifi via
wpa_supplicant.conf
- Put SD card into RPi and verify that RT-PREEMT Kernel is running:
uname -a
- Update everything and reboot:
sudo apt update && sudo apt upgrade && sudo reboot
-
Install a working (and compiled) version of virt-viewer. You may view the homebrew package's upstream source on GitHub.
brew tap jeffreywildman/homebrew-virt-manager brew install virt-viewer
-
Once that's installed should be able make a call
remote-viewer
with a pve-spice.vv file downloaded from proxmox web interface
This file contains 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
I woke up, started my laptop, and I got laptop poweroff just after booting. My Carbon X1 (7th generation) is only 2 months | |
old. Not really best way to start a day. | |
Solution: | |
1. Power off your lap top | |
2. Find this little reset button on the bottom of your laptop | |
3. Hold for five seconds let go; plug laptop back | |
4. Hit power button |
This file contains 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
#cloud-config | |
package_upgrade: true | |
ssh_authorized_keys: | |
- <your key> | |
packages: | |
- apt-transport-https | |
- ca-certificates | |
- curl |
This file contains 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
adminer_container: | |
image: adminer:latest | |
environment: | |
ADMINER_DEFAULT_SERVER: thomasd_ignitionDev_db # Docker Compose db name | |
ADMINER_DESIGN: galkaev | |
ports: | |
- 21080:8080 # change port |
This file contains 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
#!/bin/bash | |
echo "Password for Samba User 'snippets':" | |
read -s smb_password_snippets | |
echo "Password for S3 User 'admin':" | |
read -s s3_password_admin | |
echo "Password for S3 User 'dev' (min-length: 8):" | |
read -s s3_password_dev | |
echo "Password for S3 User 'api' (min-length: 8):" | |
read -s s3_password_api | |
wget -O /usr/local/bin/minio https://dl.min.io/server/minio/release/linux-amd64/minio |
Accessing a subnet that is behind a WireGuard client using a site-to-site setup
We want to access a local subnet remotely, but it is behind a NAT firewall and we can't setup port forwarding. Outgoing connections work, but all incoming connections get DROPPED by the ISP's routing policy.
NewerOlder