Tag: Homelab

Enable SSH on Unifi and Unifi Dream Machine Pro

Hi YouTube, welcome to the channel, my name is Alex and I am a System Administrator. If you’re new here, please consider liking, subscribing, and sharing. If you’ve been here before, welcome back. 

 

Let’s talk about configuring your Unifi Infrastructure for SSH access. There are actually two locations that you’ll need configure SSH from, and this is where it gets a little confusing. I am not totally sure why Ubiquiti chose to this this way, but this is how you do it. Let’s take a look.

Please consider subscribing to the channel if you find these videos and writeups helpful.

YouTube Channel – Subscribe Here

Unifi Dream Machine Pro (Paid Link) – https://amzn.to/37c7Tf5

Configure SSH Access to your Unifi Dream Machine or Unifi Dream Machine Pro 

To enable SSH to the UDMP itself, you need to either login to the cloud portal, or directly into the UDMP by it’s local IP. 

You’ll see “Settings” at the bottom, click that.

That will take you to another menu. In the left hand column, click “Advanced” 

 

At the top, you’ll see a toggle to enable SSH. Set your password by clicking the Change Password button .

 

Enter your password twice and click confirm

Let’s test using PuTTY. Open PuTTY and enter the IP for your UDMP. It should prompt you to enter your credentials, you can go ahead and do so. You should now have a console to your UDMP. 

Username: root 

Password: what you set in the previous step 

Once you enter your password, you’ll be at the comand prompt for your UDMP 

 

Configure SSH for Ubiquiti Access Points and Switches 

 

 Login to your Unifi Controller and click the gear icon in the lower left hand corner of your screen 

Click on System Settings 

Scroll down and hit the controller configuration button 

Click the second to last button on the bottom that says Device SSH Authentication. You can hit the toggle to turn it on. Here you can set the username, password etc 

Once you’ve made your changes, click the apply settings button. You can now launch PuTTY and see if you can SSH into one of your Unifi devices. 

We’ll use one of our Access Points for this demo. Put in the IP address and hit Open. 

You’ll be prompted for your username and password that you created above. Enter them and you now be able to login to your UniFi device. 

Affiliated Links:

I participate in the Amazon Affiliate program, affiliate links let me earn fees by linking to Amazon.com and other affiliate links. Links will be marked as (Paid Link)

Permanent link to this article: https://achubbard.com/2021/02/14/enable-ssh-on-unifi-and-unifi-dream-machine-pro/

Ubiquiti Unifi Dream Machine Pro | Unboxing and Configuration

 

Unboxing my new Ubiquiti Unifi Dream Machine Pro and running through basic configurations for my home lab network.

Video Equipment:

Logitech Brio – https://amzn.to/32JN0Dx

Lavalier Mic – https://amzn.to/31vPgOi

Video Capture Software – https://amzn.to/31yq0qQ

Permanent link to this article: https://achubbard.com/2021/02/03/ubiquiti-unifi-dream-machine-pro-unboxing-and-configuration/

How To Update Windows 10 Using PowerShell Commands

 

Learn how to update Windows 10 using PowerShell commands.

Check Out My Other Videos:

Networking Playlist – https://www.youtube.com/playlist?list=PL2lsgXYaK5wEn5zEGxOFHAcF1irL4UZYS

Windows Server Playlist – https://www.youtube.com/playlist?list=PL2lsgXYaK5wGbpyq25G9LIjjIH-rXwa5M

Check Out My Personal Blog Site: https://achubbard.com

Video Equipment: Logitech Brio – https://amzn.to/32JN0Dx

Lavalier Mic – https://amzn.to/31vPgOi

Video Capture Software – https://amzn.to/31yq0qQ

Permanent link to this article: https://achubbard.com/2020/11/12/how-to-update-windows-10-using-powershell-commands/

Rearming Windows Server 2019 Evaluation Copy | How To

 

 

Check Out My Other Videos:

Networking Playlist – https://www.youtube.com/playlist?list=PL2lsgXYaK5wEn5zEGxOFHAcF1irL4UZYS

Windows Server Playlist – https://www.youtube.com/playlist?list=PL2lsgXYaK5wGbpyq25G9LIjjIH-rXwa5M

Check Out My Personal Blog Site: https://achubbard.com

Video Equipment: Logitech Brio – https://amzn.to/32JN0Dx

Lavalier Mic – https://amzn.to/31vPgOi

Video Capture Software – https://amzn.to/31yq0qQ

Permanent link to this article: https://achubbard.com/2020/11/12/rearming-windows-server-2019-evaluation-copy-how-to/

How To Upgrade a Standalone VMware ESXi Host | 6.7u2 to 7.0

Learn how to upgrade a standalone VMware ESXi host from version 6.7 Update 2 to 7.0

Check Out My Other Videos:

