Sunday, July 16, 2023

How to install Windows 11 without TPM

 If you encounter this message below, it's likely you don't have a TPM module.

"This PC can't run Windows 11"


How to go around it:

Step 1: Press Shift - F10

Step 2: Type regedit

Step 3: Navigate to Computer -> HKEY_LOCAL_MACHINE -> System -> Setup

Step 4: Right click on Setup and click New -> Key. Name it "LabConfig".  (Note the capitalization)

Step 5: Create new DWORD32. Name it "BypassTPMCheck". Value "1".

Step 6: Create new DWORD32. Name it "BypassSecureBootCheck". Value "1".

Step 7: Close regedit and return to installer.

Saturday, July 15, 2023

How to install Ubiquiti Network Application on Ubunutu 22.04

Get latest instructions from this post. Below are the steps I did:

Step 1: Login as root

    sudo -i

Step 2: Update system

    apt-get update; apt-get install ca-certificates wget -y

Step 3: Get script

    wget https://get.glennr.nl/unifi/install/unifi-7.3.83.sh

Step 4: Execute script

    bash unifi-7.3.83.sh

Step 5: Open web browser

    https://192.168.XX.XX:8443/


Uninstall using following:
    apt-get purge unifi


References:

Sunday, January 8, 2023

OpenVPN Server on Ubuntu 22.04 LTS Desktop VMWare Virtual Machine

Hardware & Software

  • Host: Windows 11
  • Host: VMWare Workstation Pro 18
  • Guest: Ubuntu 22.04 LTS Desktop
  • OpenVPN

VMWare Guest Configuration



  • VMWare Network: Bridged
  • Install Ubuntu 22.04 LTS Desktop
  • In Ubuntu, set Static IP Address (e.g. 192.168.26.60/24)

OpenVPN Server Installation

  • Update System
    • sudo apt update
    • sudo apt upgrade
  • Get OpenVPN
    • wget https://git.io/vpn -O openvpn-ubuntu-install.sh
    • chmod -v +x openvpn-ubuntu-install.sh
  • Install OpenVPN
    • sudo ./openvpn-ubuntu-install.sh
    • Public IP address or hostname: <your DDNS hostname>
    • Protocol: UDP
    • Port: 1194
    • DNS: 1.1.1.1
    • Client Name: phone
  • Additional options in /etc/openvpn/server/server.conf
    • duplicate-cn
    • client-to-client
  • Manage OpenVPN
    • sudo systemctl stop openvpn-server@server.service
    • sudo systemctl start openvpn-server@server.service
    • sudo systemctl restart openvpn-server@server.service

Configure Router / Gateway


OpenVPN Client Installation

  • Transfer /root/phone.ovpn to your device
  • Import phone.ovpn in OpenVPN

References:

  • https://www.cyberciti.biz/faq/ubuntu-20-04-lts-set-up-openvpn-server-in-5-minutes/