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/


Tuesday, November 16, 2021

Mac Virtual Desktops

Hotkeys:

  • ⌘ - ↑ : Show Mission Control
  • ⌘ - ← : Go one desktop to left 
  • ⌘ - → : Go one desktop to right
  • ⌘ - 1 : Go to desktop 1
  • ⌘ - 2 : Go to desktop 2
  • ⌘ - 3 : Go to desktop 3

 


Monday, September 27, 2021

JDK + Eclipse PDT + Brew + Php + xdebug on Mac

Steps

  1. Download and Install JDK - https://www.oracle.com/java/technologies/downloads/
  2. Download and Install Eclipse for PHP developers - https://www.eclipse.org/downloads/packages/
  3. Install Homebrew - curl -fsSL -o install.sh https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh
  4. Install php and peclbrew install php
  5. Install xdebug - pecl install xdebug
  6. Edit php.ini - vi /usr/local/etc/php/8.0/php.ini

    xdebug.mode=debug

    xdebug.client_port=9000


Monday, May 17, 2021

How to install Windows 10 Pro on Intel NUC 11 Enthusiast

From: https://www.tenforums.com/installation-upgrade/148707-can-you-install-windows-10-pro-instead-windows-10-home.html


Q: So is it possible to install windows 10 pro during a clean install of windows when windows 10 home is embedded on the motherboard of a computer?

A: Yes. Create a text file containing:


[Channel]
Retail


Name the file as ei.cfg and place it in the sources folder in the install media. This will make Setup skip looking for a key in the bios and ask you which edition to install.

Saturday, April 25, 2020

Focusrite Clarette 4Pre USB + Ableton LIVE 10 Lite + ASIO4ALL + VB Audio + Voicemeeter + Meet or Skype + Windows 10

Here's how to make these all work together.

Configure Windows 10 default playback and recording devices


Right-click -> Open Sound settings



Related Settings -> Sound Control Panel


Configure Ableton LIVE 10 Lite

  • Set Driver Type to ASIO
  • Set Audio Device to ASIO4ALL v2

Input Config

  • Enable (Yellow) all 8 inputs
  • Name channels

Output Config

  • Enable first 2 channels
  • Name channels

Enable monitoring

  • Set Mic to channel 1 and Monitor to In.
  • Set Master Out to channel 1/2.

Configure ASIO4ALL

This can be accessed from Ableton in Settings->Audio->Hardware Setup.
- OR - 
from ASIO4ALL Taskbar (while Ableton is running)

  • Check wrench to enable Advanced view
  • Enable VB-Audio Virtual Cable Device & Out (IMPORTANT: Only as Output device, not as Input device)


  • Enable Focusrite USB Audio Device and In (IMPORTANT: Only as Input device, not Output device)


Configure Voicemeeter

  • Set Hardware Out A1 to Focusrite USB. This will enable all sound to go to Clarette.
  • Set Hardware Input 1 to Cable Output. Route to B2 (Voicemeeter AUX output). This will allow you to combine Cable Output + System to Voucemeeter AUX output for soundboard.





Configure Meet


  • Set Microphone as Voicemeeter Aux Output (if adding sounds) or VB Cable Output (if direct from Ableton)
  • Set Speakers to Focusrite USB 



















Configure Skype

See above.


Friday, April 10, 2020

How to clear Microsoft Excel data on MacOS

Step: 1: Close Excel

Step 2: Open the folder: ~/Library/Saved Application State. (Use shortcut: Cmd+Shift+G)

Step 3: Rename com.microsoft.Excel.savedState to something else.

Friday, August 23, 2019

Assioma duo LED bahaviour

Fast and continuous blinking for 3 seconds
indicates that Assioma is being switched on.

Short blinking every 3 seconds
indicates that Assioma is switched on.

Fixed light
indicates that the battery is being charged.

Short blinking every 0.5 seconds
indicates that the battery charging has been completed.