Thursday, May 13, 2010
Regular Expressions Searching
Quick/Visual/Learning:
/btarget/b - will find the whole word target in a text string (works with start/end line, spaces, special char
examples -- target @target -target-
(^| +)target( +$) - will find target at start/end of line or with spaces before/after. Will not match special characters.
example -- target
Here is a tutorial on regular expression searches
Thursday, June 11, 2009
Asus error "System Failed CPU Test"
On boot get voice error through speakers that says "System Failed CPU Test", repeated over and over.
Quick/Visual/Larning:
Turns out that this error was related to the power supply. Replaced the power supply and a dead system fan that may have been pulling extra juice from the power supply as well.
Friday, January 2, 2009
Telephone Color Code 25 Pair
Tracing cables to punch blocks what is the color code?
Quick:
http://en.wikipedia.org/wiki/25-pair_color_code
Visual:
Image from the above link
Monday, July 7, 2008
Ethernet Wiring and Loop Back
How to know what kind of network cable you have or need and how they are wired.
Quick:
See pictures below for wiring diagram.
Visual/Learning:
Working on point to point T1 connection issue today required making a ethernet loopback connector.
The loopback is made by cutting a normal RJ-45 cable and twisting the wires together that go to pins 1 & 4 and 2 & 5.
The link below is a great reference for ethernet cable wiring.
HowToWireLink
This is a pinout image from that site:

Update to post Sept 2008,
If you join Techrepublic you can get to another link with some good information regarding cabeling:
http://blogs.techrepublic.com.com/networking/?p=649&tag=nl.e115
This image is from the Cisco link at the bottom of the post. This is how I identify cables. I hold both ends and look at the order of the cables as explained below.

---key information form the techrepublic link---
While you could put different ends on a UTP cable, typically it will have a RJ45 end with 8 pins.
With a normal Ethernet cable, the wires run straight through, from one end to the other. Straight-through cables are used to connect a PC to a switch

With a crossover cable, the source and destination of the UTP wires are crossed. This allows you to use it to connect a PC to PC, switch to switch, or router to router.

Cisco console and AUX port cabling
There are a few differences between Cisco cabling and other network device cabling. Two things immediately come to mind:
Cisco routers, switches, and firewalls use a special “rolled” cable for console and auxiliary port access.
Cisco offers intelligent serial cabling.
One of the most confusing things to Cisco newcomers is the concept of the console cable. Other SMB and home-networking devices don’t usually have a console port. With those devices, they receive a DHCP IP address and then you can configure them over the network from there. With Cisco devices, there is no IP address on the device, and you must first use the console port and console cable to configure the router, switch, or firewall OOB (out of band).
The Cisco console cable is a special cable. It isn’t wired like an Ethernet cable. However, if you didn’t have a console cable, you could cut off the end of a straight-through Ethernet cable, change the pin out, and recrimp it to make it a console cable.
Below, you can see the pin out of a console cable. The console cable is a “rolled” cable, because if you look at the pins from one end to the other, it is as if the end was rolled over (the order is flipped),
Traditionally Cisco console cables were RJ45-RJ45 and then you would use a RJ45-DB9 adaptor to connect it to your PC’s serial port (COM port). Today, new Cisco devices come with console cables that have a DB9 adaptor integrated/molded to the cable on one end (Figure D). Keep in mind that the data moving across the console cable is serial data (not Ethernet).
More info on these Cisco cables at:http://www.cisco.com/en/US/products/hw/routers/ps332/products_tech_note09186a0080094ce6.shtml
---End of info from Techrepublic link---
Wednesday, June 11, 2008
UPS - How to get APC Smart-UPS (Uninterruptible Power Source) to manage all the attached computers
First we made the mistake of buying Powerchute Business Addition. This will let you manage multiple USP devices but not multiple machines connected to each device.
Next after talking to APC support we found out that you can buy a APC device that is a kind of USB hub which will allow you to shutdown up to 8 machines. This solution seems a bit kludgy and you have to buy their hub and special USB cables for each connection, which gets a bit expensive.
The best option we found was to buy the APC Management Card. This card fits into the UPS expansion slot and gives you an Ethernet connection that you can use to manage as many machines as you want by IP address. Just plug an Ethernet cable from the UPS to your switch and install the client application on each of the machines you want to control.
The process and things we learned:
Don’t expect much from the documentation that comes with the management card.
You have to power off the UPS to install the card in a SMART-UPS.
Connecting a laptop to the UPS serial connection is the most reliable way of configuring the management card. Settings are 2400 bps, 8 data bits, no parity, 1 stop bit, and no flow control.
If you have ever used the USB port on the UPS you have to do the following procedure to get the serial connection to work:
1. Turn off the UPS
2. Unplug the UPS
3. Press and hold the off button for 10 seconds
4. Make sure the usb cable is unplugged.
5. Plug in and power it back up.
Default user is apc and the password is apc as well.
Once you are logged in you get a text menu:
Select 2 for Network and then configure the IP address under TCP/IP option.
I set ours to manual and gave it a static IP address.
Exit and logout to save your settings.
You can now setup the Management Card remotely with a browser.
Put the IP address of the UPS in the browser and use apc for both the username and password.
Next add the client machines you want to be able to power down.


Download the client software to install on each client machine.
http://www.apc.com/
Select Software & Firmware on the home page.

Finish downloading clients for each of the needed operating systems.
When you install the client on each machine you will need to have the IP address of the management card so that you can point the client to it and the Authentication Phrase

Wednesday, May 14, 2008
Change Drive in a Acomdata Enclosure
Your Acomdata drive dies and you want to reuse the enclosure.
Quick:
The enlosure has hardware that looks for the drive to be partitioned in a special way. Part of the hardrive is used for a "CD image" and the rest is storage space.
To convert regular hardisk to CD/HDD image download this file.
To convert CD/HDD image to regular hardisk download this file.
Fond this information at this site.
When you put the new dirve in configure it for cable select (not master or slave)
Connect up to your computer and power up the drive.
You should see a new empty CD drive letter appear.
run the program to convert it to CD/HDD
It will ask you to enable security password. I did this but maybe you can get arround it by leaving it blank.
When it was done I powered off and on the drive.
Now I see the CD part with the program files loaded but no letter for the HD.
On the CD part I ran PWManger.exe to Disable the Password security.
After that I powered off and on the drive again.
Now I see the CD and HD parts.
Under windows management I reformated the HD part to NTFS instead of FAT32
The drive is ready to use.
and the HD part.


