NTP Server

Setting up this NTP server on a linux box is one of the simplest services to install. Here is the walkthrough:

On a linux server:

apt-get install ntp
nano /etc/ntp.conf
Restart ntpd with /etc/init.d/ntp-server restart

On a cisco device:

ntp server <IP OF SERVER>

This is how to setup the cisco device to the right timezone and recalculate for daylight savings time (this is for the America/Central TZ):

clock timezone CST -6 0
clock summer-time CDT recurring last Sun Mar 2:00 last Sun Oct 2:00

Enjoy and if you have any questions comment or send me a message on the contact me page

Source:
http://support.ntp.org/bin/view/Support/InstallingNTP

Error 0xC004C020 In Windows 2008 r2

0xC004C020 Error:

0xC004C020 error means the Activation key has exceeded its limit. If you have activated the server once, it is expected behavior.

1. Run the command “slui 4” from the Elevated Command Prompt.
2. Please choose the nearest location where you live, click next.
3. Call the Activation Department with the telephone number provided by the last step.
4. Provided them with the Installation ID and they generate a corresponding Confirmation ID.
5. Enter the Confirmation ID.

You will be able to activate the Windows Server 2008 successfully, and remove that pesky error 0xC004C02.

As always leave me a comment or contact me via the contact page.

Cisco Router PPPoE Dialer Commands

Using PPPoE Dialer Commands in a Cisco router

Using PPPoE dialer commands in your Cisco router to authenticate with your ISP is not quite as simple as I once thought it would.  Here is a simple explanation and set of PPPoE dialer commands to get you pointed in the right direction.

This is a simple example doing just that:

vpdn enable

vpdn-group 1
interface FastEthernet0/0
 no ip address
 pppoe enable group global
 pppoe-client dial-pool-number 1
 no cdp enable
interface Dialer1
 ip address negotiated
 ip nat outside
 ip virtual-reassembly in
 encapsulation ppp
 dialer pool 1
 dialer-group 1
 ppp authentication chap pap callin
 ppp chap hostname <username>
 ppp chap password <Password>
 ppp pap sent-username <username> password <Password>

Please comment if you have any questions and I will respond as quickly as possible.

As always leave me a comment or contact me via the contact page.

Updating Splunk (version 4.2.4)

To update your Splunk server the process takes no more than 15 minutes. Here is the process:

Back up the server as always and if you did the installation as I described in my previous post this setup will work perfectly:

wget -O splunk-4.2.4-110225-Linux-x86_64.tgz 'http://www.splunk.com/index.php/download_track?file=4.2.4/splunk/linux/splunk-4.2.4-110225-Linux-x86_64.tgz&ac=&wget=true&name=wget&typed=releases'

/opt/splunk/bin/splunk stop

cd /home/user

mv splunk-4.1.7-95063-Linux-x86_64.tgz /opt/

tar zxfp splunk-4.1.7-95063-Linux-x86_64.tgz

/opt/splunk/bin/splunk start



After that just agree to the terms and test out the new functions and features of 4.2.4. Enjoy!

Multi Command Sender in PCM

This is just a simple video I created on using the Multi Command Sender in PuTTY Connection Manager:

 

You ever get tired of sending sudo apt-get update to all ten of your linux servers, here is a quick solution for that. Now that you have two or more windows actively displayed at once all you need to do is a few simple steps and you can send one set of commands to all them at once. Begin with right clicking on the title of your session and select Listen for MCS commands. Repeat this for the next session window you wish to send commands to. Finally, you will notice that the Command window is available to type in, at the top of your screen. Now go ahead and type something in it, you can instantly notice it is sent to both sessions. Can’t you feel your life getting easier already.

To download PuTTY Connection Manager Click Here