Thread Rating:
  • 7 Vote(s) - 4.71 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Raspberry Pi Sky Miner Setup for noobs - TESTNET READY
#91
(07-10-2018, 03:30 PM)I Am You Wrote:
(07-09-2018, 05:59 AM)tonysoprano Wrote:
(06-19-2018, 02:18 PM)I Am You Wrote:
(06-17-2018, 11:46 PM)che3zeman Wrote: Is it safe to turn off the computer once the configuration is complete? All the nodes are online, I do not know if shutting off my PC will affect the raspberrys pis or not.

As long as your not using your PC's USB ports to power your Pi's yes you can shut it down.

Everytime I shut down my pc or exit putty my node goes offline.

That should not be possible. Can you walk me through your physical connection to your nodes?

i.e.
Power goes from the Wall Socket > USB Power Supply > Nodes,
Network goes from my Router > switch > nodes.
Take that all back. Got it all up and ready to go. Thank you to this thread and all who replied.
[-] The following 1 user says Thank You to tonysoprano for this post:
  • I Am You
Reply
#92
While it's not mentioned on this guide the use of VPNs for the nodes, I think it should be very much recommended that people use them.
Reply
#93
Hi...i am a new user here. As per my suggestion if your Orange Pi doesn't light up after flashing the image and powering it on, something is wrong with copy. After flashing the sd cards, windows should prompt you to format them. Ignore the warning, right click on the usb icon and safely eject them. Now insert them into the Orange Pis and apply power.The Pis cannot be powered via the USB port. You have to connect the power jack.

pcb assembly india
Reply
#94
(07-17-2018, 04:32 PM)TuckFen Wrote: Hi...i am a new user here. As per my suggestion if your Orange Pi doesn't light up after flashing the image and powering it on, something is wrong with copy. After flashing the sd cards, windows should prompt you to format them. Ignore the warning, right click on the usb icon and safely eject them. Now insert them into the Orange Pis and apply power.The Pis cannot be powered via the USB port. You have to connect the power jack.

This Guide is for Raspberry Pi's
Reply
#95
I have a question about the autostart scripts. How does one implement them in a custom built raspberry pi sky miner image? I have downloaded the rpi-skywire.img file which you provided on this post but when I try to write it to my 16GB sdcard it fails saying the sdcard is too small. Now the next best thing is to rebuild the image from scratch myself and add the autostart scripts by hand.
Reply
#96
(08-14-2018, 01:03 PM)timstampa Wrote: I have a question about the autostart scripts.  How does one implement them in a custom built raspberry pi sky miner image?  I have downloaded the rpi-skywire.img file which you provided on this post but when I try to write it to my 16GB sdcard it fails saying the sdcard is too small.  Now the next best thing is to rebuild the image from scratch myself and add the autostart scripts by hand.

Use the attached scripts to autostart your monitor and nodes. The scripts in the "Monitor" folder are for your monitor node. The scripts in the "Node" folder are for nodes 1-7. In the skywire-start script, update the monitor IP from 192.168.0.102 to the IP of your monitor (192.168.0.2, etc)

Instructions

(1) As the root user, copy skywire-start to /usr/local/sbin directory
(2) Edit skywire-start and replace [your home folder] with the folder name where you installed go, i.e. /root, /home/david, etc.
(3) Copy skywire.service to /etc/systemd/system
(4) Edit skywire.service and replace [your user account name] and [your group] with your username and group, i.ee root, david, etc
(5) Enable the skywire service by typing the following command as root

Code:
Code:
systemctl enable skywire.service

**Once the service has been enabled, skywire will automatically launch (start) at system boot

To test, manually start the skywire service by running the following command

Code:
Code:
systemctl start skywire

Now navigate to http://server_ip:8000 and you should see the skywire login page

To stop or restart the skywire service, run the following commands. Prefix sudo if you running them from your user account

Stop
Code:
Code:
systemctl stop skywire

Restart
Code:
Code:
systemctl restart skywire
 
Repeat this on all the other nodes


