Monday, November 13, 2017

Windows Update Troubleshooter

OR

https://www.microsoft.com/en-us/software-download/windows10


What is the Microsoft Windows version and build number?

To look up the Windows version and build number, follow the steps below:
1) Press the Windows key and the letter "R" at the same time.  This will bring up the Run command window. 
2) Type "winver" and then press the OK button.

Friday, August 25, 2017

Configuring OpenVPN to run automatically on system startup

Windows




  1. Download and install OpenVPN
  2. Save config file (ovpn) in C:\Program Files\OpenVPN\config folder.
  3. Create a txt file with the file name auth.txt.  The first line being the user name and the second line being the password for your OpenVPN server.
  4. Save auth.txt folder in the C:\Program Files\OpenVPN\config folder.
  5. Edit the config/ovpn file and add the following line: auth-user-pass auth.txt
  6. Go to setting of OpenVPN and uncheck start on windows startup.
  7. Open Task Scheduler and create a Basic Task
  8. Start on user log on.
  9. The program will be: "C:\Program Files\OpenVPN\bin\openvpn-gui.exe"
  10. Add arguments: --connect "ENTER CONFIG FILE NAME HERE"
  11. Start task after network connection is established.

Saturday, August 5, 2017

FreeNAS iPerf - Measure Maximum TCP and UDP Bandwidth Performance

How to test network performance with FreeNAS server and Windows.

  1. Disable windows firewall.  This is necessary if you want to test both send and recieve speeds using the -r switch.
  2. Launch shell in FreeNAS.
  3. Determine the version of iPerf the is installed.  Type: iperf -v
  4. Download and extract respective iPerf version in root folder (c:\iperf) of Windows machine you will be testing with FreeNAS. Download link:  https://iperf.fr/iperf-download.php
  5. Launch command prompt as administrator and navigate to iPerf folder (c:\iperf).
  6. In FreeNAS server shell stat iPerf server by typing: iperf -s
  7. On windows machine (iPerf client) in command prompt, navigate to iPerf folder type: iperf.exe -c FreeNASIP -P 10 -t 15 -r
  8. iPerf will run 10 simultaneous processes for 15 seconds and display results.
  9. When finished testing, on FreeNAS server type: killall iperf .  You may need to enter this command two times.  This is required as your CPU usage will likely be very high until you kill iPerf.

Sunday, July 9, 2017

View pfSense Disk Usage

If your disk is full and you are running ntopng, go to ntopng settings and delete ntopng data.  This is most likely the issue.

Execute the following from a command prompt in pfSense.

Display directory sizes:
du -h -d1 /

Display 20 largest directories in descending order:
du -h -d1 / | sort -rh | head -n 20

Display 20 largest files:
du -mah | sort -rh | head -n 20

Display directory contents with file sizes in descending order.
ls -lhS

Display specific directory contents with file sizes in descending order:
ls -lhS /var

Recursive directory list:
ls -R

List directories with full path:
ls -d $PWD/*

Check File System Disk Space Usage:
df

Display Information of all File System Disk Space Usage:
df -a

Show Disk Space Usage in Human Readable Format:
df -h

Display File System Type:
df -T

Display disk usage statistics for a specific directory:
du /var

Monday, February 20, 2017

How To Enter BIOS



Dell - Tap F12 when the Dell logo is displayed.
HP - Tap F12 when the HP logo is displayed.
Lenovo - Tap F12 when the Lenovo logo is displayed
Apple - Hold Option (next to the ⌘ key) when the computer first turns on.
Super Micro - Tap DEL when the logo is displayed.

Monday, November 21, 2016

Set Time on HP / Aruba 2530 Switch

This can not be completed from the web GUI.  SSH into switch on port 22.

Type: configure

To set time type: clock set HH:MM

To set date type: clock set DD/MM/YYYY

To check time type: time

Done