Friday, July 31, 2009

Friday Fun: Learn How to Solve a Rubik’s Cube :: the How-To Geek

Friday Fun: Learn How to Solve a Rubik’s Cube :: the How-To Geek

Shared via AddThis

Thursday, July 30, 2009

How to restart Splunk service on Ubuntu Server

Recently I installed a splunk package on one of my ubuntu servers. Everything goes well except after I restarted the server. The splunk service doesn't start automatically. So what I did is add the splunk daemon to ubuntu startup .

On ubuntu menu bar click on System --> Preferences then navigate to Startup Applications.

On Start up Applications Preferences window click on Add.


Name it as Splunk Daemon then add the command to run splunk on startup which is /opt/splunk/bin splunk start


Splunk will now start automatically everytime the server is restarted. Splunk admin page can now be access using this link - http://server-ip-address:8000.

Wednesday, July 29, 2009

Allen Sportswear for Basketball Uniforms

Recently Filipinos here at VBC formed some sort of an inter company basketball league which will kick off sometime this August.

So our company decided to participate and form a team. So here goes the discussion on where to order the uniform, the design, color, sizes etc. We thought of ordering it locally here in Baghdad but seems nobody plays basketball in Baghdad so obviously there's no place to order for uniforms :). So we resorted to ordering it online. I did send an email to all the store that appears on the first page of google if they can deliver here in Baghdad.

Among those store only Allen Sportswear replied and confirmed that they can deliver to Baghdad. The good thing I like about Allen Sportswear is on how they handle their clients. From the Account Manager (Ryan Brimmer) up to the Customer Support (John Malone). Ryan provided some inputs on how to make the uniform look better and find some ways on how to make the process easier for both of us.

What I thought was once the payment is made the deal is over. I already submitted my design then that's it, we'll just have to wait for the uniforms to arrive. But then John sent me another email just in case if I need to do some last minute changes prior to production . . .and indeed I need to make some changes after reviewing the attached document. One of the uniform size has to be change from Large to 2XLarge.

If the customer support person hadn't sent me that email then I will be in trouble. It's the Boss' uniform who has the wrong size.

A mockup of VIAP Iraq Basketball uniform. Dress Like It, Play Like It.

Sunday, July 26, 2009

Cisco Aironet 1200 Series Configuration

My previous process in resetting Cisco Aironet 1200 Series AP in which resetting is done using Hyper terminal and pressing the reset button then checking the dump data on hyper terminal for the default IP address which is normally 10.0.0.1 then accessing the admin page via HTTP using the default IP address. . . In some versions of Cisco Aironet 1200 Series this doesn’t work anymore.

This is the new process in assigning a new IP address to an access point that has been reset to default factory settings.

Run hyper terminal. Be sure you have the settings for the hyper terminal which is Speed=9600 bits per second (bps) Data bits=8 Stop bits=1 Parity=None Flow Control=Xon/Xoff

NOTE: if the flow control Xon/Xoff does not work, try using the flow control none.

Plug the console cable on the Cisco Aironet 1200 Series AP

Hold the Mode/Reset button of the Cisco Aironet 1200 then plug the power adapter

Hold down the reset/Mode button for 5 seconds then release.

This will provide you a dump on hyper terminal

As you can see on the dump this will provide a default IP address of 10.0.0.1

Just let it run and continue with the dump process

When it's finish press on enter

This will give you the prompt ap>

On ap> prompt enter this command

ap> enable

This will ask for a password in which the default is Cisco

Configuration mode is now enabled

ap#

Enter the following command to configure the terminal

ap# config term

The new prompt would be something like this

ap(config)#

Enter the following command to assign a new IP address to the access point

ap(config)# int bvi 1
ip address a.b.c.d sub.net.ma.sk

Where a.b.c.d is the IP address to be assigned on the device and the equivalent subnet mask

You may run the end command to exit the configuration

ap(config)# end

Verify the assigned IP address

ap# show interface bvi 1

This will provide some information on this interface including the assigned IP address

ap#show interface bvi 1
BVI1 is down, line protocol is down
Hardware is BVI, address is 001c.58a6.0ae3 (bia 0007.0e66.f000)
Internet address is 192.168.1.17/24
MTU 1500 bytes, BW 54000 Kbit, DLY 5000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
48 packets output, 29664 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out



Plug the UTP cable on the ethernet port then ping the device to verify the new assigned IP address

