why microsoft disabled the gui is beyond me, so here is a little script that enables support for ics via powershell

  • Download win10-ics
  • Run ics-setup.bat as Administrator
  • Run ics-start.bat and enter the network name you want to share the internet connection to (you can find this in Control Panel\Network and Internet\Network Connections)

Install

  • sudo apt-get remove golang --purge
  • curl -LO https://get.golang.org/$(uname)/go_installer && chmod +x go_installer && ./go_installer && rm go_installer
  • source $HOME/.bash_profile

compile something

  • go get github.com/ncw/rclone
  • $HOME/go/bin/rclone help

if you get process killed try

  • go get -d github.com/ncw/rclone
  • go build ./go/src/github.com/ncw/rclone
  • go install ./go/src/github.com/ncw/rclone
  • $HOME/go/bin/rclone

enable more swap if you have a 512MB VPS

  • sudo fallocate -l 1G /swapfile
  • sudo chmod 600 /swapfile
  • sudo mkswap /swapfile
  • sudo swapon /swapfile

Server Setup

  • Get yourself a VPS at DigitalOcean
  • git clone https://github.com/nwgat/wg-quick-setup && cd wg-quick-setup
  • sh wg-quick-setup-auto.sh (automatic, opens firewall, configure routing)
  • sh wg-quick-setup-manual.sh(manually input the ip/domain and ethernet device)
  • sh wg-quick-setup-uninstall.sh (removes /etc/wireguard and wireguard/wireguard-tools packages)

Client Setup

  • Windows: Open Wireguard. Press Ctrl + N. Now Copy & Paste the client config output here
  • Linux: copy the client config output to /etc/wireguard/wg0.conf and starte wireguard with wg-quick up wg0

  • sudo apt-get install git cmake gcc yasm build-essential autoconf libtool libfreetype-dev libfribidi-dev libfontconfig1-dev python libsdl2-2.0-0 libsdl2-dev libgnutls28-dev libva2 libva-dev vainfo libbluray-dev liblua5.3 liblua5.3-dev libdrm-dev libsdl2-dev libsdl2-mixer-dev libarchive-dev wayland-protocols libvdpau-dev libplacebo-dev libgdm-dev libluajit-5.1-dev -y
  • git clone https://github.com/mpv-player/mpv-build.git && cd mpv-build
  • ./use-mpv-release
  • ./use-ffmpeg-release
  • ./rebuild -j8
  • sudo ./install
  • echo "hwdec=vaapi" > .config/mpv/mpv.conf
  • mpv http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_2160p_60fps_normal.mp4

You will need to have ubuntu or another linux distro, its the easiest method

setting up and upgrading firmware

  • sudo apt-get update && sudo apt-get upgrade
  • sudo apt-get install python3-pip
  • sudo pip3 install esptool
  • sudo pip3 install mpfshell
  • dmesg | grep ttyUSB (find the correct port, should be ttyUSB0)
  • sudo esptool.py --port /dev/ttyUSB0 flash_id (check the device)
  • Download the firmware https://micropython.org/download#esp32
  • sudo esptool.py --port /dev/ttyUSB0 write_flash 0x1000 file.bin (now we flash with the file you downloaded`''

setting up wifi

  • mkdir esp && cd esp
  • echo "import wifi" > boot.py

now we need to create nano wifi.py and save the following code in it, dont forget to change network and password so it connects

import network station = network.WLAN(network.STA_IF)
station.active(True)
station.connect("yournetworkname", "yourwifipassword")
station.ifconfig()

connect and upload

mpfshell -o COM5 -c "put wifi.py"

mpfshell -o COM5 -c "put boot.py"

now reconnect the usb connector to reboot

mpfshell commands

  • help (shows all commands)
  • get boot.py (download from esp)
  • put boot.py (uploads to esp)
  • repl (interactive python shell)

Resources

Receive $10 in credit at DigitalOcean for your VPS Hosting
Cheaper Games on Instant-Gaming
Proudly published with Ghost | Theme based on Draugur | Header Image by GUWEIZ@DeviantArt
Creative Commons Licence