Attached Files
.zip   skywire_autostart.zip (Size: 1.8 KB / Downloads: 5)
Reply
#97
(08-14-2018, 05:12 PM)skyguy Wrote:
(08-14-2018, 01:03 PM)timstampa Wrote: I have a question about the autostart scripts.  How does one implement them in a custom built raspberry pi sky miner image?  I have downloaded the rpi-skywire.img file which you provided on this post but when I try to write it to my 16GB sdcard it fails saying the sdcard is too small.  Now the next best thing is to rebuild the image from scratch myself and add the autostart scripts by hand.

Use the attached scripts to autostart your monitor and nodes. The scripts in the "Monitor" folder are for your monitor node. The scripts in the "Node" folder are for nodes 1-7. In the skywire-start script, update the monitor IP from 192.168.0.102 to the IP of your monitor (192.168.0.2, etc)

Instructions

(1) As the root user, copy skywire-start to /usr/local/sbin directory
(2) Edit skywire-start and replace [your home folder] with the folder name where you installed go, i.e. /root, /home/david, etc.
(3) Copy skywire.service to /etc/systemd/system
(4) Edit skywire.service and replace [your user account name] and [your group] with your username and group, i.ee root, david, etc
(5) Enable the skywire service by typing the following command as root

Code:
Code:
systemctl enable skywire.service

**Once the service has been enabled, skywire will automatically launch (start) at system boot

To test, manually start the skywire service by running the following command

Code:
Code:
systemctl start skywire

Now navigate to http://server_ip:8000 and you should see the skywire login page

To stop or restart the skywire service, run the following commands. Prefix sudo if you running them from your user account

Stop
Code:
Code:
systemctl stop skywire

Restart
Code:
Code:
systemctl restart skywire
 
Repeat this on all the other nodes

How do i copy this in putty?
I dont know how to copy the files to my card.

Henk
Reply
#98
(08-18-2018, 10:12 AM)h.v.zadelhoff Wrote:
(08-14-2018, 05:12 PM)skyguy Wrote:
(08-14-2018, 01:03 PM)timstampa Wrote: I have a question about the autostart scripts.  How does one implement them in a custom built raspberry pi sky miner image?  I have downloaded the rpi-skywire.img file which you provided on this post but when I try to write it to my 16GB sdcard it fails saying the sdcard is too small.  Now the next best thing is to rebuild the image from scratch myself and add the autostart scripts by hand.

Use the attached scripts to autostart your monitor and nodes. The scripts in the "Monitor" folder are for your monitor node. The scripts in the "Node" folder are for nodes 1-7. In the skywire-start script, update the monitor IP from 192.168.0.102 to the IP of your monitor (192.168.0.2, etc)

Instructions

(1) As the root user, copy skywire-start to /usr/local/sbin directory
(2) Edit skywire-start and replace [your home folder] with the folder name where you installed go, i.e. /root, /home/david, etc.
(3) Copy skywire.service to /etc/systemd/system
(4) Edit skywire.service and replace [your user account name] and [your group] with your username and group, i.ee root, david, etc
(5) Enable the skywire service by typing the following command as root

Code:
Code:
systemctl enable skywire.service

**Once the service has been enabled, skywire will automatically launch (start) at system boot

To test, manually start the skywire service by running the following command

Code:
Code:
systemctl start skywire

Now navigate to http://server_ip:8000 and you should see the skywire login page

To stop or restart the skywire service, run the following commands. Prefix sudo if you running them from your user account

Stop
Code:
Code:
systemctl stop skywire

Restart
Code:
Code:
systemctl restart skywire
 
Repeat this on all the other nodes

How do i copy this in putty?
I dont know how to copy the files to my card.

Henk

Right click should automatically paste it for you.
Reply
#99
(08-18-2018, 10:12 AM)h.v.zadelhoff Wrote:
(08-14-2018, 05:12 PM)skyguy Wrote:
(08-14-2018, 01:03 PM)timstampa Wrote: I have a question about the autostart scripts.  How does one implement them in a custom built raspberry pi sky miner image?  I have downloaded the rpi-skywire.img file which you provided on this post but when I try to write it to my 16GB sdcard it fails saying the sdcard is too small.  Now the next best thing is to rebuild the image from scratch myself and add the autostart scripts by hand.

