Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,499
» Latest member: Tigershreddingla
» Forum threads: 357
» Forum posts: 2,145

Full Statistics

Online Users
There are currently 58 online users.
» 0 Member(s) | 58 Guest(s)

Latest Threads
Zealot/Enemy (z-enemy) NV...
Forum: CryptoCurrency
Last Post: Devids
11 hours ago
» Replies: 1
» Views: 395
Pi Skyminer Setup brickwa...
Forum: Skywire
Last Post: nodejunky
07-17-2019, 04:19 PM
» Replies: 4
» Views: 255
DIY Skyminer on raspberry...
Forum: Skywire
Last Post: DDunn
07-12-2019, 03:30 PM
» Replies: 3
» Views: 376
Raspberry Pi 4: $35 compu...
Forum: Skywire
Last Post: I Am You
07-11-2019, 09:23 AM
» Replies: 1
» Views: 222
SRBMiner Cryptonight AMD ...
Forum: CryptoCurrency
Last Post: Monet
06-27-2019, 07:48 AM
» Replies: 0
» Views: 129
[Awesome Miner] - Powerfu...
Forum: CryptoCurrency
Last Post: Monet
06-24-2019, 08:50 PM
» Replies: 0
» Views: 165
Claymore's Dual Ethereum ...
Forum: CryptoCurrency
Last Post: Monet
06-24-2019, 07:04 AM
» Replies: 0
» Views: 183
[ANN] sgminer v5.6.0 - op...
Forum: CryptoCurrency
Last Post: Monet
06-22-2019, 07:42 PM
» Replies: 0
» Views: 132
Claymore’s Miner Manager ...
Forum: CryptoCurrency
Last Post: Monet
06-21-2019, 08:57 PM
» Replies: 0
» Views: 232
[JCE]Fast & stable CN/v8/...
Forum: CryptoCurrency
Last Post: Monet
06-21-2019, 07:40 AM
» Replies: 0
» Views: 119

 
  Synth Speaks: Skywire and the Mesh Network Infrastructure
Posted by: skyguy - 01-19-2019, 06:04 AM - Forum: Videos - No Replies



Print this item

  Announcing PySkycoin
Posted by: skyguy - 01-18-2019, 10:17 AM - Forum: Development - No Replies

Scripting for SkyFiber blockchains

https://www.skycoin.net/blog/development...pyskycoin/

Print this item

  Set up 4 manager nodes?
Posted by: PiEBaLL - 12-21-2018, 12:40 AM - Forum: Questions and Answers - Replies (2)

hi all, have a problem, ive tried to set up 4 nodes , 1 manager and 3 nodes, i can make all 4 run no problem as managers with their own web interface but once i try to link them to the manager it goes tits up 

im doing 

[color=rgba(0, 0, 0, 0.84)]sudo -i
cd /etc/init.d
nano MyScript.sh
[/color]

[color=rgba(0, 0, 0, 0.84)]then for manager[/color]

[color=rgba(0, 0, 0, 0.84)][color=rgba(0, 0, 0, 0.84)]#!/bin/sh
export GOPATH=$HOME/go
cd $GOPATH/bin
./manager -web-dir /root/go/src/github.com/skycoin/skywire/static/skywire-manager > /dev/null 2>&1 &
echo "Skywire is now running in the background. You can now access the Skywire Manager via the web browser"
sleep 5
cd $GOPATH/bin
./node -connect-manager -manager-address :5998 -manager-web :8000 -discovery-address discovery.skycoin.net:5999-034b1cd4ebad163e457fb805b3ba43779958bba49f2c5e1e8b062482904bacdb68 -address :5000 -web-port :6001 &> /dev/null 2>&1 &
echo "Skywire monitor started."
echo "You can now open the monitor in your browser: http://#.#.#.#:8000"
sleep 10
[/color]
[/color]
[color=rgba(0, 0, 0, 0.84)][color=rgba(0, 0, 0, 0.84)] [/color][/color]
[color=rgba(0, 0, 0, 0.84)][color=rgba(0, 0, 0, 0.84)]for nodes [/color][/color]

