Setting Up Golem Mainnet with a Sky Router on Windows 10

Setting Up Golem Mainnet with a Sky Router on Windows 10

Setting Up Golem Mainnet with a Sky Router on Windows 10

After trying to set this up multiple times and each time having to reread the documents I thought I would write this. Feel free to email me here if you have any further instructions for different routers or amendments to this one.

Install Golem Mainnet

Firstly make sure you download their official version, I would recommend going through their site but if not its here https://github.com/golemfactory/golem/releases, follow their instructions. Make sure you restart your PC and open Golem as Administrator first time.

Router - Address Reservation

Visit 192.168.0.1 and use your login (default is admin/sky)

  • Click the Advanced Tab.
  • Click LAN IP Setup.
  • Find Address Reservation.
  • Click the Add button below.
  • Open Command Prompt and type ipconfig and Enter.
  • Get you IPv4 Address and find it in the list shown on the router page. Also make a note of it for later.
  • Click the select box next to it and then click Add and Ok the pop up.
  • Your router will now reboot.

Router - Port Forwarding

Login to the router again using the steps shown above. This time click the Security tab and then Services.

  • At the bottom click the Add Service Button.
  • Name: GolemMN
  • Type: TCP/UDP
  • Start Port: 40102
  • Finish Port: 40103
  • Apply
  • Click Add Service again
  • Name: GolemMN_2
  • Type: TCP/UDP
  • Start Port: 3282
  • Finish Port: 3282
  • Apply

Router - Firewall

Now click the Security tab and then Firewall Rules.

  • Click Add under Inbound Services
  • Find the GolemMN in the service dropdown
  • Action: Keep as ALLOW always
  • Destination IPv4 LAN address: [Your IP you noted down earlier]
  • Click Apply
  • Repeat this for the GolemMN_2

Windows Firewall

  1. Access to the Windows Firewall is by pressing the Windows key + R and typing wf.msc
  2. Click Inbound Rules in the left section.
  3. Click the New Rule in the right column.
  4. Click the Port Option, Next.
  5. Select TCP and enter 3282 in the specified local ports, Next.
  6. Make sure Allow the connection is selected, Next.
  7. Make sure all 3 options (Domain, Private, Public) are selected, Next.
  8. Name it Golem 1, Finish.
  9. Repeat Steps 3 to 8 again but change TCP to UDP in option 5.
  10. Click the New Rule in the right column.
  11. Click the Port Option, Next.
  12. Select TCP and enter 40102-40103 in the specified local ports, Next.
  13. Make sure Allow the connection is selected, Next.
  14. Make sure all 3 options (Domain, Private, Public) are selected, Next.
  15. Name it Golem 3, Finish.
  16. Repeat Steps 3 to 8 again but change TCP to UDP in option 12.

Final Checks

Ports

You can check your ports are open here.

Golem Network

In Windows command prompt you can run this command to check your connection status.

golemcli network status
//It should return 
connected

Alternatively you can visit https://stats.golem.network/show to find more information about your node.

Issues are constantly being resolved at the Golem Testers

Errors
Error 1
//Running  docker-machine restart golem
//gave me the error
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp
rror creating machine: Error in driver during machine creation: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
Looks like something went wrong in step ´Checking if machine default exists´... Press any key to continue...
To fix this I had to uninstall Virtual Box from Windows and download the latest version of Virtual Box then re run
docker-machine rm golem
//followed by
docker-machine create --driver virtualbox golem
Error 2

Driver is probably stuck stopping/starting. Try 'sc.exe query vboxdrv' to get more information about its state. Rebooting may actually help.
Navigate to "C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv"
Right click on "VBoxDrv.inf" file and select Install option
Open the Console as a administrator and run the following command
sc start vboxdrv

Error 3
ERROR    [golem.docker.hypervisor.hyperv     ] Port 445 unreachable. Please check firewall settings.
Go Start > Control Panel > Windows Firewall and find Advanced settings on the left side. 2. Click Inbound Rules > New rule. Then in the pop-up window, choose Port > Next >TCP > Specific local ports and type 445 and go Next. Also check that Hyper-V is not installed, and run docker toolbox installation instead. Restart PC. If it doesnt fix it, run the solution to error 1 and the pre checks should find issues.
Dapp

You should now see at the bottom left of Golem you are connected to some nodes, if this is the case just leave it and wait for someone to use your Node. Check you history to see if you’ve had any jobs.

How to send Golem from your App

You will need to get some ETH, you can buy this simply from Coinbase (Use this link to get $10 free), once you have this, find the address in the Golem app by clicking the expand button. This is where the App shows the amount of Golem & ETH you have. Send from Coinbase to here and then you will have enough gas to send it to a wallet. A great wallet which supports Golem is Exodus

Support

If this has helped and you want to buy me a coffee then look at the footer for my details. Thanks.

Categories: Posts