My Blog

What I Think, I write here...

Linux, Network, Ubiquiti

Problems getting UniFi working on Windows?

Are you having problems getting UniFi devices management working on a Windows computer? Try opening the following ports. New-NetFirewallRule -Name UniFi-Mgmt-In -DisplayName "UniFi-Mgmt (TCP-In 8081)" -Description "Allows incoming UniFi management traffic" -Group UniFi -Enabled True -Protocol TCP -LocalPort 8081 -Direction Inbound New-NetFirewallRule -Name UniFi-Mgmt-Out -DisplayName "UniFi-Mgmt (TCP-Out 8081)" -Description "Allows outgoing UniFi management traffic" -Group UniFi -Enabled True -Protocol TCP…
Continue Reading
Blog, Optimization, Windows

Force Windows Update to download Windows 10

Problems trying to download Windows 10? Follow the steps so you can force this process. Step 1. Run regedit (Win+R) Step 2. Locate the following registry key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade] Create entry if it doesn't exist. Step 3. Create a new DWORD (32-bit) Value with Name = "AllowOSUpgrade” (without the quotes), and set the Value = 1 Step 4. Click on the…
Continue Reading

Linux commands tips – Part 3

Multiple Gateways to Server nano /etc/network/interfaces auto lo iface lo inet loopbackauto eth0 iface eth0 inet static address netmask gateway eth1 iface eth1 inet static address netmask post-up route add via dev eth1 auto eth2 iface eth2 inet static address netmask post-up route add via dev eth2   Restrict…
Continue Reading

Linux commands tips – Part 2

Start / Stop / Restart OpenSSH (Ubuntu) START Service sudo /etc/init.d/ssh start OR sudo service ssh start STOP Service sudo /etc/init.d/ssh stop OR sudo service ssh stop RESTART Service sudo /etc/init.d/ssh restart OR sudo service ssh restart STATUS sudo /etc/init.d/ssh status OR sudo service ssh status   Restart network (Ubuntu) sudo service network-manager restart OR sudo ifconfig eth0 down &&…
Continue Reading
DNS, Linux, Network, NIC, Uncategorized

Linux commands tips – Part 1

Limit ssh access by IP address nano /etc/hosts.allow sshd : localhost : allow sshd : 192.168.0. : allow sshd : : allow sshd : mydomain.net : allow sshd : ALL : deny   Enable SSH root login (Ubuntu) nano /etc/ssh/sshd_config Change line: FROM: PermitRootLogin prohibit-password TO: PermitRootLogin yes sudo systemctl restart sshd   Restrict SSH to one interface nano…
Continue Reading