CentOS Linux or Ubuntu Linux – Get List of ip addresses on Server | Here’s a quick one-liner to spit out all ip addresses from ifconfig:
Wireshark on Debian – How to Capture without root or sudo
Wireshark on Debian – How to Capture without root or sudo | To capture packets with wireshark on Debian without root, one must complete a couple of steps. I’ll show you how it works!
How to run a Tor Relay on Ubuntu or Debian
How to run a Tor Relay on Ubuntu or Debian | Here is a quick how-to for setting up a Tor relay on Ubuntu or Debian Linux!
How to install host, nslookup and other BIND tools on Windows
How to install host, nslookup and other BIND tools on Windows | For a Linux admin using Windows, cygwin unfortunately does not provide host, nslookup, or other bind tools. I’ll show you how to download these BIND tools directly from ISC and have them work in your cygwin terminal! Note: this assumes you already have a working cygwin install. First, download the latest version of BIND for
CentOS 6 or Red Hat 6 | Install DHCP Server
CentOS 6 or Red Hat 6 | Install DHCP Server | On CentOS 6 or Red Hat 6, installing a DHCP server is not too difficult. I’ll show you how it works! First, install the DHCP server: $ sudo yum install dhcp The configuration file (blank) is located here: /etc/dhcp/dhcpd.conf To copy a sample configuration file over for the production file, use the following command: $
Fast Host Discovery with nmap
Fast Host Discovery with nmap | The easiest way to do host discovery is with nmap. nmap of course offers a variety of ways to probe and map out detected hosts and poke at any open ports or services. But as for a quick discovery, ICMP is ideal to just get a quick assessment of online hosts. I’ll show you how!
Example Interview Questions for Networking or Linux Jobs
Example Interview Questions for Networking or Linux Jobs | Below are a few good interview questions for networking or Linux related jobs. These will give a relatively good assessment if the candidate has good knowledge of some fundamentals. Alternatively, this makes a great study guide if you are applying for any networking or Linux related jobs. Wikipedia is the best guide and much better
ss – the alternative to netstat
ss – the alternative to netstat | An alternative to netstat is the utility ss. ss dumps socket statistics in a clear and more simple view as compared to netstat. Let’s check it out! With no options specified, ss displays a list of TCP sockets with established connections. This is useful on a server to see what clients are connected. The option
Windows | Use pathping to Check for Packet Loss
Windows | Use pathping to Check for Packet Loss | The Windows equivalent of mtr is pathping. The pathping command measures packet loss against each particular hop of a traceroute. This is helpful to pin point the exact hop along the way that may be problematic. In Windows, crack open a command prompt and type: C:\> pathping [target] The target can be an IP address
Start eth0 at boot Red Hat | CentOS
Start eth0 at boot Red Hat | CentOS | To have eth0 start at boot, edit the following file: $ sudo nano /etc/sysconfig/network-scripts/ifcfg-eth0 Change ONBOOT to “yes” DEVICE=”eth0″ BOOTPROTO=”dhcp” HWADDR=”08:00:27:CE:54:D9″ NM_CONTROLLED=”yes” ONBOOT=”yes” Done!




