Send Ethernet bonding Status Change to KVM Guest
Test Environment
KVM Host
$ lsb_release -a
Debian buster 10.8 – with 2 ethernets (eno1 & eno2) bonded (as bond0) and bridged (as br0)
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
KVM Guest
Windows Server 2016 Standard Edition
with ethernet connected to br0 (KVM Host)
Mount Bitlocker Encrypted Drive on Linux
Test Environment
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
Own Notes – Iptables
Allow Incoming SSH only from a Specific Network
- The following rules allow incoming ssh connections only from 192.168.100.0/24 network
root@home# iptables -A INPUT -i eth0 -p tcp -s 192.168.100.0/24 --dport 22 -m state --state NEW,ESTABLISHED -j ACCEPT
root@home# iptables -A OUTPUT -o eth0 -p tcp --sport 22 -m state --state ESTABLISHED -j ACCEPT
Create Solaris 10×86 USB bootdisk installer
Requirement
USB disk (min size 4GB)
PC / laptop with solaris 10 x86 installed
Solaris installer iso image (tested with Solaris 10 x86 update 8/9/10/11)
Advantage
Installation time will be much faster compare to install from DVDROM Read more…
Create network boot for concurrent RHEL6.5 installation
Requirement
- Installed RHEL6.5
- RHEL6.5 x86_64 DVD installer
- Services : dhcp, NFS, tftp
- Familiar with vi text editor (or nano, etc)
Advantage
- Installation can be done concurrently without DVD
- Time and Money saving
RedHat Linux network redundancy using interface bonding
This notes written down when facing requirement to make barco wall-display working with redundant network link. Eventhough setup barco controller is not part of my responsibility, I still want to help our customer to fulfill their needs – for the sake of knowledge sharing.
Specification
This configuration tested using hardware and software specification
- Linux distribution RH7.2 (Enigma) i386
- network interfaces (identified as eth0 & eth1)
Own Notes – FreeBSD
This is my own notes, work faster & reduce time for googling 😀 Read more…
Solaris 10 Sys Admin Notes
This is my own notes, work faster & reduce time for googling 😀
Read more…
Clear Digi_PortServer_TS16’s buffer using Scheduler on Solaris 10
Problem
Description : Digi PortServer TS16 always hang after operating for hours, and need to hot-restarted.
Analysis of Problem : We assume device hang because of buffer over flow.
Solution : Create script with specific function (login to the device, clear all buffer, logout) and execute automagicaly with cron scheduler.
Figure 1. Digi PortServer TS16 connect to Solaris box via UTP Cable
Own Notes – Shell Script
Filename Wildcards
The following characters are interpreted by the shell as filename wildcards, and any word containing them is replaced by a sorted list of all the matching files.
Wildcards may be used in the directory parts of a pathname as well as the filename part. If no files match the wildcard, it is left unchanged. Wildcards are not full regular expressions. Sed, grep, awk etc. work with more flexible (and more complex) string matching operators.
*
Match zero or more characters.
?
Match any single character
[…]
Match any single character from the bracketed set. A range of characters can be specified with [ – ]
[!…]
Match any single character NOT in the bracketed set. Read more…




Recent Comments