How to remotely access your MMO StakeBox
If you intend on running your StakeBox as a standalone device in the future without the need for a graphical interface through a HDMI TV/Monitor, then this section will show you how to remotely access your StakeBox.
The Raspberry Pi 3 has Wi-Fi and Ethernet network capabilities and as such we are able to remotely login to the Raspberry Pi command line from another computer on the same network. First you will need to connect to your local Wi-Fi or Ethernet router:
Wi-Fi:
To connect to your wireless router follow these steps:
- When your StakeBox boots into the desktop you will see a menu bar in the bottom right hand side.
- Here you should see an icon with two red crosses on it, which indicates that the Wi-Fi is not connected to a wireless router. Click on this icon and select "Turn On Wi-Fi", you should then see a list of available Wi-Fi hotspots, where you should see the name of your local router.
- Click on the name of your local hotspot and then enter your Wi-Fi password to connect to it. Note: your Wi-Fi SSID and password can usually be found on the back of your router or in the manual.
- Once you have connected you should see the Wi-Fi icon change and if you hover your mouse of it you will see your IP address and other information about the wireless connection
Ethernet
Ethernet is as simple as connecting an Ethernet cable from your StakeBox to the back of your router, you should see a green light on the Ethernet port on your StakeBox to indicate that it has successfully connected. For Ethernet DHCP settings you will need to refer to your instruction manual for your router.
SSH
Secure shell is a method that allows us to remotely access the command line on your StakeBox. By default, SSH is enabled on your MMO StakeBox.
Setup your SSH client
You can use SSH client on almost any operating system including the following:
- Linux/Mac OS
- Windows
- iOS
- Android
Linux/Mac OS Client
You can use SSH to connect to your StakeBox from a Linux computer, a Mac, or another StakeBox, without installing additional software, making it much easier to use than other operating systems.
To connect to your StakeBox from a different computer, copy and paste the following command into the terminal window but replace 0.0.0.0 with the IP address of your StakeBox:
ssh pi@mmocoin-node.local
If you receive a connection timed out error, it is likely that you have entered the wrong details.
When the connection works you will see a security/authenticity warning. Type yes to continue. You will only see this warning the first time you connect.
Next you will be prompted for the password for the StakeBox login: On your MMO StakeBox the default password is welcomemmo, unless you have changed it. You should now be able to see the Raspberry Pi OS prompt.
You are now connected to the StakeBox remotely, and can execute commands from the command line.
Windows Client
On Windows you will need to download an SSH client. The most commonly used client is called PuTTY, and can be downloaded from greenend.org.uk
Look for putty.exe under the heading for Windows on Intel x86.
- Add your StakeBox as a host
PuTTY does not include an installer package: it is a stand-alone .exe file. When you run it, you will see the configuration screen below:
Type the hostname (mmocoin-node.local) of your StakeBox into the Host Name field and click the Open button. If nothing happens when you click the Open button, and you eventually see a message saying Network error: Connection timed out, it is likely that you have entered it incorrect or your StakeBox is not connected to the same network as your computer.
- Connect
When the connection works you will see the security warning shown below. You can safely ignore it, and click the 'Yes' button. You will only see this warning the first time PuTTY connects to a Raspberry Pi that it has not seen before.
You will now see the usual login prompt. Login with the same username and password you would use on the StakeBox itself. The default login for MMO StakeBox is pi with the password welcomemmo.
You should now have the Raspbian OS prompt.
You can type exit to close the PuTTY window.
VNC
Sometimes it is not convenient to work directly on the Raspberry Pi. Maybe you would like to work on it from another device by remote control.
VNC is a graphical desktop sharing system that allows you to remotely control the desktop interface of one computer (running VNC Server) from another computer or mobile device (running VNC Viewer). VNC Viewer transmits the keyboard and either mouse or touch events to VNC Server, and receives updates to the screen in return.
You will see the desktop of the Raspberry Pi inside a window on your computer. You'll be able to control it as though you were working on the Raspberry Pi itself.
VNC Connect from RealVNC is included with Raspbian OS. It consists of both VNC Server, which allows you to control your Raspberry Pi remotely, and VNC Viewer, which allows you to control desktop computers remotely from your StakeBox should you want to.
Connecting to your StakeBox with VNC Viewer
Direct connections are quick and simple providing you're joined to the same private local network, which your StakeBox is on. For example, this might be a wired or wireless network at home, at school, or in the office.
- On the device you'll use to take control, download VNC Viewer. For best results, use the compatible app from RealVNC.
- Enter your StakeBox address (mmocoin-node.local) into VNC Viewer:
- When prompted enter the username and password for your StakeBox.
- You should now be connected and you will see your StakeBox desktop, which you can control using your computer mouse and keyboard.