Lapas

otrdiena, 2015. gada 13. oktobris

Change windows 8/2012 network status.

Change windows 8/2012 network status from Public to Private
Open PowerShell
Get your NIC InterfaceIndex: Get-NetConnectionProfile
Change status: Set-NetConnectionProfile  -InterfaceIndex XXX -NetworkCategory Private

Test server dns and dc

Open command prompt

NLTEST /DSGETDC:dc.local

DCDIAG /TEST:DNS /V /E /S:dc.local

piektdiena, 2015. gada 18. septembris

Excel revers find()

B1 - cell with string
~ - replace tilde(~) with other symbol if your string contains it.

=IF(ISERROR(FIND("\",B1)),B1,RIGHT(B1,LEN(B1)-FIND("~",SUBSTITUTE(B1,"\","~",LEN(B1)-LEN(SUBSTITUTE(B1,"\",""))))))

otrdiena, 2015. gada 15. septembris

Windows 7/8 enable NumLock on startup

Press Win + R and type in Regedit
Navigate to registry key HKEY_USERS\Default\Control Panel\Keyboard 
Right click on the “InitialKeyboardIndicators”, select Modify and change Value data to 2.

piektdiena, 2015. gada 10. jūlijs

Test bandwidth between two hosts

Install iperf CLI tool:
apt-get install iperf
or
download for windows from https://iperf.fr/

Run iperf as server on one host(192.168.0.1):
iperf -s

Run client on other host(192.168.0.100):

iperf -c 192.168.0.1 -t 30 -i 5

Output:
------------------------------------------------------------
Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.100 port 49363 connected with 192.168.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 5.0 sec  53.8 MBytes  90.2 Mbits/sec
[  3]  5.0-10.0 sec  55.0 MBytes  92.3 Mbits/sec
[  3] 10.0-15.0 sec  54.2 MBytes  91.0 Mbits/sec
[  3] 15.0-20.0 sec  55.2 MBytes  92.7 Mbits/sec
[  3] 20.0-25.0 sec  54.1 MBytes  90.8 Mbits/sec
[  3] 25.0-30.0 sec  54.1 MBytes  90.8 Mbits/sec
[  3]  0.0-30.0 sec   327 MBytes  91.3 Mbits/sec


Use parameter -w 1m to specify TCP window size .

Detailed information: http://openmaniak.com/iperf.php
Information about TCP windowing: https://www.slashroot.in/ 

trešdiena, 2015. gada 8. jūlijs

trešdiena, 2015. gada 1. jūlijs

Force HP ILO to reset network interface

When you apply new network settings - ILO shows message: "There are pending changes that may not take effect until iLO is reset."
To force ILO reset use putty to ssh ILO and type commands:

cd /map1
reset


Source: eMware