Jump to content

Please help installing Polyglot


Recommended Posts

Posted
11 minutes ago, simplextech said:

Did you preface the command with pi@

ssh pi@<ip>

on Mac it may be different for the user so try

ssh -l pi <ip>

otherwise if the username is not the default then I wouldn't know.  It will be the same as what you used logging in with a keyboard and monitor attached.  The only other possibility is back to SSH not actually running which is why you can't get remote access.  Even without the remote access if everything else ran correctly during your install then you shouldn't really need it that much.  

If it's logging into the pi and asking for the password then SSH must be working.  Do you agree?

Posted

If it's connecting and you're getting a password prompt then SSH would be working.  

why it's not taking the password would be a typo or ssh not allowing the login which by default it should so again I dunno.  

Posted
18 minutes ago, simplextech said:

Did you preface the command with pi@

ssh pi@<ip>

on Mac it may be different for the user so try

ssh -l pi <ip>

otherwise if the username is not the default then I wouldn't know.  It will be the same as what you used logging in with a keyboard and monitor attached.  The only other possibility is back to SSH not actually running which is why you can't get remote access.  Even without the remote access if everything else ran correctly during your install then you shouldn't really need it that much.  

I tried to change password in terminal of the pi.  Typed passwd.  Entered raspberry for current password and it said authentication token manipulation error.  I swear I didn't change the password.  But this means it must not be raspberry, right?

Posted

Why complicate thing logging in remotely with SSH when you already have a terminal window connected directly into a RPi. SSH has to be set up to run on the RPi and then the TTY client has to be setup at the remote end. The install crashed on the RPI. The install problems needs to be fixed first. 

Is there some reason to add the SSH complications to this right now? Is it thought remote access will make the install work? If you are running the GUI screens locally on the RPi you have access to so many more tools to assist you simultaneously in a multi-user style O/S.

Posted
5 minutes ago, simplextech said:

ok... try whatever you thought you changed it to.  

OK I was able to log in.  I ran the polyglot install script.  It says it is installed and gives me the https: address to go to.  When I go to the address, browser says invalid page.  I tried Chrome.  This is the same problem I had before.  Only thing I did different this time is that I installed polyglot from my Mac.  Any thoughts?

Posted

I was able to get SSH to work, but you are right, I can just use the terminal in pi since it is hooked up to screen.  I'm still having the same issue as before.  Got message that polyglot is installed and gave me the https address to go to, but it says can't connect when I try in my Mac browser.  Used Chrome and Safari.  Any thoughts?

Posted
29 minutes ago, smarthome_newbie said:

I was able to get SSH to work, but you are right, I can just use the terminal in pi since it is hooked up to screen.  I'm still having the same issue as before.  Got message that polyglot is installed and gave me the https address to go to, but it says can't connect when I try in my Mac browser.  Used Chrome and Safari.  Any thoughts?

Are you getting a security error?
Polyglot was never finished with the security certificates to enable your browser to comfortably access the webpage server that it will ask you for.. If so, just ignore the error and proceed to the page anyway as a trusted page.

Posted
9 minutes ago, larryllix said:

Are you getting a security error?
Polyglot was never finished with the security certificates to enable your browser to comfortably access the webpage server that it will ask you for.. If so, just ignore the error and proceed to the page anyway as a trusted page.

Nope.  Here's a screenshot.  https://imgur.com/vDqVMtR

Posted

Also post the output of

ps -ef |grep polyglot

 

I suspect both will be empty no results which would confirm that polyglot just really is not running and not installed fully/correctly at which point I don't know where to even start trying to troubleshoot.  If you did a fresh install with buster lite and ran the install exactly as the command is written then it should "just work".  I did this myself today and everything installed and was fine.

Posted
Just now, smarthome_newbie said:

bash:  grep3000: command not found

you're missing half of the command....

the commands must be typed exactly spaces and other characters have meaning.

Posted
1 minute ago, simplextech said:

Also post the output of

ps -ef |grep polyglot

 

I suspect both will be empty no results which would confirm that polyglot just really is not running and not installed fully/correctly at which point I don't know where to even start trying to troubleshoot.  If you did a fresh install with buster lite and ran the install exactly as the command is written then it should "just work".  I did this myself today and everything installed and was fine.

pi@raspberrypi:~ $ ps -ef |grep polyglot

pi        2066     1  0 18:07 ?        00:00:05 /home/pi/polyglot/polyglot-v2-linux-armv7

pi        2279  1820  0 19:02 pts/1    00:00:00 grep --color=auto polyglot

pi@raspberrypi:~ $

Posted
1 minute ago, simplextech said:

you're missing half of the command....

the commands must be typed exactly spaces and other characters have meaning.

I actually typed the whole command before.  Maybe I got a character off.  This time I copied paste and the command returned nothing.

Posted

run this....

netstat -an |grep tcp |grep LISTEN

that should return something.  I'm curious if polyglot is listening on tcp6 as it's not showing on tcp

Posted
Just now, simplextech said:

run this....

netstat -an |grep tcp |grep LISTEN

that should return something.  I'm curious if polyglot is listening on tcp6 as it's not showing on tcp

pi@raspberrypi:~ $ netstat -an |grep tcp |grep LISTEN

tcp        0      0 127.0.0.1:27017         0.0.0.0:*               LISTEN     

tcp        0      0 127.0.0.1:28017         0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     

tcp6       0      0 :::22                   :::*                    LISTEN   

Posted

check the processes again and the netstat.  I want to see if polyglot is running but doesn't have a listening port.

ps -ef |grep polyglot

netstat -an |grep tcp |grep LISTEN

Posted
Just now, simplextech said:

check the processes again and the netstat.  I want to see if polyglot is running but doesn't have a listening port.

ps -ef |grep polyglot

netstat -an |grep tcp |grep LISTEN

pi@raspberrypi:~ $ ps -ef |grep polyglot

pi         334     1  2 19:11 ?        00:00:04 /home/pi/polyglot/polyglot-v2-linux-armv7

pi         983   971  0 19:15 pts/1    00:00:00 grep --color=auto polyglot

pi@raspberrypi:~ $

 

 

pi@raspberrypi:~ $ netstat -an |grep tcp |grep LISTEN

tcp        0      0 127.0.0.1:28017         0.0.0.0:*               LISTEN     

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     

tcp        0      0 127.0.0.1:27017         0.0.0.0:*               LISTEN     

tcp6       0      0 :::22                   :::*                    LISTEN

Posted

This next test will require you to edit a file.

  • Filename:
    • /boot/cmdline.txt
  • Entry to Add:
    • ipv6.disable=1

From the command line you can use vi or nano

sudo nano /boot/cmdline.txt

Add the ipv6.disable=1 entry to the very end of the line in the file.  There are spaces between the different parameters.

Example:

dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=c0f35752-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait ipv6.disable=1

Save this file and then reboot.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.5k
×
×
  • Create New...