larryllix Posted December 29, 2018 Posted December 29, 2018 29 minutes ago, dwengrovitz said: Got a new toy over the holidays (a Raspberry Pi), so I thought I'd try installing Nodelink on it. I have some other apps I need to run that require Raspbian 8. Does the install script for Nodelink care which version of Raspbian I'm running? Possibly not, but I would do my best to upgrade everything first. It may save you a lot of time/grief later. It's always free. Quote
dwengrovitz Posted December 29, 2018 Posted December 29, 2018 39 minutes ago, larryllix said: Possibly not, but I would do my best to upgrade everything first. It may save you a lot of time/grief later. If you mean upgrade to Raspbian 9 ... unfortunately that's not an option for me just yet, as the other apps I'd like to run won't work in that environment. Quote
markv58 Posted January 12, 2019 Posted January 12, 2019 Not sure why but Nodelink installed itself over or into a used node slot. I got it all sorted out. Forced it into the node I wanted and then uploaded the profile.zip from the polyglot and everything is as it should be. Quote
io_guy Posted January 12, 2019 Author Posted January 12, 2019 3 hours ago, markv58 said: Not sure why but Nodelink installed itself over or into a used node slot. I got it all sorted out. Forced it into the node I wanted and then uploaded the profile.zip from the polyglot and everything is as it should be. Any chance you have the log of it? I'd like to see what NodeLink detected when it grabbed the slot list. Quote
markv58 Posted January 12, 2019 Posted January 12, 2019 It's gone, but I remember there was an error reading the node slot list and something about it trying to install in a prohibited node /ns/0. I will be setting up another one tomorrow or Sunday and if it happens again I will at least get a screen shot. Quote
asbril Posted January 21, 2019 Posted January 21, 2019 On 10/29/2018 at 7:56 AM, io_guy said: NodeLink installation on a Raspberry Pi is now a lot simpler. On a running Pi you type: sudo curl -sSL http://automationshack.com/Files/install.sh | bash That's it. It updates the Pi, installs mono, downloads NodeLink and sets up the startup script. I have a RPi running Polyglot. It took quite some effort (and lots of help from Beninsteon and others) to get this far. How exactly do I add " sudo curl -sSL http://automationshack.com/Files/install.sh | bash " ? Quote
larryllix Posted January 21, 2019 Posted January 21, 2019 I have a RPi running Polyglot. It took quite some effort (and lots of help from Beninsteon and others) to get this far. How exactly do I add " sudo curl -sSL http://automationshack.com/Files/install.sh | bash " ? Bash is the command line interpreter for some linux operating systems.Run the terminal screen on your RPi.Sent from my SM-G930W8 using Tapatalk 1 Quote
asbril Posted January 21, 2019 Posted January 21, 2019 4 minutes ago, larryllix said: Run the terminal screen on your RPi pls remind me how to get to terminal screen ? My Polyglot works with perfection. Is there any risk to impact Polyglot when adding Nodelink ? Quote
DennisC Posted January 21, 2019 Posted January 21, 2019 1 hour ago, asbril said: pls remind me how to get to terminal screen ? My Polyglot works with perfection. Is there any risk to impact Polyglot when adding Nodelink ? I run both without any problems. If you are running headless, you use Putty to sign on to the terminal screen. If you are running the GUI, the Terminal screen is in the menu. 1 Quote
Bumbershoot Posted January 21, 2019 Posted January 21, 2019 1 hour ago, asbril said: pls remind me how to get to terminal screen ? My Polyglot works with perfection. Is there any risk to impact Polyglot when adding Nodelink ? If you log onto your RPi from another computer using the 'ssh' command, then you're already at the terminal once you're logged in. If you have your RPi hooked up to a monitor, keyboard and mouse, and you're looking at a GUI when you log in, then you should be able to find the program named "terminal" somewhere on the box. Just run it, and you'll be presented with a command prompt in a terminal window. Alternatively, you might be able to switch to a command line terminal (full screen) by pressing and holding the ALT+CTRL+F2 (or substitute the F2 with F3 through F5) keys. Switch back to the GUI with ALT+CTRL+F1. I've been running Polyglot, Nodelike and Weatherflow node servers on my RPi for many months with no issues at all. 1 Quote
TJF1960 Posted January 22, 2019 Posted January 22, 2019 16 hours ago, asbril said: pls remind me how to get to terminal screen ? My Polyglot works with perfection. Is there any risk to impact Polyglot when adding Nodelink ? Hi asbril, I am running both NodeLink and Polyglot on my pi and have been for quite a few months now. I am even running Motion for ip camera recording which hogs a lot of cpu all the time. You may already do this but just in case...back up your pi3 image from the sd card before installing Nodelink. That way if by some slim chance something goes wrong you can always restore the sd card image to a previous backup and everything will be as it was before. I am sure there are plenty of sd card image programs but the one I use is Win32 Disc Manager. I make a backup of the image before any upgrades or changes to the pi which has saved me a lot of grief over the years. Quote
asbril Posted January 22, 2019 Posted January 22, 2019 Just now, TJF1960 said: back up your pi3 image from the sd card Thanks TJF960, what is the best way to backup the sd card ? Quote
TJF1960 Posted January 22, 2019 Posted January 22, 2019 (edited) 13 minutes ago, asbril said: Thanks TJF960, what is the best way to backup the sd card ? Google Win32 Disc Imager and download a copy to your win10 machine. Here is the link to SourceForge. Obtain a SD card to USB drive, similar in looks to a thumbdrive with a slot for the SD card. Here is a link to one but there are many different types and styles. Have Win32 Disc Imager running when you insert the SD-USB drive into the USB slot of the computer. Type a name for the image and a location on your drive then click "Read." The image of the SD card will be written to the location you selected on your win10 machine. Its really pretty easy. If you ever need to restore your SD card to a previous image the process is pretty much the reverse. You select the image you want to restore the SD card to and hit "Write" I should caution you however. It is possible to accidently erase or over write your SD card if you are not careful and paying attention. So, don't do like I did one time, don't be in a rush. Take the time to double and triple check the process as you are reading/writing. Edited January 22, 2019 by TJF1960 additional info 1 Quote
asbril Posted January 22, 2019 Posted January 22, 2019 16 hours ago, DennisC said: I run both without any problems. If you are running headless, you use Putty to sign on to the terminal screen. If you are running the GUI, the Terminal screen is in the menu. I get the attached error message when trying to open the RPi in Putty......... Quote
Bumbershoot Posted January 22, 2019 Posted January 22, 2019 14 minutes ago, asbril said: I get the attached error message when trying to open the RPi in Putty......... Port 3000 is unusual. That's the port that Polyglot uses. Maybe just leave the "Port" value blank and let it use the default, or specify port 22. That's probably the port that your RPi is listening to for SSH connections. 1 Quote
asbril Posted January 22, 2019 Posted January 22, 2019 50 minutes ago, Bumbershoot said: Port 3000 is unusual. That's the port that Polyglot uses. Maybe just leave the "Port" value blank and let it use the default, or specify port 22. That's probably the port that your RPi is listening to for SSH connections. Yes that did it. Sorry to be so ignorant.... Now the terminal shows "login as" ... what should I enter ? Quote
beninsteon Posted January 22, 2019 Posted January 22, 2019 2 hours ago, asbril said: Now the terminal shows "login as" ... what should I enter ? Default rpi login is pi and password raspberry If these work make sure you change your password by typing passwd at the prompt 1 Quote
asbril Posted January 22, 2019 Posted January 22, 2019 5 minutes ago, beninsteon said: Default rpi login is pi and password raspberry If these work make sure you change your password by typing passwd at the prompt Thanks !!! I actually had changed it already and wrote it down. I m in 1 Quote
asbril Posted January 22, 2019 Posted January 22, 2019 10 minutes ago, asbril said: Thanks !!! I actually had changed it already and wrote it down. I m in I think that I made progress, but no luck with http://$hostip:$hostport" echo . I assume that use the IP of my RPi but I have tried with both port 22 and 3000. Is there a space between the IP address and echo ? Do UI actually enter this command http://$hostip:$hostport" echo in the RPi terminal or on my PC ? Quote
Bumbershoot Posted January 22, 2019 Posted January 22, 2019 (edited) 1 hour ago, asbril said: I think that I made progress, but no luck with http://$hostip:$hostport" echo . I assume that use the IP of my RPi but I have tried with both port 22 and 3000. Is there a space between the IP address and echo ? Do UI actually enter this command http://$hostip:$hostport" echo in the RPi terminal or on my PC ? Well, almost. You're already logged in to the terminal. What is being referred to is for you to login to Nodelink through your web browser. For Nodelink, I would point my web browser to: http://192.168.1.5:8090 For Polyglot: http://192.168.1.5:3000 Same machine, just different port numbers... Once you're logged into Nodelink with your browser, you can begin setting up your devices that Nodelink will talk to. Edited January 22, 2019 by Bumbershoot Quote
asbril Posted January 22, 2019 Posted January 22, 2019 1 hour ago, Bumbershoot said: Well, almost. You're already logged in to the terminal. What is being referred to is for you to login to Nodelink through your web browser. For Nodelink, I would point my web browser to: http://192.168.1.5:8090 For Polyglot: http://192.168.1.5:3000 Same machine, just different port numbers... Once you're logged into Nodelink with your browser, you can begin setting up your devices that Nodelink will talk to. I have tried several times, exactly as you suggest. I have Polyglot working and open at http://192.168.86.46:3000 and tried Nodelink with http://192.168.86.46:8090 but every time I get error message that 192.168.86.46 refuses connection. I even tried with firewall de-activated but no luck either. Quote
Bumbershoot Posted January 22, 2019 Posted January 22, 2019 (edited) 14 minutes ago, asbril said: I have tried several times, exactly as you suggest. I have Polyglot working and open at http://192.168.86.46:3000 and tried Nodelink with http://192.168.86.46:8090 but every time I get error message that 192.168.86.46 refuses connection. I even tried with firewall de-activated but no luck either. That probably means that Nodelink isn't running on your RPi (possibly it never started). I don't know how the install script sets up Nodelink, but there's a good chance that it starts on boot. It might be easiest if you reboot your RPi. Do you know if Polyglot is set to start on boot? EDIT: I see in the very first post that Nodelink should start upon boot: "It updates the Pi, installs mono, downloads NodeLink and sets up the startup script." Edited January 22, 2019 by Bumbershoot Quote
asbril Posted January 22, 2019 Posted January 22, 2019 31 minutes ago, Bumbershoot said: That probably means that Nodelink isn't running on your RPi (possibly it never started). I don't know how the install script sets up Nodelink, but there's a good chance that it starts on boot. It might be easiest if you reboot your RPi. Do you know if Polyglot is set to start on boot? EDIT: I see in the very first post that Nodelink should start upon boot: "It updates the Pi, installs mono, downloads NodeLink and sets up the startup script." I rebooted the RPi ("sudo reboot") but still same error message Quote
Bumbershoot Posted January 22, 2019 Posted January 22, 2019 46 minutes ago, asbril said: I rebooted the RPi ("sudo reboot") but still same error message Okay, something might have not gone correctly with the script. If you can log back on to your RPi, and type the following command at the prompt to see if NodeLink is running: Quote ps aux | grep NodeLink You should get output that looks like the following: pi@raspberrypi:~ $ ps aux | grep NodeLink pi 4693 0.0 0.0 4376 544 pts/0 S+ 14:52 0:00 grep --color=auto NodeLink pi 32043 1.5 5.7 101436 54348 ? Ssl 03:43 10:36 /usr/bin/mono /home/pi/Nodelink/NodeLink.exe The last line is the important one, that's what tells you that NodeLink has a process number and is indeed running. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.