-
Install network-manager-l2tp-gnome
$ sudo apt install network-manager-l2tp-gnome -
Add the L2TP connection in Network Manager and set the Pre-shared key, Phase1 and Phase2 Algorithms:
Phase1 Algorithms : 3des-sha1-modp1024
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
| [ | |
| "aahed", | |
| "aalii", | |
| "aapas", | |
| "aargh", | |
| "aarti", | |
| "abaca", | |
| "abaci", | |
| "abacs", | |
| "abaft", |
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
| #!/bin/bash | |
| POOLS=$(df -PT | awk '$2~"zfs" && $7~path {print $1}' path="^$(realpath ${1:-/mnt})" | awk -F'/' '{print $1}' | sort | uniq) | |
| USED=0 | |
| AVAIL=0 | |
| for pool in ${POOLS[@]}; do | |
| (( USED += $(zfs get -o value -Hp used $pool) )) | |
| (( AVAIL += $(zfs get -o value -Hp available $pool) )) |
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
| # File: /etc/samba/smb.conf | |
| dfree command = /usr/local/bin/dfree |
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
| Host * | |
| VerifyHostKeyDNS yes |
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
| [Pi-hole] | |
| title=Pi-hole | |
| description=Pi-hole | |
| ports=53,80/tcp|53/udp |
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
| wget https://github.com/ddclient/ddclient/archive/v3.9.0.tar.gz -O ddclient-3.9.0.tar.gz | |
| tar zxvf ddclient-3.9.0.tar.gz | |
| cd ddclient-3.9.0 | |
| sudo cp ddclient /usr/sbin/ | |
| sudo mkdir /etc/ddclient | |
| sudo mkdir /var/cache/ddclient | |
| sudo vim /etc/ddclient/ddclient.conf | |
| sudo cp sample-etc_rc.d_init.d_ddclient.ubuntu /etc/init.d/ddclient | |
| sudo update-rc.d ddclient defaults | |
| sudo apt install libio-socket-ssl-perl libdata-validate-ip-perl libjson-pp-perl |
psexec.exe -s -i regedit /e C:\BTKeys.reg HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\BTHPORT\Parameters\Keys
sudo vim /var/lib/bluetooth/[MAC]/info
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
| #!/bin/sh -e | |
| # Fix the permission of systemd-resolved resolv.conf after disconnected from | |
| # VPN in Ubuntu 18.04 | |
| if [ "$2" = "vpn-down" ]; then | |
| chmod 644 /run/systemd/resolve/stub-resolv.conf | |
| chown systemd-resolve:systemd-resolve /run/systemd/resolve/stub-resolv.conf | |
| fi |
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
| #!/bin/bash | |
| # Just hard code these to your docker server's LAN IP if lookups aren't working | |
| IP="192.168.1.2" # use $IP, if set, otherwise IP_LOOKUP | |
| # Default of directory you run this from, update to where ever. | |
| DOCKER_CONFIGS="$(pwd)" | |
| echo "### Make sure your IPs are correct, hard code ServerIP ENV VARs if necessary\nIP: ${IP}\nIPv6: ${IPv6}" |
NewerOlder