uTalk

Official forum for Utopia Community

You are not logged in.

#1 2021-03-25 07:56:13

Sorath
Member
Registered: 2021-03-24
Posts: 2

Having problems starting mining bot (UAM)?

Having problems with UAM?

In order to UAM start mining, it needs atleast 3 incoming connections. UAM relies on UPnP to make itself available to internet when behind a router. If you have internet connection that has public IP address (dynamic or static), you should be able to start UAM successfully. There are however many different configurations for network connection, let's go through them to enable you to start UAM successfully.

UAM will automatically select random free port for which it will listen.

Terms:
high ports: TCP ports starting from 20000(? this depends how UAM is programmed, I might need to revise this)
[uamuser]: replace this with user that you started UAM

Case 1a:
Router: has dynamic/static public IP address
Router: has NAT network (public or private addresses) for local computers
Router: UPnP is enabled
Result: Everything is ok! UAM will inform router with UPnP to open required port to internet and forward traffic to UAM.
Result: You will see "Links incoming/outgoing" both having connections (numbers). Remember, you need atleast 3 incoming connections to start mining.
Caveat: Your ISP (internet connection provider) might have blocked high ports, if so, UAM is unable to start mining. How do I know this? If you don't get any "Links incoming", mining is not possible.

Case 1b:
Router: has dynamic/static public IP address
Router: has NAT network (public or private addresses) for local computers
Router: UPnP is not available but you can set port forwarding
Server: Check from "miner.log" file port and set port forwarding rule to router
Result: Everything is ok! Router will forward traffic from public internet to private internet.
Result: You will see "Links incoming/outgoing" both having connections (numbers). Remember, you need atleast 3 incoming connections to start mining.
Caveat: Your ISP (internet connection provider) might have blocked high ports, if so, UAM is unable to start mining. How do I know this? If you don't get any "Links incoming", mining is not possible.

Case 2a:
Router: has dynamic/static private IP address
Result: UAM cannot start mining. Forget it and move on.

Case 2b:
Router: has dynamic/static public IP address
Router: you cannot set port forwarding or UPnP on router
Result: UAM cannot start mining. Forget it and move on.

Case 3a:
Router: you don't have control over router, it is in control of your ISP or other entity
Router: you have dynamic/static public IP address but you cannot control if UPnP is on at router
Router: high ports are open at router
Server: if you have firewall set on server (as you should have!), you should open port for UAM, please see "/home/[uamuser]/miner.log" for ports that it listens (marked in log file as "accessor started on []:20455")
Server: for Ubuntu based distroes UFW is default firewall, open port with following command "ufw allow 20455" (NOTE! port changes in every installation)
Result: Mining will now commence as you should see incoming links.

Case X (this is very unlikely situation, PLEASE DO KNOW WHAT YOU ARE DOING! THIS IS LAST RESORT!):
Router: you have dynamic/static public IP address
Restriction: you can start port forwarding only to specific port
Server: you can modify listening port in "/home/[uamuser]/.uam/uam.ini" file, see line:
[net]
listens=[...]:20455
Server: change "20455" (aka port) to whatever you need it to be
Result: Mining will now commence as you should see incoming links.

I will modify this post when new information arises.

Last edited by Sorath (2021-03-25 07:59:17)

Offline

#2 2021-04-03 00:40:54

MinerBot
Member
Registered: 2021-04-03
Posts: 1

Re: Having problems starting mining bot (UAM)?

Thanks

Offline

Board footer

Powered by FluxBB