Use the attached scripts to autostart your monitor and nodes. The scripts in the "Monitor" folder are for your monitor node. The scripts in the "Node" folder are for nodes 1-7. In the skywire-start script, update the monitor IP from 192.168.0.102 to the IP of your monitor (192.168.0.2, etc)

Instructions

(1) As the root user, copy skywire-start to /usr/local/sbin directory
(2) Edit skywire-start and replace [your home folder] with the folder name where you installed go, i.e. /root, /home/david, etc.
(3) Copy skywire.service to /etc/systemd/system
(4) Edit skywire.service and replace [your user account name] and [your group] with your username and group, i.ee root, david, etc
(5) Enable the skywire service by typing the following command as root

Code:
Code:
systemctl enable skywire.service

**Once the service has been enabled, skywire will automatically launch (start) at system boot

To test, manually start the skywire service by running the following command

Code:
Code:
systemctl start skywire

Now navigate to http://server_ip:8000 and you should see the skywire login page

To stop or restart the skywire service, run the following commands. Prefix sudo if you running them from your user account

Stop
Code:
Code:
systemctl stop skywire

Restart
Code:
Code:
systemctl restart skywire
 
Repeat this on all the other nodes

How do i copy this in putty?
I dont know how to copy the files to my card.

Henk

You need to ftp them to your Pi or edit them on your desktop and copy the content to the same file names using vi (visual editor)

i.e. 

Code:
cd /usr/local/sbin
vi skywire-start
i (for insert)
right mouse click to paste content from clipboard
escape escape
wq! (write & quit)
Reply
(08-18-2018, 12:17 PM)skyguy Wrote:
(08-18-2018, 10:12 AM)h.v.zadelhoff Wrote:
(08-14-2018, 05:12 PM)skyguy Wrote:
(08-14-2018, 01:03 PM)timstampa Wrote: I have a question about the autostart scripts.  How does one implement them in a custom built raspberry pi sky miner image?  I have downloaded the rpi-skywire.img file which you provided on this post but when I try to write it to my 16GB sdcard it fails saying the sdcard is too small.  Now the next best thing is to rebuild the image from scratch myself and add the autostart scripts by hand.

Use the attached scripts to autostart your monitor and nodes. The scripts in the "Monitor" folder are for your monitor node. The scripts in the "Node" folder are for nodes 1-7. In the skywire-start script, update the monitor IP from 192.168.0.102 to the IP of your monitor (192.168.0.2, etc)

Instructions

(1) As the root user, copy skywire-start to /usr/local/sbin directory
(2) Edit skywire-start and replace [your home folder] with the folder name where you installed go, i.e. /root, /home/david, etc.
(3) Copy skywire.service to /etc/systemd/system
(4) Edit skywire.service and replace [your user account name] and [your group] with your username and group, i.ee root, david, etc
(5) Enable the skywire service by typing the following command as root

Code:
Code:
systemctl enable skywire.service

**Once the service has been enabled, skywire will automatically launch (start) at system boot

To test, manually start the skywire service by running the following command

Code:
Code:
systemctl start skywire

Now navigate to http://server_ip:8000 and you should see the skywire login page

To stop or restart the skywire service, run the following commands. Prefix sudo if you running them from your user account

Stop
Code:
Code:
systemctl stop skywire

Restart
Code:
Code:
systemctl restart skywire
 
Repeat this on all the other nodes

How do i copy this in putty?
I dont know how to copy the files to my card.

Henk

You need to ftp them to your Pi or edit them on your desktop and copy the content to the same file names using vi (visual editor)

i.e. 

Code:
cd /usr/local/sbin
vi skywire-start
i (for insert)
right mouse click to paste content from clipboard
escape escape
wq! (write & quit)

Thanks, I will try it.

Henk
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)