- BlueField-2 Quickstart Guide for Clemson R7525s
- NVIDIA Mellanox Bluefield-2 SmartNIC Hands-On Tutorial: Host setup is little outdate. See
Host setupbellow. - NVIDIA Mellanox Bluefield-2 SmartNIC Hands-On Tutorial: “Rig for Dive” — Part III: Ultimate Cloudlab Setup
- NVIDIA Mellanox Bluefield-2 SmartNIC Hands-On Tutorial: “Rig for Dive” — Part V: Install the Latest Bluefield OS with DPDK and DOCA
KIND runs Kubernetes cluster in Docker, and leverages Docker networking for all the network features: port mapping, IPv6, containers connectivity, etc.
KIND uses a docker user defined network.
It creates a bridge named kind
This uses Linux kernel dyamic debug features
https://www.kernel.org/doc/html/latest/admin-guide/dynamic-debug-howto.html
This asumes that debugfs is mounted under /sys/kernel/debug
echo 'module wireguard +p' | sudo tee /sys/kernel/debug/dynamic_debug/control
| # Full instructions: http://manpages.ubuntu.com/manpages/bionic/en/man8/mmcli.8.html | |
| # Examples: http://manpages.ubuntu.com/manpages/bionic/en/man8/mmcli.8.html#examples | |
| # Supported modems: https://www.freedesktop.org/wiki/Software/ModemManager/SupportedDevices/ | |
| # Get list of connected modems. | |
| mmcli --list-modems | |
| # Output: | |
| # Found 1 modems: | |
| # /org/freedesktop/ModemManager1/Modem/1 [huawei] E3531 | |
| # The number at the end of the path is the modem index. |
alt + command + p + r + power
sudo pmset -a hibernatemode 0 standby 0 autopoweroff 0Default:
sudo pmset restoredefaults
pmset -g| #include <stdio.h> | |
| #include <string.h> | |
| #ifdef ofst | |
| for i in range(12): | |
| MID, ofst, _ = 12, lambda o, i: int(o[i], 16), """ | |
| #else | |
| #define ofst(o, i) 0 | |
| int main () { int t; char *s, *_; for (int i = 0; i < 12; i++) { | |
| s = " """; | |
| t = (int)(9+(i%3+(int)(i/3))*2-(i>8)*(2*(i-8)+2)) + ofst("466975754C32", i); |
You can deploy a node with the maas cli which is often preferable to clicking a button on a web UI.
$ SYSTEM_ID=node-787b19d8-d25c-11e4-9f9e-00163eca91de
$ NAME="random-nodename"
$ MAASNAME="maaslocal"
$ maas $MAASNAME machine allocate "name=$NAME"
| # Install dependencies that nginx was originally compiled with | |
| sudo apt install libperl-dev libgeoip-dev libgd-dev | |
| # Get the nginx source | |
| wget https://nginx.org/download/nginx-1.14.0.tar.gz | |
| tar zxf nginx-1.14.0.tar.gz | |
| # Get the module source | |
| wget https://github.com/fdintino/nginx-upload-module/archive/master.zip | |
| unzip master.zip |
It will restart the PPPoE connection every day at 7a.m
The benefit to using the task-scheduler is that your commands get saved in config folder which ensures that they get copied over during firmware upgrades.
cd /config/user-data && sudo mkdir scripts && sudo chown root scripts && cd scripts