Tuesday, 26 August 2014

CrystalDiskMark: Lenovo ThinkPad X220 & Samsung 840 Series Pro 256GB SSD Benchmark

Lenovo ThinkPad X220 and Seagate 320GB ST320LT007:

Lenovo ThinkPad X220 and Samsung 840 Series Pro 256GB SSD:

Tuesday, 19 August 2014

Telnet: SMTP Commands To Send Email

To send an email via Exchange using telnet:

telnet 25
220 Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at  Tue, 19 Aug 2014 14:51:42 +0100
EHLO Hello []
250 2.1.0 OK
250 2.1.5
354 Start mail input; end with <CRLF>.<CRLF>
Subject: Test Message

Press Enter two times. You will not receive a response from this command.
This is a test message.
250 2.6.0 <> Queued mail for delivery
221 2.0.0 Service closing transmission channel

Connection to host lost.

Monday, 11 August 2014

Windows: Set MTU

To view the current MTU, open command prompt and enter:

netsh int ipv4 show int

The output should be similar to the below:

Idx     Met         MTU          State                Name
---  ----------  ----------  ------------  ---------------------------
 11          10        1300  connected     Local Area Connection

To change the MTU, enter:

netsh interface ipv4 set subinterface "11" mtu=1300 store=persistent

Where the subinterface value matches the entry in the Idx column.