Difference between revisions of "Windows 10 Tips"

From Briki
Jump to: navigation, search
(Running rsyncd automatically)
(Running rsyncd automatically)
 
(5 intermediate revisions by the same user not shown)
Line 18: Line 18:
 
Note: If you see Error 0x80370102, you may need to enable virtualization in your motherboard BIOS: https://ourcodeworld.com/articles/read/1283/how-to-enable-amd-virtualization-on-the-aorus-x570-motherboard
 
Note: If you see Error 0x80370102, you may need to enable virtualization in your motherboard BIOS: https://ourcodeworld.com/articles/read/1283/how-to-enable-amd-virtualization-on-the-aorus-x570-motherboard
  
=== Running rsyncd automatically ===
+
=== Running rsyncd automatically (DEPRECATED) ===
* Set `RSYNC_ENABLE=true` in /etc/default/rsync
+
* Set '''RSYNC_ENABLE=true''' in ''/etc/default/rsync''
* Create `/etc/rsyncd.conf` with the contents (for example):
+
* Create ''/etc/rsyncd.conf'' with the contents (for example):
 
   [users]
 
   [users]
 
       path = /mnt/c/Users
 
       path = /mnt/c/Users
 
       comment = Users
 
       comment = Users
 
       read only = true
 
       read only = true
 +
* WSL2 virtual machines run on a separate NATed network, so we need to forward the rsync port from the real LAN to the virtual machine:
 +
  netsh interface portproxy add v4tov4 listenport=873 listenaddress=0.0.0.0 connectport=873 connectaddress=127.0.0.1
 
* Go to Settings -> Update & Security -> Windows Security -> Firewall & network protection -> Advanced Settings -> Inbound Rules -> New Rule...
 
* Go to Settings -> Update & Security -> Windows Security -> Firewall & network protection -> Advanced Settings -> Inbound Rules -> New Rule...
 
** Select "Port"
 
** Select "Port"
Line 32: Line 34:
 
** Set the "Name" to "rsync"
 
** Set the "Name" to "rsync"
  
*NOTE:* WSL2 runs on a virtual NATed network, so the WSL2 host can't be contacted from other machines (this would require bridge mode)
+
== Running rsyncd automatically ==
 +
* Install DeltaCopy Server from http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp
 +
* Add an application rule for rsync.exe in Settings -> Update & Security -> Windows Security -> Firewall & network protection

Latest revision as of 11:13, 15 February 2021

Monitor Switcher

https://sourceforge.net/projects/monitorswitcher/

Monitor Test Patterns

Setup MPC-BE

Rename Network

https://www.howtogeek.com/364291/how-to-change-or-rename-the-active-network-profile-name-in-windows-10/

Installing WSL

https://docs.microsoft.com/en-us/windows/wsl/install-win10

Note: If you see Error 0x80370102, you may need to enable virtualization in your motherboard BIOS: https://ourcodeworld.com/articles/read/1283/how-to-enable-amd-virtualization-on-the-aorus-x570-motherboard

Running rsyncd automatically (DEPRECATED)

  • Set RSYNC_ENABLE=true in /etc/default/rsync
  • Create /etc/rsyncd.conf with the contents (for example):
 [users]
     path = /mnt/c/Users
     comment = Users
     read only = true
  • WSL2 virtual machines run on a separate NATed network, so we need to forward the rsync port from the real LAN to the virtual machine:
 netsh interface portproxy add v4tov4 listenport=873 listenaddress=0.0.0.0 connectport=873 connectaddress=127.0.0.1
  • Go to Settings -> Update & Security -> Windows Security -> Firewall & network protection -> Advanced Settings -> Inbound Rules -> New Rule...
    • Select "Port"
    • Set "Specific local ports" to 873
    • Select "Allow the connection"
    • Select only "Private"
    • Set the "Name" to "rsync"

Running rsyncd automatically