Now configuration process can be continued via HTTP access on the assigned IP address.

Social Media Optimization: An Easy Guide to Marketing and Promoting your blog

Saturday, July 25, 2009

Cisco Catalyst 3560 Loopback Error Recovery

Recently we encountered an issue on Cisco Catalyst 3560 switch in which ports Fa0/10 and Fa0/22 has been disabled automatically by the IOS Software due to an error.

First thing to do is determine the cause of the error. This topic can be found on the Cisco website on this link.

IOS commands issued to determine the error.

In my case I always utilize putty in accessing Cisco IOS.

Login to Cisco IOS (telnet) using putty then enter the equivalent password for Cisco IOS

Run enable command then enter the equivalent password

Then run this command to determine the status of the port

Switch26# show interface Fa0/10 status
Port Name Status Vlan Duplex Speed Type
Fao/10 err-disabled 1 auto auto 10/100BaseTX


To determine the cause of the error run the following command
# show log

This command will dump a log on all the ports. Check specifically the logs on the port that encountered the issue.
In our case its interface Fa0/10

The log would show up something like this

%PM−4−ERR_DISABLE: loopback error detected on Fa0/10, putting Fao/10 in
err−disable state

So the error encountered was a loopback.

Cisco Catalyst 3560 Switch loopback issue

A loopback error occurs when the keepalive packet is looped back to the port that sent the keepalive. The switch sends keepalives out all the interfaces by default. A device can loop the packets back to the source interface, which usually occurs because there is a logical loop in the network that the spanning tree has not blocked. The source interface receives the keepalive packet that it sent out, and the switch disables the interface (errdisable). This message occurs because the keepalive packet is looped back to the port that sent the keepalive:

The suggested workaround is to disable keepalives and upgrade to Cisco IOS Software Release
12.2SE or later.

Run the following command to disable keepalive on a particular port

Switch26#configure terminal
Switch26 (config) #interface Fa0/10
Switch26 (config) #no keepalive
Switch26 (config)end

Run this command to check the current configuration
Switch26#show running-config interface Fa0/10
Building configuration...

Current configuration : 48 bytes
!
interface FastEthernet0/10
no keepalive
end

Copy the running configuration to the startup configuration

Switch26#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Switch26#

Now we need to enable the new settings to the port by resetting the port

Run the following command shutdown and no shutdown


Switch26#
Switch26#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch26(config)#interface Fa0/10
Switch26(config-if)#shutdown
Switch26(config-if)#end
Switch26#show running-config interface Fa0/10
Building configuration...

Current configuration : 58 bytes
!
interface FastEthernet0/10
no keepalive
shutdown
end

Switch26#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch26(config)#interface Fa0/10
Switch26(config-if)#no shutdown
Switch26(config-if)#end
Switch26#show running-config interface Fa0/10
Building configuration...

Current configuration : 48 bytes
!
interface FastEthernet0/10
no keepalive
end

Switch26#

That’s all folks . . .

Friday, July 24, 2009

Backing up Outlook PST File on Windows XP

Lately I've been trying to find a tool that would allow me to embed a pdf file on a blog. The first on the list that came up on google was scribd but when I tried uploading a pdf file to it then embed the pdf to my blog the output seems blurred and unreadable so I tried acrobat.com although the display is smaller but the clarity of the document is better.

Proxy Configuration for Internet Explorer

Proxy Configuration for Firefox

Thursday, July 23, 2009

My First Knife: Gerber Gator


I got my Gerber Gator at the IZ inside Camp Prosperity PX. What I like about this knife is its soft grip. One thing it lacks is the clip so it would be easier to insert on pockets and that's the reason why I am getting a second knife.
This knife is just in my backpack and hasn't been put to good use. Lately my neighbor at Dodge City South CHU knock on my door asking if I have a knife so he could use it to open his door since he forgot his key inside his room. Then we utilized it also to open the window screens or shall we say 'destroy' the window at the back of his CHU. Much easier approach than destroying the door knob with a Gerber Gator knife.
More details about this knife can be found here.

PHP Programmers Needed

PHP Programmers needed at Concentrix

Please email resume to maureen.delid@concentrix.com

Company Contact Details
SYNNEX-Concentrix Corporation(Formerly Link2Support, Inc. )
5/F TechnoPlaza One Building
Orchard Rd.
Eastwood City Cyberpark,188 E. Rodriquez Jr. Avenue
Bagumbayan,Quezon City
1110Philippines