All posts by joe.relhak@gmail.com

Windows Server NTP Time Setup

net stop w32time
W32tm /config /syncfromflags:manual /manualpeerlist”pool.ntp.org”
w32tm /config /reliable:yes
net start w32time
w32tm /query /configuration

from

https://www.experts-exchange.com/videos/511/Windows-Server-2012-Configuring-NTP-Servers-for-Time-Synchronization.html

Powershell

Stop-Service w32time
w32tm /config /syncfromflags:manual /manualpeerlist:”0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org”
Start-Service w32time
w32tm /resync
w32tm /query /status

Fortinotes

Reset snmpd –
di test app snmpd _
4 rest
99 restart daemon

dia sys kill 9/11/15 PID

di de di
di vpn ike log-filter clear
di vpn ike log-filter _
di de app ike 255
di de en

get sys perf status

di de en
di de flow show console enable
di de flow show function-name enable
diag debug flow show iprope enable
di de flow filter _
di de flow trace start 1000
di de di

di sniff packet any ” host x.x.x.x ” 4

di firewall iprope flush

Test Internet Connection Speed with speedtest-cli

Install speedtest-cli on Linux

speedtest-cli is a simple CLI client written in Python for measuring bidirectional Internet bandwidth by using Speedtest.net infrastructure. It works with Python 2.4-3.4. Installing the latest speedtest-cli is nothing more than downloading the Python script.

$ wget https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
$ chmod a+rx speedtest_cli.py
$ sudo mv speedtest_cli.py /usr/local/bin/speedtest-cli
$ sudo chown root:root /usr/local/bin/speedtest-cli

 It is straightforward to check your Internet speed with speedtest-cli. Running speedtest-cli command without any argument gets its job done.

$ speedtest-cli
Credit : http://xmodulo.com/check-internet-speed-command-line-linux.html