Advanced Search
Search Results
532 total results found
Probing Non-Existent Floppy
(2026-08-21) Problem: Syslog error: I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2 or similar Solution As root: echo "blacklist floppy" > /etc/modprobe.d/blacklist-floppy update-initramfs -u rmmod floppy
Example Static IP Netplan
(2026-08-21) etplan set "ethernets.eth0.addresses=[172.17.12.91/24]" netplan set "ethernets.eth0.routes=\"[{to: 0.0.0.0/0 via: 172.17.12.1}]\"" netplan set "ethernets.eeth0.dhcp4=false" netplan set "ethernets.eth0.nameservers.addresses=[1.1.1.1, 9.9.9.9]" netp...
Shutting Up The MOTD Advertising
(2026-08-21) # No MOTD advertising please cat << "EOMOTD" > /etc/default/motd-news ENABLED=0 URLS="https://motd.ubuntu.com" WAIT=5 EOMOTD cp /dev/null /var/cache/motd-news # Stop talking about ESM in the MOTD please (https://askubuntu.com/questions/1453749/in...
Tags
(2026-08-26) CVS uses tags. Rancid uses CVS. Using this in combination with frequent configuration checkpointing we can look at diffs with respect to a baseline that is constant without having to worry what the revision number(s) of that/those file(s) is/are. ...
Automatic Rollback
(2026-08-28) Enable Auto-Rollback: # checkpoint auto 5 Disable the rollback if the config change worked: # checkpoint confirm
Remove an extension from a group of files
(2026-09-23) rename 's/\.bak$//' *.bak
Firmware Image Shuffle
(2026-09-23) Our internal standard on updates is to make sure the current firmware version is in image slot 2, and to then upload the new version into image slot 1. ! 'show version': ! ! -------------------------------------------------------------------------...
Enable Hyper-V Reporting In ManageEngine
(2026-09-24) Problem The ManageEngine page includes spaces in the registry key names it wants you to create, however the spaces make the entry wrong when you copy/paste them. Solution When creating the registry keys under Computer\HKEY_LOCAL_MACHINE\SYSTEM\Cur...
NPS Powershell
(2026-09-24) Export the NPS Clients Get-NpsRadiusClient | ForEach-Object { Write-Output "New-NpsRadiusClient -Name `"$($_.Name)`" -Address `"$($_.Address)`" -SharedSecret `"$($_.SharedSecret)`" -VendorName `"$($_.VendorName)`" -AuthAttributeRequired `$fals...
Ping scan
(2026-10-02) ICMP ping scan: nmap -sn 192.168.1.0/24 Scan for a specific port: syn scan: nmap -sn -PS22 192.168.1.0/24 ack scan: nmap -sn -PA22 192.168.1.0/24
Enable SNMPv3
(2026-10-08) Version: 8.0.1 SSH to the esxi node esxcli system snmp get esxcli system snmp set -a SHA1 -x AES128 esxcli system snmp hash --auth-hash mysecret --priv-hash myothersecret --raw-secret esxcli system snmp set --users librenms/ceb749c1e03aba2097b1860...
SNMPv3 on ProCurve 2920
(2026-10-08) Firmware WB.16.10.0025 Configure snmpv3: snmpv3 enable At this point it will prompt you to configure the "initial" user. Follow the prompts. Then: snmpv3 restricted-access snmpv3 user myuser plaintext auth sha priv aes At this point it will prom...
SNMPv3 on Ubuntu 26 LTS
(2026-10-08) systemctl stop snmpd net-snmp-create-v3-user -ro -a SHA -A "myAuthPassword" -x AES -X "myPrivPassword" snmpv3user systemctl start snmpd
Librenms Stuffs
You're gonna want to run these as the librenms user. Command list clients with snmp versions lnms report:devices -f hostname,ip,community,snmpver | grep -v v3 cli discovery lnms device:discover HOSTNAME cli new node lnms device:add --v3 -u <userna...
etckeeper basics
(2026-10-13) (On Ubuntu LTS 24.04) The apt install does the "git init", so everything else is just git. Remember the sudo if you are not root. Minimal identification: # sudo git config --global user.email "root@localhost" # sudo git config --global user.name "...
MySQL/MariaDB
Access from Remote Systems
$ mysql -h 192.168.1.8 -u root -p Enter password: You have to set up the remote access first: $ mysql -u root -p Enter password: mysql> use mysql mysql> GRANT ALL ON *.* to root@'192.168.1.4' IDENTIFIED BY 'your-root-password'; mysql> FLUSH PRIVILEGES;
Change MySWL Root Password
(if you don't know what it is) Log on to your system as the Unix mysql user that the mysqld server runs as. Locate the .pid file that contains the server's process ID. The exact location and name of this file depend on your distribution, host name, and configu...