Ubuntu- adding new interfaces Rumi, June 28, 2009 It was a little tricky than my centos or suse or fedora experiences, start looking for- /etc/network/interfaces And here goes my configurations- # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo eth0 eth1 iface lo inet loopback # The primary network interface iface eth0 inet static address 123.45.6.78 netmask 255.255.255.0 network 123.45.6.0 broadcast 123.45.6.255 gateway 123.45.6.1 dns-nameservers 127.0.0.1 202.53.160.6 dns-search ensiigen.com pre-up iptables-restore < /etc/iptables post-down iptables-save -c > /etc/iptables # dns-* options are implemented by the resolvconf package, if installed iface eth1 inet static address 192.168.0.107 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 Now need to restart the ethernet interfaces- /etc/init.d/networking restart Related Administrations Configurations (Linux)
MySQL Database Import Command July 31, 2012 The syntax is as follows to import the data created by mysqldump command: mysql -u {DB-USER-NAME} -p {DB-NAME} < {db.file.sql} mysql -u {DB-USER-NAME} -h {MySQL-SERVER-HOST-NAME} -p {DB-NAME} < {db.file.sql} In this example import a file called sales.sql for salesdb1 user and sales db, enter: $ mysql -u sales -p salesdb1… Read More
How to setup an OpenLDAP server on Debian or Ubuntu November 18, 2011November 18, 2011 Most enterprises use LDAP as interface to their company structure database. In the Microsoft world is Active Directory the implementation for LDAP. Under Linux is OpenLDAP the common choice for admins. Such LDAP directories are tree based. OpenLDAP is the reference implementation for LDAP v3. The JNDI API inside the… Read More
Set Up a Radius Server on pfSense November 2, 2022November 5, 2022 Installing the Package The pfSense 2.X package manager includes both FreeRadius and FreeRadius2 as installation options. For this example, I’m going to be using FreeRadius2 since it has some additional features not found in the previous version. Only one version of radius can be installed on pfSense at a time…. Read More