[color=rgba(0, 0, 0, 0.84)][color=rgba(0, 0, 0, 0.84)][color=rgba(0, 0, 0, 0.84)]#!/bin/sh
export GOPATH=$HOME/go
cd $GOPATH/bin
./manager -web-dir /root/go/src/github.com/skycoin/skywire/static/skywire-manager > /dev/null 2>&1 &
echo "Skywire is now running in the background. You can now access the Skywire Manager via the web browser"
sleep 5
cd $GOPATH/bin
./node -connect-manager -manager-address 192.168.0.101:5998 -manager-web 192.168.0.101:8000 -discovery-address discovery.skycoin.net:5999-034b1cd4ebad163e457fb805b3ba43779958bba49f2c5e1e8b062482904bacdb68 -address :5000 -web-port :6001 &> /dev/null 2>&1 &
echo "Skywire monitor started."
echo "You can now open the monitor in your browser: http://#.#.#.#:8000"
sleep 10
[/color]
[/color]
[/color]

[color=rgba(0, 0, 0, 0.84)][color=rgba(0, 0, 0, 0.84)]i had the 4 pis set up using a ready made image before but wanted to do a proper build and restarted, even tho i flashed the sd cards could there be something from the previous build somewhere conflicting with this, i even reset my modem [/color][/color]

[color=rgba(0, 0, 0, 0.84)][color=rgba(0, 0, 0, 0.84)]thanks in advance Big Grin [/color][/color]


sorry about the format of the post copy and paste seemed to add alot of junk in forget the colour code

Print this item

Heart NanoPi Neo Skyrig, $200 miner with official scripts.
Posted by: jackazlin - 12-16-2018, 01:35 PM - Forum: Skywire - Replies (4)

Skywire on Armbian Stretch for NanoPi NEO.
[/url][url=https://ibb.co/cJ1ntzc][Image: Nano-Pi-Neo.png]




Hardware:
NanoPi Neo, our $13 hero: https://www.friendlyarm.com/index.php?ro...uct_id=132
16GB MicroSD
USB UART cable
Heatsink
Or buy the kit for an extra $7: https://www.friendlyarm.com/index.php?ro...uct_id=182

That's right. $20 for an out of the box, ready to party Skywire node.

Software:
Etcher: https://www.balena.io/etcher/
PuTTY: https://www.chiark.greenend.org.uk/~sgta...atest.html

OS:
Armbian Stretch: https://dl.armbian.com/nanopineo/Debian_stretch_next.7z 


--------

Install all the software.

Write the Armbian image to the SD card with Etcher, stick it in the NEO.

If you're like me, I like bed and laptops. Go into your WiFi network settings and share the WiFi connection with your Ethernet port, plug it into the NEO. (Otherwise, plug it into your network, it's got DHCP enabled by default, but I like bed so get comfy)

Connect the UART cable to your PC and check Device Manager to see which COM port it has been assigned, if you change USB ports it will likely change from COM8 to COM9 for example, so keep it in the one port if you can.

Open PuTTY. Serial Connection, COM8 (or whatever yours is). Rate 115200. Connect. Flick the switch on the USB-A end of the UART cable and the Christmas lights should start.

Login: root
Password: 1234

It will prompt you to change the password, read it carefully because it asks for the old password first, then the new one twice. It will prompt you to make a user account too, Ctrl + C will cancel that if you're feeling dangerous.



General housekeeping.

I'm going to give you the basic rundown. I'm assuming you have a small understanding of networking and a little bit of linux experience, it's pretty straight forward. Copy and paste one line at a time, I recommend using the UART USB/Serial cable that comes with the $20 kit. Commands and anything that needs to be inputted will be in italics. Let's do this.

Set the timezone, give the board a unique name.

armbian-config

'Personal' menu is where you will find the Timezone, Locales, Keyboard Layout and Hostname. Enter button to enter the sub menus, left and right to change between OK and Cancel. Tab to move around in certain menus. I think NetworkManager sucks and like to do things manually, so seeing as this is my guide we're gonna do it my way. It's fun and you might learn something. Quit out of the GUI back to the terminal by either using the cancel button or pressing Escape.


Disable NetworkManager.

systemctl disable NetworkManager
nano /etc/network/interfaces


Assign IP addresses.

