If you are using telnet to test and troubleshoot services you will be “surprised” that telnet is not installed by default.

C:\Users\>telnet
'telnet' is not recognized as an internal or external command,
operable program or batch file.

To to enable it back follow this procedure:

  1. Go to Start – > Control Panel -> Programs -> Turn Windows Features On and Off
  2. Check Telnet Client and click OK (See screenshot below)
  3. After a while it is ready
  4. Enjoy

Screenshot of Microsoft features showing how to enable Telnet

When testing e-mail server one of the tools that are proven to be useful is plain old telnet.
Actually this is not a surprise since SMTP protocol function is similar.

Here is how to use it:

1. Start from command prompt
2. Type
telnet mailhost 25
Note: Replace mailhost with your email server.

3. Type:
HELO server.com

Note1: depending on the server HELO have to be replaced with EHLO
Note2: Replace server.com with your domain

4. Type
MAIL FROM:you@server.com

Note: Again replace you@server.com with your e-mail address

5. Type

RCPT TO: recipient@server2.com

Note: Replace recipient@server2.com with recipient e-mail address
6. Type

DATA
after that optionally
SUBJECT: Your subject
then type your message
to finish place dot at new line.
.
6. To exit type
QUIT

It happens that sometimes when connecting to misconfigured Windows Terminal server (TS) client receives following error message:

“Your temporary license about to expire in… days”

This is usually dye to misconfiguration on the server side, but here is the trick to get additional 90 days temporary license:

WARNING: This requires editing of Windows registry. Use it on your own risk.

  1. Launch regedit – Start -> Run… -> regedit
  2. Go to HKLM\Software\Microsoft\MSLicensing\
  3. Delete hardwareID entry.
  4. Enjoy another 90 days, but not forget to plan for fixing the issue 🙄

Steve Jobs 1955-2011

Filed Under news | Comments Off on Steve Jobs 1955-2011 

Steve Jobs

After initial installation I started to measure performance.

One really good tool for the job is windows experience index.

Initially my system had overall index of 2.1:

Then I checked for updates. Fortunately there were some from Microsoft. Here is the result after updates:

As you can see my index jumped to 2.3 and my graphics performance increased to from 2.7 to 3.0.

Encouraged by this I’ve installed latest video driver from NVIDIA (for Windows 7):

The results since positive My index increased to 2.4 were not so drastic, but still an improvement. Probably this is because my card is relatively old and slow or just because NVIDIA does not have(yet) drivers tuned specifically for Windows 8…

Only time will tell 😉

Stay tuned.

I had Windows 8 installed on my old AMD 64 with 2G RAM.

Installation went smoothly and it was really quick (did not time it, but it is faster than XP installation) with 2 reboots required.

Almost all Hardware was recognized and functional – it looks like my integrated card reader give some trouble… but will work on it.

What I had to probably start with is that the license for that system is valid until March 8, 2012 (Is it a coincidence that this is international women day 😉 ).

And most importantly you have to plan that installation really carefully.

If you need to (witch is most probably the case) keep your old OS (XP/W7) you need to:

  1. Create new partition for Windows 8 – this can be done with live CD like partedmagic or similar tool (windows disk management).
  2. Choose that partition as destination during windows 8 install – you need to choose Custom as install method.
  3. Continue installation
  4. After installed go to system properties -> advanced -> startup and recovery settings and choose previous Windows version.

This procedure will show you menu on boot so you can choose what version to boot.

If you did not notice Microsoft released Windows 8 developer preview.
It can be freely downloaded from here.

But how to install it on the new computers without DVD ( NO CD’s available 🙁 since Win 7)?

The simplest answer is from USB key. But the question is how to “burn” DVD image to USB key?

So here is what you need:

  1. Computer that covers minimum system requirements – 1GHz+ CPU, 1/2GB RAM (32/64-bit versions).
  2. USB key (4G+) Smallest 32-bit image is 2.8G
  3. High speed internet – do not even think downloading via 56k modem
  4. You need to download appropriate version – 32 or 64 bit
  5. And finally you need a tool to “burn” – take it from here.

Next you need to:

  • Install the tool
  • Run the tool – Simply follow the wizard.

NOTE: your USB drive will be erased so make copy of your data before using it.

Warning: See my other post “Windows 8 installation and initial experience”  before starting installation.

  • Next step is to boot from USB key and install – this depends on your hardware 😉

2-nd NOTE: This is development preview version. Do not expect it to be stable it is not intended for end users yet. 😉

First what is IPMI?

IPMI stands for Intelligent Platform Management Interface standardized computer interface for administrators to manage computer system and monitor its operation.

It is supported by most major providers – Intel (of course), Dell, HP…

Installation

Installation is really simple:

yum install OpenIPMI OpenIPMI-tools
chkconfig ipmi on
service ipmi start

If you see error at last command check system log – it is possible that your hardware does not support IPMI.

Usage

To to see what you can do with it:

ipmitool help
man ipmitool

Enjoy:)

Recently I had to create a bash script to copy some files based on date.

The rule was copy yesterday’s files to …

But How to determine what was the yesterdays date?

The answer was in date man page.

Here are the parts from the script related to yesterday date:

$date -d '1 day ago' +'%Y/%m/%d'
2011/06/02

on Internet I’ve found also:

date --date='yesterday'
Thu Jun  2 14:01:28 EDT 2011

And (Bonus!!) if you want to go in future 😉

date --date='tomorrow'
Sat Jun  4 14:04:29 EDT 2011

Happy scripting…

Site was modified to give better experience to mobile users.
Your mobile browser will be automatically recognized.
If you wish to return back to full version there is a link at the bottom of the site.

← Previous PageNext Page →