শুক্রবার, ২২ জুন, ২০১৮

Ubuntu Shorcuts

Change interfaces config:
sudo nano /etc/network/interfaces
Then replace the following conf:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto ens160
iface ens160 inet static
# Enter your specific IP address
        address 192.168.1.130
        netmask 255.255.255.0
        gateway 192.168.1.1
        dns-nameservers 8.8.8.8 8.8.4.4
Then trigger it via:
ifdown ens160; ifup ens160
If you confront with an error, do it command:
ip addr flush dev ens160

iface eth0 inet static
    address 172.16.100.17/24

iface eth0 inet static
    address 172.16.24.11/24
sudo ifdown eth0 && sudo ifup eth0
ip addr add 192.168.1.1/24 dev eth0
ip addr del 192.168.1.1/24 dev eth0

বৃহস্পতিবার, ৭ জুন, ২০১৮

MRTG HTML Forward

<!DOCTYPE html>
<html>
<head>
<!-- HTML meta refresh URL redirection -->
<meta http-equiv="refresh"
content="0; url=http://mrtg.reignict.com/cacti">
</head>
<body>
<p>Welcome to ReignICT MRTG Server.:
<a href="http://mrtg.reignict.com/cacti">this page</a></p>
</body>
</html>