perda elevada de pacotes na placa de rede NVIDIA Corporation MCP61 Ethernet (rev a2)
/etc/systemd/system/rc-local.service:
[Unit]
Description=/etc/rc.local Compatibility
ConditionPathExists=/etc/rc.local[Service]
Type=forking
ExecStart=/etc/rc.local start
TimeoutSec=0
StandardOutput=tty
RemainAfterExit=yes
SysVStartPriority=99[Install]
WantedBy=multi-user.target
systemctl enable rc-local
systemctl start rc-local.service
systemctl status rc-local.service
/etc/rc.local:
samba4 cheat sheet
samba-tool drs showrepl
- Directory Replication Services (DRS) management. - Show replication status.
Samba4 Domain Password Policy
#Disable password expiration for the Administrator account.
samba-tool user setexpiry Administrator --noexpiry#Show domain level password options.
samba-tool domain passwordsettings show#Disable password complexity at the domain level.
samba-tool domain passwordsettings set --complexity=off#Disable password history at the domain level.
samba-tool domain passwordsettings set --history-length=0#Disable password min-age at the domain level.
samba-tool domain passwordsettings set --min-pwd-age=0
openwrt no Ubiquiti LiteBeam 5AC Gen2
mikrotik cheat sheet
limpar toda a configuração dum router:
/system reset-configuration no-defaults=yes keep-users=no
https://forum.mikrotik.com/viewtopic.php?t=67840#p345275
exportar config do router:
export file=myrouterexport
https://forum.mikrotik.com/viewtopic.php?t=28959
Manual:Securing Your Router
hotspot num router mikrotik
automatic login to HotSpot in Trial mode - https://forum.mikrotik.com/viewtopic.php?t=118643
https://forum.mikrotik.com/viewtopic.php?t=51199
bom vídeo, explicação simples - https://www.youtube.com/watch?v=FOrQUYtCjr4
https://wiki.mikrotik.com/wiki/Manual:Customizing_Hotspot#Examples
Sharing ZFS Datasets Via NFS
no server com a pool zfs:
apt install -y nfs-kernel-server
zfs set sharenfs=on pool-name/dataset-name
no servidor libertar as portas 111 e 2049
no cliente:
apt install -y nfs-common
mount -t nfs zfs.host.com:/pool-name/dataset-name /path/to/local/mount
NOTA: depois de reiniciar o servidor o serviço nfs-kernel-server não funciona. para reiniciar:
systemctl restart nfs-kernel-server