This is how my file looks. I have the boards on DHCP while I'm tinkering, and come back to this step later to assign them their static IPs. To do this, delete 'dhcp' at the end of line 11 and replace it with static, then remove the #s at the start of the next 4 lines, change the IPs as necessary. In this scenario, this board is Node 3 10.1.1.73, the gateway is my router which is 10.1.1.2. The dns-namesevers are both my router and 8.8.8.8 which is Google's public DNS server, you could also include 8.8.4.4 after it if you wish.


#armbian-config created
source /etc/network/interfaces.d/*

#Local loopback
auto lo
iface lo inet loopback

# Interface eth0
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
# address 10.1.1.73
# netmask 255.255.255.0
# gateway 10.1.1.2
# dns-nameservers 10.1.1.2 8.8.8.8

Ctrl+X, Y then Enter to save changes and exit. 


Check your DNS.

nano /etc/resolv.conf

The file only needs to have your DNS servers in it, delete any other junk in there. Mine has two lines that match the interfaces file above:

nameserver 10.1.1.2
nameserver 8.8.8.8

Ctrl+X, Y then Enter to save changes and exit.

Reboot the board.

reboot


Log in after it's rebooted and type the following to confirm you're online.

ping http://www.skycoin.net


If you get replies, you're good to go. Ctrl+C to cancel.


Updates, Golang and Skywire Installation.
It'll take a while so let it do it's thing.


Update the operating system. 

sudo apt-get update
sudo apt-get upgrade
y (when it asks to install)


Install the necessities.

sudo apt-get install -y curl git mercurial make binutils gcc bzr bison libgmp3-dev screen gcc build-essential


Download Golang.

curl –sS https://dl.google.com/go/go1.11.4.linux-armv6l.tar.gz > go1.11.4.linux-armv6l.tar.gz
tar xvf go1.11.4.linux-armv6l.tar.gz
rm go1.11.4.linux-armv6l.tar.gz


Make the Skywire Golang directories.

mkdir /usr/local/skywire
sudo mv go /usr/local/skywire/go
sudo ln -s /usr/local/skywire/go/bin/go /usr/local/bin/go
sudo ln -s /usr/local/skywire/go/bin/godoc /usr/local/bin/godoc
sudo ln -s /usr/local/skywire/go/bin/gofmt /usr/local/bin/gofmt
mkdir -p $HOME/go/{bin,pkg,src}


Install Golang

cd ~
nano .bashrc

Add the following lines to the last 4 lines of the document:

export GOROOT=/usr/local/skywire/go
export GOPATH=/root/go
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN

Ctrl+X, Y, Enter to save and exit.


Initialize the changes you just made.

source ~/.bashrc 


Test it.

go version


Download Skywire.

mkdir -p $GOPATH/src/github.com/skycoin
cd $GOPATH/src/github.com/skycoin
git clone https://github.com/skycoin/skywire.git
cd $GOPATH/src/github.com/skycoin/skywire/cmd
go install -v ./...


If for whatever reason it reboots during this part, it's because the board isn't getting enough amperage. Usually the UART cable is enough, depends on your computer. Plug something into the MicroUSB port as well and try again. (rm -rvf $GOPATH/src/github.com/skycoin, start again)


Testing.

Test your Manager:
(Don't run this on your nodes)

cd $GOPATH/bin

nohup ./manager -web-dir ${GOPATH}/src/github.com/skycoin/skywire/static/skywire-manager > /dev/null 2>&1 &sleep 3


Test your Manager's Node (yes it is all one line so make sure you copy it all in one hit):

nohup ./node -connect-manager -manager-address :5998 -manager-web :8000 -discovery-address discovery.skycoin.net:5999-034b1cd4ebad163e457fb805b3ba43779958bbwherewa49f2c5e1e8b062482904bacdb68 -address :5000 -web-port :6001 > /dev/null 2>&1 &cd /

You should now be able to open your web browser and load the landing page at your.manager.ip.address:8000
Username: root
Password: 1234

Leave this for now, don't log in or change the password, just check that the splash page is loading.


Test your Nodes (yes it is all one line so make sure you copy it all in one hit):
(Don't run this on your manager)

nohup ./node -connect-manager -manager-address 10.1.1.71:5998 -manager-web 10.1.1.71:8000 -discovery-address discovery.skycoin.net:5999-034b1cd4ebad163e457fb805b3ba43779958bbwherewa49f2c5e1e8b062482904bacdb68 -address :5000 -web-port :6001 > /dev/null 2>&1 &cd /

Change the 10.1.1.71 addresses to your Manager's address.


Scripts

Navigate to the script folder.

cd /root/go/src/github.com/skycoin/skywire/static/script


start, stop, node_start, manager_start need the SKYWIRE_UNIX_SCRIPTS line changed to this:


SKYWIRE_UNIX_SCRIPTS=/root/go/src/github.com/skycoin/skywire/static/script


For example:

nano node_start

Make the changes so the line looks like the above.
Ctrl+X, Y, Enter to exit and save changes.

This must be done on all 4 of those files on each board.

In the same directory, skywire.defaults needs...

nano skywire.defaults

the manager IP added/changed:

MANAGER_IP=10.1.1.71

and the Go related variables change too.

# Go related variables
GOROOT=/usr/local/skywire/go
GOPATH=/root/go
PATH="/root/go/bin:/usr/local/skywire/go/bin:${PATH}"

Ctrl+X, Y and Enter to save and exit.

Again, every board needs this changed. I know, it's tedious.


Unix directory fixes.

Same deal as the script folder.

cd /root/go/src/github.com/skycoin/skywire/static/script/unix

check, start and update-skywire need the SKYWIRE_UNIX_SCRIPTS line changed:

SKYWIRE_UNIX_SCRIPTS=/root/go/src/github.com/skycoin/skywire/static/script

nano check.etc (I'm sure you've picked this up by now)

Ctrl+X, Y and Enter to save and exit.

---

Ignore this for now, but I'm making note of it for future revisions.

cd /root/go/src/github.com/skycoin/skywire/static/script/upgrade

Leave this section for now, one_time_upgrade needs a lot of changes made but there's no point setting this up yet.

---

Edit the startup scripts.


cd ${GOPATH}/src/github.com/skycoin/skywire/static/script/upgrade/data

nano skywire-manager.service
or
nano skywire-node.service

[Service] should read like this for the manager:

[Service]
Type=oneshot
ExecStart=/root/go/src/github.com/skycoin/skywire/static/script/manager_start
ExecStop=/root/go/src/github.com/skycoin/skywire/static/script/stop
RemainAfterExit=yes

And the nodes:

[Service]
Type=oneshot
ExecStart=/root/go/src/github.com/skycoin/skywire/static/script/node_start
ExecStop=/root/go/src/github.com/skycoin/skywire/static/script/stop
RemainAfterExit=yes

Ctrl+X, Y and Enter to save and exit.


Copy the startup script to systemd.

Manager only:

cp ${GOPATH}/src/github.com/skycoin/skywire/static/script/upgrade/data/skywire-manager.service /etc/systemd/system/

systemctl enable skywire-manager

systemctl start skywire-manager


Nodes only, manager script starts it's own node:

cp ${GOPATH}/src/github.com/skycoin/skywire/static/script/upgrade/data/skywire-node.service /etc/systemd/system/

systemctl enable skywire-node

systemctl start skywire-node


Fingers crossed, that's job done and it wont throw up any errors. Reboot all the boards and hopefully they all pop up in your web browser with green lights.



Troubleshooting.

On one occasion, I found I had to log into the Manager and do the following to get all the nodes to show up in the web browser (do NOT do this if your key are not backed up, you're waiting to be whitelisted or anything other than setting your system up for the first time. I'm not responsible for lost keys.)

systemctl disable skywire-manager.service
rm -rvf /root/.skywire


Then log into each of the nodes and do the following:

rm -rvf /root/.skywire
reboot


Once the nodes have rebooted (a minute, tops), go back to your manager and enter the following:

systemctl enable skywire-manager.service
reboot


Once the Manager has rebooted, wait a good 5 minutes before proceeding.
Log in with username root and password 1234, you will then be prompted to change the password.
If there are any nodes in the list that are red, edit the node labels so they are blank (not sure if this step is necessary but it's always worked when I've done it) and then delete any that are red. If all has gone well you should see 8 nodes online.


v1.2, TBC.
beer me: WyarSbA1aSCg6LywTEHfnQ1yfuw5cSU1ae

Cheers to everyone who's ever written a DIY guide, you've all helped this come together one way or another.


[Image: 48905075-10156920563389204-4210150655500746752-o.jpg]

[Image: 50005826-10156920563534204-8744418144661012480-n.jpg]

Print this item

  Broadcast Query for the Mesh
Posted by: Sanatogen - 12-09-2018, 12:32 PM - Forum: Skywire - Replies (2)

For households to set themselves up as nodes on the Skywire Mesh. Do they have to register with their governments to broadcast?

Print this item

  Orange Pi PC2 H5 Network Issue
Posted by: Nilla082 - 12-09-2018, 02:52 AM - Forum: Skywire - No Replies

Hi guys

I I built a skyminer using a less popular board - Orange Pi PC2 H5 boards

I loaded them with Armbian and I meshed together 2 diff how to guides
https://skywug.net/forum/Thread-DIY-Mine...figuration
https://skywug.net/forum/Thread-Raspberr...TNET-READY

I have 5 nodes running and they were whitelisted. I started off with an 8 node build but I ordered the boards from ali express and there have been multiple issues with some of them. Some work sometimes and there are 2 that were dad on delivery. I ran the 5 for about a week then had to move my rig to another room. I turned off the rig and moved both my modem/router and the rig. I plugged them up and had some issues with some boards turning on. I cut the power and turned them back on again and got one board that I thought was dead, to turn back on. Then the manager node wasnt coming on.

Long story short, I just switched some of the sd cards around to what boards were working at the time. I now actually have 6 board working but only 5 have been set up to run skywire.

When I type in my IP address followed by ":8000", the "8000" is grayed out and wont connect to the sky website to show my node activity and status (it previously worked before)

Also when I ping the nodes when my vpn is on (installed on my laptop only) it works. BUT when my vpn is turned off, I am unable to ping any of them. You would think that would be backwards!

The other strange thing is that my nodes are up and running on testnet when I check my public keys on https://skywirenc.com/
I just cant seem to connect to where you put in "my IP address of the gateway node:8000"

I did try port forwarding to 8000 but not quite sure exactly how to do that. Maybe I did it wrong but that doesnt work. And I can see all the nodes when I sign in to my routers settings page.

Any ideas would be much appreciated.  Not sure what got changed when I moved the rig. Im thinking something happened to the manager node settings somewhere.

Print this item

  New board Orange Pi One Plus H6
Posted by: Freeflow - 12-03-2018, 02:41 PM - Forum: Skywire - Replies (2)

Hello all,
One of the newer boards that Orange pi brought out, I was wondering if there are any red flags that prohibit this board from running Skywire. It is a good SOC with a 20 dollar price point.

With no guides this will be a fun project.

http://www.orangepi.org/OrangePiOneplus/

Print this item

  SkyMiner?
Posted by: bak3r11 - 11-27-2018, 09:00 PM - Forum: Questions and Answers - Replies (1)

I have been looking into a DIY Skyminer setup off an on. I may be oblivious, but why are all setups I see a SBC cluster? I have a few xeon machines from an old project, is there any reason i could not use these instead?

Print this item

  Skywire node on TV Smart BOX (X96 mini)
Posted by: edoardocoen - 11-19-2018, 09:00 PM - Forum: Skywire - Replies (1)

Recently, my girlfriend gifted me a TV BOX, the X96 mini with 2 GB of RAM and 16 GB of ROM. I checked the technical specifications, and relized that the hardware was suitable to use it as a skywire node, since it has:

  • Quad Core ARM Cortex A53 @ 2GHz (Amlogic S905W)
  • 2GB RAM DDR3
  • 16GB ROM
  • 100M Ethernet port (just the amount that the processor can handle!)
So, when 1 orange pi from my DIY miner burnt, I decided to use it as a node for replacement. Looked for prices and noticed that they are really cheap: with less than 30$ including shipping, you can have a really compact node, inside a case, without spending for SDs or PSU!
I studied a little bit, so I created my TV BOX Skywire node. Talking with other members of the community, I figured that other people might want to replicate my idea, so I created a simplified installation for you. I alredy installed skywire on it, but you need to install skywire services using my semplified script and configure the static IPs.
ADVICE: in this guide, I assume you already know about the networking. If not, please study this (LINK) and this (LINK). I used Armbian 5.62 Ubuntu xenial (server), kernel 4.19.0. This version doesn't support WiFi (We don't need it for a skywire node). You cannot continue to use the box as a Smart TV BOX while running a node. If something goes wrong, you can restore the original firmware using male to male USB Cable, USB Burning Tool and the .img file for X96 mini.
This method can also be used also for other TV boxes, but you need to change the .dtb file. I used gxl_p281_2g.dtb. See source documentation at the end.

1)Flash the SD/USB:

2)Install Linux Ubuntu:

You will have to follow the next steps for every node you want to install:
  • Go to your TV BOX, connect it to your network using an ethernet cable and insert your SD/USB.
  • Using a toothpick or similar, push the reset button that is inside the AV input, keep it pushed while you turn on the TV BOX. Keep the reset button pushed until the blue light turns red and blue again quickly. Now you are booting from the USB/SD.
  • You can choose 1 of the following option now:
    -OPTION a):
    Using PuTTY on your computer, login your node typing the IP of your TV BOX (you need to know how to find the IP, using your router web interface or command prompt)
    -OPTION b):
    Connect the TV BOX with the HDMI cable to a monitor and connect an USB keyboard too.
  • User: "root", password:"Skycoin" (with capital S). You can change it with the command:
    Code:
    passwd
  • Type:
    Code:
    sh install.sh
  • Wait the installation and when it ends, type:
    Code:
    shutdown now
  • You have just installed Linux on your TV BOX's eMMC!
  • When the blue light turns red, unplug the SD/USB and the power cable

3)Set IP address

Now before install Skywire services, plug the power cable again (without the toothpick trick) and wait for booting. If after 1 minute the TV box is not shown on the network, try disconnecting and reconnecting the power cable and waiting for 1 minute. When you see the TV BOX on your network:
  • Open a new PuTTY session (only if you choose option a), login as root, and type:
    Code:
    nano /etc/network/interfaces
  • Set your static IP here (remember to change "dhcp" into "static" and remove the "#"), for example:
    Code:
    allow-hotplug eth0
    no-auto-down eth0
    iface eth0 inet static
    address 192.168.0.101
    netmask 255.255.255.0
    gateway 192.168.0.1
    dns-nameservers 8.8.8.8 8.8.4.4
    Than type "ctrl+X", "Y", to save.
    Every node must have a different "address", remeber the manager's one (you need only 1 manager node).

4)Install skywire services:
  • Type:
    Code:
    sh /root/services.sh
  • Follow the instructions. When it asks, type "y" (yes) if you are installing skywire services on the manager node. When it asks, type your manager IP address. Please, be sure to type it correctly, without spaces!
  • Type for the last time:
    Code:
    reboot
After that you can do point  2, 3 and 4 again for the others nodes: plug your SD/USB on your next TV BOX, install Linux to eMMC, set IP, install skywire services...

Remeber, BACKUP YOUR NODE KEYS! Learn how: https://github.com/skycoin/skywire/wiki/...blic-keys)

It's a good idea write on every TV BOX the static IP that you choose and its pubblic key

Sources:
https://forum.armbian.com/topic/7930-arm...x-ver-555/
https://skywug.net/forum/Thread-DIY-Mine...figuration
https://github.com/skycoin/skywire/wiki
https://github.com/skycoin/skywire/wiki/...blic-keys)

Print this item

  Necessary to use OpenWRT Giga Router?
Posted by: same1116 - 11-13-2018, 03:11 PM - Forum: Skywire - Replies (11)

Hi

I am a newbie to this and planning to setup one DIY Miner

but I have a few questions and it will be great if anyone can help me to clear my doughts 

# is it necessary to use OpenWRT Giga Router or can i use my home router TP-LINK TL-MR3220 3G/4G Wireless N Router?

# is there any minimum internet speed requirement?

# how much monthly internet data (GB/month) is required? 

# instead of raspberry pi is it possible to setup nods on multiple windows based thin client? 

please advise

Thanks

Print this item