Raspberry Pi / Computer projects

Turning a Raspberry Pi into an Oray DDNS Client

Krunk Zhou 2015-9-6 1. 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.

Click to view the original image. 2. 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. Click to view the original image. 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. Check the 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.】 Click to view the original image. 4. Log in to the management interface and configure internal-network 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). Click to view the original image. On your first login, change the default password, complete phone verification, and fill in your email information to finish initialization. Click to view the original image. Unlike the Peanut Stick, the Raspberry Pi has no built-in account, so you need to link a PeanutHull account to use it. Click to view the original image. 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. Click to view the original image. After adding the mapping, copy the external access address and let's try opening it. Click to view the original image. 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