Assign range of IP addresses to an interface Rumi, October 2, 2018 For example, you need to assign the IP range 192.168.10.6 – 192.168.10.100 to your eth0 interface. Create a range file in /etc/sysconfig/network-scripts/ifcfg-eth0-range0 as below DEVICE=eth0 BOOTPROTO=static IPADDR_START=192.168.10.6 IPADDR_END=192.168.10.100 NETMASK=255.255.255.0 CLONENUM_START=1 ONBOOT=yes TYPE=Ethernet CLONENUM_START is the number that will be assigned to the first IP alias interface (eth0:1 in this example). If you need to add more ranges of IPs then just use a different file for eg. ifcfg-eth0-range1, for each one of the ranges. Make sure CLONENUM_START does not overwrite other aliases. Once you have configured the range/s of IPs you just need to restart the network service in order to activate it Related Administrations Configurations (Linux) CentOSethNetwork
Install Poppassd in CentOS 7 July 19, 2019November 15, 2019 Steps for configuration change password plugin for squirrelmail/Horde/Rainloop using poppassd are: Download poppassd.c from https://netwinsite.com/poppassd/ Look at poppassd.c and make sure it looks safe yum -y install gcc gcc poppassd.c -o poppassd -lcrypt mv poppassd /usr/local/bin/ yum -y install xinetd cp /etc/xinetd.d/time-stream /etc/xinetd.d/poppassd nano /etc/xinetd.d/poppassd Update “service time” to “service… Read More
How to correctly install wkhtmltopdf on debian 64 bit? February 27, 2017 Ubuntu and Debian packages are compatible most times but not in all cases, i think this is the trouble you’re having you’re trying to use the Ubuntu’s .deb for Debian instead you should get the Debian specific file, (it works for both jessie and wheezy) wget http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0.12.1_linux-wheezy-amd64.deb sudo dpkg -i… Read More
Installing SqlMap in Ubuntu / any Linux distro for SQL Injection January 27, 2017 SQLMAP is a automated SQL injection tool which does most of the work for you. If you don’t know what SQL injection is head over here: https://en.wikipedia.org/wiki/SQL_injection Using SQLMAP, you can “hack” many databases in very short time. In the next post, i will show you how to dump database tables… Read More