more ipv6 fixes

This commit is contained in:
2024-07-31 22:36:46 -04:00
parent 2533c545d6
commit 9833a696d2
18 changed files with 635 additions and 40 deletions

View File

@@ -684,6 +684,8 @@ You can create chroot environments to run firejails or just use for testing purp
##### Turn Off Fingerprint When Laptop Lid Closed
**NOTE: This may break fingerprint unlock. Testing in progress.**
To disable fingerprint authentication when the laptop lid is closed, and
re-enable when it is reopened, we will use acpid to bind to the button/lid.*
event to a custom script that will comment out fprintd auth in /etc/pam.d/sudo.

View File

@@ -14,8 +14,6 @@
- [Docker](#docker)
- [QEMU/KVM](#qemukvm)
- [Arch Guests](#arch-guests)
- [Restore qcow snapshots](#restore-qcow-snapshots)
- [Convert qcow to bootable drive](#convert-qcow-to-bootable-drive)
- [Kubernetes](#kubernetes)
- [VSCode](#vscode)
- [Shell](#shell)
@@ -34,6 +32,7 @@
- [Development](#development)
- [Cura](#cura)
- [Creality Print](#creality-print)
- [Bambu Studio](#bambu-studio)
- [Orca Slicer](#orca-slicer)
- [AWS CLI](#aws-cli)
- [NSlookup](#nslookup)
@@ -258,29 +257,6 @@ In order to get drivers for spice you'll need the guest spice drivers:
sudo pacman -S qemu-guest-agent spice-vdagent
```
### Restore qcow snapshots
```bash
# Create a snapshot
qemu-img snapshot -c snapshot-name /var/lib/libvirt/images/vm-image.qcow2
# List snapshots for a given image
qemu-img snapshot -l /var/lib/libvirt/images/vm-image.qcow2
# Restore snapshot
qemu-img snapshot -a snapshot-name /var/lib/libvirt/images/vm-image.qcow2
```
### Convert qcow to bootable drive
```bash
qemu-img convert -f qcow2 -O raw /var/lib/libvirt/images/vm-image.qcow2 /dev/sdb
```
If you need to resize a windows partition to non-continuous space simply grow the
last partition, shrink it to the end of the drive, then grow the windows partition
with gparted.
## Kubernetes
```bash
@@ -517,6 +493,39 @@ Icon=/home/ducoterra/.icons/creality_print.png
Type=Application
```
## Bambu Studio
<https://github.com/bambulab/BambuStudio/releases>
I usually grab the Ubuntu appimage. The Fedora one seems to crash when displaying the camera.
```bash
# You might need to install webkit2gtk
pacman -S webkit2gtk
```
```bash
mv ~/Downloads/Bambu_Studio_linux*.AppImage ~/Applications/BambuStudio.AppImage
chmod +x ~/Applications/*.AppImage
```
Note! The file name "BambuStudio.desktop" must match the appimage name "BambuStudio" for the icon to show up.
~/.local/share/applications/BambuStudio.desktop
```conf
[Desktop Entry]
Name=Bambu Studio
Exec=/home/ducoterra/Applications/BambuStudio.AppImage
Icon=/home/ducoterra/.icons/bambu_studio.png
Type=Application
```
```bash
update-desktop-database
```
## Orca Slicer
<https://github.com/SoftFever/OrcaSlicer>

View File

@@ -0,0 +1,38 @@
# QEMU
- [QEMU](#qemu)
- [QCOW2](#qcow2)
- [Restore qcow snapshots](#restore-qcow-snapshots)
- [Convert qcow to bootable drive](#convert-qcow-to-bootable-drive)
- [Convert bootable drive to qcow](#convert-bootable-drive-to-qcow)
## QCOW2
### Restore qcow snapshots
```bash
# Create a snapshot
qemu-img snapshot -c snapshot-name /var/lib/libvirt/images/vm-image.qcow2
# List snapshots for a given image
qemu-img snapshot -l /var/lib/libvirt/images/vm-image.qcow2
# Restore snapshot
qemu-img snapshot -a snapshot-name /var/lib/libvirt/images/vm-image.qcow2
```
### Convert qcow to bootable drive
```bash
qemu-img convert -f qcow2 -O raw /var/lib/libvirt/images/vm-image.qcow2 /dev/sdb
```
### Convert bootable drive to qcow
```bash
qemu-img convert -f raw -O qcow2 /dev/sdd /var/lib/libvirt/images/toshiba.qcow2 conv=noerror -p
```
If you need to resize a windows partition to non-continuous space simply grow the
last partition, shrink it to the end of the drive, then grow the windows partition
with gparted.

View File

@@ -8,13 +8,13 @@
## IP Addresses
| Hostname | IPV4 | IPV6 |
| -------- | ----------- | ------------------ |
| unifi | 192.168.2.1 | 2603:6013:3140:102 |
| lab | 10.1.0.1 | 2603:6013:3140:100 |
| iot | 10.2.0.1 | |
| home | 10.3.0.1 | 2603:6013:3140:103 |
| metallb | 10.5.0.1 | 2603:6013:3140:101 |
| Hostname | IPV4 | IPV6 |
| -------- | -------------- | ------------------------ |
| unifi | 192.168.2.0/24 | 2603:6013:3140:102::0/64 |
| lab | 10.1.0.0/16 | 2603:6013:3140:100::0/64 |
| iot | 10.2.0.0/16 | |
| home | 10.3.0.0/16 | 2603:6013:3140:103::0/64 |
| metallb | 10.5.0.0/16 | 2603:6013:3140:101::0/64 |
## Route53