Networking Playlist – https://www.youtube.com/playlist?list=PL2lsgXYaK5wEn5zEGxOFHAcF1irL4UZYS

Windows Server Playlist – https://www.youtube.com/playlist?list=PL2lsgXYaK5wGbpyq25G9LIjjIH-rXwa5M

Check Out My Personal Blog Site: https://achubbard.com

Video Equipment: Logitech Brio – https://amzn.to/32JN0Dx

Lavalier Mic – https://amzn.to/31vPgOi

Video Capture Software – https://amzn.to/31yq0qQ

Permanent link to this article: https://achubbard.com/2020/11/12/how-to-upgrade-a-standalone-vmware-esxi-host-6-7u2-to-7-0/

Licensing Homelab Software Options | Microsoft VMWare Linux Opensource

How are you licensing software in your homelab? What are your options?

Check Out My Other Videos:

Networking Playlist – https://www.youtube.com/playlist?list=PL2lsgXYaK5wEn5zEGxOFHAcF1irL4UZYS

Windows Server Playlist – https://www.youtube.com/playlist?list=PL2lsgXYaK5wGbpyq25G9LIjjIH-rXwa5M

Check Out My Personal Blog Site: https://achubbard.com

Video Equipment: Logitech Brio – https://amzn.to/32JN0Dx

Lavalier Mic – https://amzn.to/31vPgOi

Video Capture Software – https://amzn.to/31yq0qQ

Permanent link to this article: https://achubbard.com/2020/11/12/licensing-homelab-software-options-microsoft-vmware-linux-opensource/

Installing Ubiquiti UniFi Controller on Ubuntu 18.04 Virtual Machine

In this video we learn how to install the Ubiquiti UniFi controller on to an Ubuntu 18.04 VMWare Virtual Machine and run through the base configuration.

Check Out My Other Videos:
Networking Playlist – https://www.youtube.com/playlist?list=PL2lsgXYaK5wEn5zEGxOFHAcF1irL4UZYS

Windows Server Playlist – https://www.youtube.com/playlist?list=PL2lsgXYaK5wGbpyq25G9LIjjIH-rXwa5M

Check Out My Personal Blog Site:
https://achubbard.com

Video Equipment:
Logitech Brio – https://amzn.to/32JN0Dx
Lavalier Mic – https://amzn.to/31vPgOi
Video Capture Software – https://amzn.to/31yq0qQ

Permanent link to this article: https://achubbard.com/2020/06/03/installing-ubiquiti-unifi-controller-on-ubuntu-18-04-virtual-machine/

How To Enable IP Routing On a Cisco Catalyst 2960s | SDM Template

Learn how to change the SDM Template to lanbase-routing and enable ip routing on a Cisco Catalyst 2960s switch.

Check Out My Other Videos:
Networking Playlist – https://www.youtube.com/playlist?list=PL2lsgXYaK5wEn5zEGxOFHAcF1irL4UZYS

Windows Server Playlist – https://www.youtube.com/playlist?list=PL2lsgXYaK5wGbpyq25G9LIjjIH-rXwa5M

Check Out My Personal Blog Site:
https://achubbard.com

Video Equipment:
Logitech Brio – https://amzn.to/32JN0Dx
Lavalier Mic – https://amzn.to/31vPgOi
Video Capture Software – https://amzn.to/31yq0qQ

Permanent link to this article: https://achubbard.com/2020/06/03/how-to-enable-ip-routing-on-a-cisco-catalyst-2960s-sdm-template/

How to Move Active Directory FSMO Roles to a New Domain Controller Windows Server 2019

 

In an Active Directory environment you have five FSMO roles.

Those role are as follows:
– Schema Master
– Domain Naming Master
– Infrastructure Master
– RID Master
– PDC Emulator
 
FSMO (Pronounced FIZ-MO) stands for Flexible Single Master Operations. 

At some point, it might become necessary to move these roles from one Domain Controller to another. Accomplishing this is pretty straight forward. Before we begin, lets use some basic commands to verify were our FSMO roles are located and that replication is working. We want to make sure all systems are go before take off. This will help us should any trouble arise during or after the migration of the FSMO roles.

You need to start off on the target Domain Controller. What this means is, you need to be logged onto the Domain Controller that you wish to move the FSMO roles to.

In our lab environment, that will be our LAB-DC02 VM. Login to your target Domain Controller and open a Powershell window. Issue the command: netdom query fsmo

This will query Active Directory to see who has the FSMO roles. It will return an output like this:

This shows us that currently, LAB-DC01 holds all five of the FSMO roles. Upon completion, this will show that LAB-DC02 holds all five of the FSMO roles.

Now, let’s take a look at our replication summary. Back in Powershell, issue the command: repadmin /replsummary

This will show you an overview of the present replication status. In this view, you will see both Source and Destination DSA and both of our Domain Controllers are listed under each heading. This is because updates can be sent to any of the Domain Controllers within the Domain. 

