Category Archives: Operating Systems

Linux : How to disable ICMP echo request

The easiest way of disabling ICMP echo request on Linux is doing it on the kernel level. To disable ICMP immediately on a running system, simply enter the following command : echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all This command will not survive to the next reboot. To make it permanent, edit : vi /etc/sysctl.conf And add :… Read More »

Linux : How to create a dummy file

Here is a quick how to create a dummy file for a specific size under Linux/Unix : dd if=/dev/zero of=<file_name> bs=<size_in_bytes> count=1 So assuming you want to create a file named “100mb.bin” having 100 Mb size : dd if=/dev/zero of=100mb.bin bs=104857600 count=1

OpenVPN : service failed to start due to unresolved dependencies: set([‘bridge’])

If you setup OpenVPN to be in bridge (layer2) mode instead using NAT/routing (layer3) and then restart the server to make the change effective, you probably noticed the following error message on the Status Overview page repeatedly : service failed to start due to unresolved dependencies: set([‘bridge’]) This is because there is no existing bridge… Read More »

Linux : How to install source rpm on RHEL/CentOS

Here is a quick tutorial regarding how to install a source RPM on RHEL/CentOS Linux. 1. Prepare the build environment and get the dependencies. Do those following command under your root home directory : yum install rpm-build redhat-rpm-config gcc make mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} 2. Put the source rpm file at the root of your home directory… Read More »

FreeBSD : vsftpd not configured for standalone, must be started from inetd

Getting this error message trying to start vsFTPd on FreeBSD? 500 OOPS: vsftpd: not configured for standalone, must be started from inetd Then you missed the important part shown at the end of “vsftpd.conf”! # If using vsftpd in standalone mode, uncomment the next two lines: listen=YES background=YES Just uncomment “listen=YES”, “background=YES” and start the… Read More »