Raspberry Pi / Computer projects

Turning a Raspberry Pi into an Oray DDNS Client

Krunk Zhou 2015-9-6

1. Preparation

First, connect the Raspberry Pi to power and Ethernet, then download the installation package. Link: click to download phddns_raspberry.tgz. You can upload it to the Pi with WinSCP.

2. Installation

After downloading the installation package, copy it to the Raspberry Pi, then extract and install it in any directory: (Note: the following operations are performed remotely over SSH with root privileges.) 【If you're using the default pi account, you can use su root to switch to the root account.】

Enter the command: tar zxvf phddns_raspberry.tgz to extract the installation package.

After extraction, run cd phddns2 in the current directory to enter the phddns2 folder, then run ./oraynewph start. If you see “Oraynewph start success”, PeanutHull has been installed and started successfully.

3. Running status and SN code

Run oraynewph status from the command line in any directory to see PeanutHull's running status and SN code. 【The SN code serves as the account name on the PeanutHull website; admin is the default password.】

4. Management interface and mappings

Enter b.oray.com in your browser, then enter the SN code and password on the PeanutHull management page (the default password for the first login is admin).

On your first login, change the default password, complete phone verification, and fill in your email information to finish initialization.

Unlike the Peanut Stick, the Raspberry Pi has no built-in account, so you need to link a PeanutHull account to use it.

Once the account is linked and you've logged in successfully, click the orange Internal Network Mapping section in the middle of the page to add a mapping.

After adding the mapping, copy the external access address and let's try opening it.

Summary: Install PeanutHull on the Raspberry Pi, then configure the settings on the PeanutHull website.

Tip: A previously linked account may already have an IP mapping. Disable it before trying to link the Raspberry Pi again.

Published 09/06/2015 · Krunk Zhou

Join the conversation