Author: Ciro Iriarte
Created: 2021-11-02
Updated: 2021-11-02
guacamole-reset-user-otp.sh
is a quick script to disable OTP for a user for Guacamole (using native OTP module)
Default view
guacamole-reset-user-otp.sh the.user
Author: Ciro Iriarte
Created: 2025-06-05
Updated: 2025-06-07
nic-xray.sh
is a diagnostic script that provides a detailed overview of all physical network interfaces on a Linux system. It displays:
- PCI slot
- Firmware version
- Interface name
- MAC address
- MTU
- Link status (with color)
- Negotiated speed and duplex
- Bond membership (with color)
- LLDP peer information (switch and port)
Originally developed for OpenStack node deployments, it is suitable for any Linux environment.
- Must be run as root
- Required tools:
ethtool
lldpctl
awk
,grep
,cat
,readlink
- Switch configuration:
- Switch should advertise LLDP messages
- Cisco doesn't include VLAN information by default.
Hint:
lldp tlv-select vlan-name
-
Copy the script to
/usr/local/sbin
for easy access:sudo cp nic-xray.sh /usr/local/sbin/ sudo chmod +x /usr/local/sbin/nic-xray.sh
-
Ensure lldpd service is running to retrieve LLDP information:
sudo systemctl enable --now lldpd
Default view
sudo nic-xray.sh
Show VLAN information
sudo nic-xray.sh --vlan
Show LACP peer information
sudo nic-xray.sh --lacp
echo "Sorry, can't share"
Author: Ciro Iriarte Created: 2025-06-06 Updated: 2025-06-06
create-ssl-csr.sh
Helps to create a SSL Certificate Signing Request to be shared with a CA entity.
- Required tools:
openssl
Edit the variables to match your environment and run the script.
./create-ssl-csr.sh