You can also see the amount of replications, the largest replication delta (This means the longest gap of time between replication links) and if there are any failed replication attempts. 

Your output should look similar to this if everything is working correctly:

One last system check before we engage on this endeavor, again, back in our Powershell window, issue the command: repadmin /showrepl

This will show you further details of the replication than the above /replsummary command will. It will show you the status of each source Domain Controller for each destination Domain Controller that has an inbound connection. 

Your output should look similar to this:

Troubleshooting Active Directory Replication is not what this article is about, however, I wanted to give you some guidance as to what you should see prior to migrating your FSMO roles. If something looks out of the ordinary or states failure, you should troubleshoot and resolve those issues prior to migrating the FSMO roles. 

When you are satisfied with the replication results, lets jump into Active Directory Users and Computers. The first three roles we will move are, RID, PDC and Infrastructure. 

Once in ADUC, right click on your lab.lan (or your domain) and click on “Operations Masters”

Change the RID Master from LAB-DC01.lab.lan to LAB-DC02.lab.lan by hitting the “Change” button:

You will be prompted “Are you sure you want to transfer the operations master role?” – hit the “Yes” button to transfer it.

If successful, you will see a dialog box stating the transfer was successful.

Continue this process for the PDC and Infrastructure roles. Once you have transferred the RID, PDC and Infrastructure role, open up Powershell and issue the command: netdom query fsmo 

You should now see that three of the five roles have changed from LAB-DC01 to LAB-DC02.

Continue on to the Domain Naming Master role. This will be our fourth role of five total. Open up Control Panel > Administrative Tools and Double Click “Active Directory Domains and Trusts”

Once the console opens up, right click on “Active Directory Domains and Trusts” in the left hand column. Select “Operations Master”

This follows the same procedures as the above three roles. Hit the “Change” button.

Again, you will be prompted, are you sure? Hit “Yes”

If it changed successfully, you will see a dialog box stating that the transfer was successful.

We can move onto the final role, the Schema Master. This role is a little bit different to get to than the previous four were.

Before we can transfer the role, we need to register the Schema Master Mgmt DLL file. To do that, open up a run box and type “regsvr32 schmmgmt.dll” and hit enter.

Once you hit enter, you should be prompted with the message “DllRegisterServer in schmmgmt.dll succeeded.” – you can hit “ok”

Go back to your run box and type “mmc” to open a blank Microsoft Management Console.

Go to “File” and select “Add/Remove Snap-in”

Select “Active Directory Schema” and hit the “Add” button. Then hit “ok”

When in the Schema MMC, if you hover over “Active Directory Schema” you will see that it is connected to LAB-DC01 as that is our current Schema Master. We need to connect to LAB-DC02, or our target Domain Controller, to transfer the role.

You can do that by right clicking on “Active Directory Schema” and selecting the option “Change Active Directory Domain Controller” – Select LAB-DC02 from the list and click “ok”

You will receive a warning stating “Active Directory Schema snap-in is not connected to the schema operations master. You will not be able to perform any changes. Schema modifications can only be made on the schema FSMO holder.” This is ok. 

If you again hover your mouse over “Active Directory Schema” in the left hand column, you will see it has changed from LAB-DC01 to LAB-DC02. This is what we want to see. 

Right click on “Active Directory Schema” and select “Operations Master” – The same dialog box that we are familiar with from the first four roles will appear. Click on the “Change” button and it will prompt “Are you sure you want to change the Operations Master?” Click “Yes”

You will get a final dialog box that says “Operations Master successfully transferred.”

Finally, you can check your results by going back to Powershell and issuing the command: netdom query fsmo

You should see all the FSMO roles being held by LAB-DC02 (or your target Domain Controller)

You are now done moving the five FSMO roles from one Domain Controller to another. I hope you enjoyed this tutorial. Please check out my YouTube Channel for more IT related videos

Permanent link to this article: https://achubbard.com/2019/12/17/how-to-move-active-directory-fsmo-roles-to-a-new-domain-controller-windows-server-2019/

Install Ubuntu 18.04 on VMware ESXi | VMTools SSH

 

In this video we go how to install Ubuntu 18.04 on our VMware ESXi host. We also install VMTools and enable SSH. This is my base install of Ubuntu.

Check Out My Other Videos:

Networking Playlist – https://www.youtube.com/playlist?list…

Windows Server Playlist – https://www.youtube.com/playlist?list…

Check Out My Personal Blog Site: https://achubbard.com

Video Equipment: Logitech Brio – https://amzn.to/32JN0Dx

Lavalier Mic – https://amzn.to/31vPgOi

Video Capture Software – https://amzn.to/31yq0qQ

Permanent link to this article: https://achubbard.com/2019/11/26/install-ubuntu-18-04-on-vmware-esxi-vmtools-ssh/