Configuring additional ETH interfaces in CentOS

Assuming you already have an ETH0 configured and working, log in at the console and configure it just like a normal RHEL/CentOS nic configuration:

  1. cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1
  2. vim /etc/sysconfig/network-scripts/ifcfg-eth1
    1. Update the ETH # to the next in line.  (ETH0 to ETH1…)
    2. Update the correct IP & Subnet
    3. :wq
  3. service network restart
  4. run ifconfig to ensure the settings have taken effect
Continue Reading

MacMini Wireless AirPort disconnecting randomly or after sleep

This is what solved my problems with WiFi disconnecting randomly, not appearing after awakening, etc.

1. Open network preferences from your WiFi icon in the menu bar. Then click advanced. Delete the network that is giving you problems.

2. Open Keychain in the utilities folder of your hard drive. Find the passwords that are stored for your particular network and delete them. There may be multiple passwords for your network, so search carefully.

3. Repair permissions using the disk utility.

4. Reboot the computer.

5. Reenter your network data to log into the network.

Continue Reading

Changing the IP on a network card on a Linux distribution

For Red Hat distributions, you will edit:

For Debian distributions, you will edit:

If you are running DHCP, or Static and want to swap between the settings, here are two examples for your use:

DHCP will look something like this:

STATIC will look something like this:

# # File: ifcfg-eth0
# DEVICE=eth0
# # The following settings are optional #
Continue Reading