Source: https://www.truenas.com/community/threads/enable-wol.95856/
As an Admin user you can use the ethtool with sudo rights to check if WoL is available on your system. The usual ethernet NIC name is "enp3s0" so I use everytime this name.
Source: https://www.truenas.com/community/threads/enable-wol.95856/
As an Admin user you can use the ethtool with sudo rights to check if WoL is available on your system. The usual ethernet NIC name is "enp3s0" so I use everytime this name.
| // ==UserScript== | |
| // @name Force YAML on AWS docs | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author githhub.com/vintagefuture | |
| // @match https://docs.aws.amazon.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=amazon.com | |
| // @grant none | |
| // ==/UserScript== | 
| if [ ! -f .env ] | |
| then | |
| export $(cat .env | xargs) | |
| fi | 
| #!/bin/bash | |
| # Backup directory and name suffix | |
| BACKUP_DIR=/path/for/backup | |
| FILE_SUFFIX=backup.tar | |
| # Name file using the date and supplied suffix | |
| FILE=`date +"%Y%m%d%H%M"`${FILE_SUFFIX} | |
| # Combine the backup directory and file name | |
| OUTPUT_FILE=${BACKUP_DIR}/${FILE} | 
| # Simple No-ip.com Dynamic DNS Updater | |
| # | |
| # By Nathan Giesbrecht (http://nathangiesbrecht.com) | |
| # | |
| # 1) Install binary as described in no-ip.com's source file (assuming results in /usr/local/bin) | |
| # 2) Run sudo /usr/local/bin/noip2 -C to generate configuration file | |
| # 3) Copy this file noip2.service to /etc/systemd/system/ | |
| # 4) Execute `sudo systemctl daemon-reload` | |
| # 5) Execute `sudo systemctl enable noip2` | |
| # 6) Execute `sudo systemctl start noip2` |