smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 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?
simplextech Posted August 3, 2019 Posted August 3, 2019 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.
smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 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?
simplextech Posted August 3, 2019 Posted August 3, 2019 ok... try whatever you thought you changed it to.
larryllix Posted August 3, 2019 Posted August 3, 2019 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.
smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 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?
smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 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?
larryllix Posted August 3, 2019 Posted August 3, 2019 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.
smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 17 minutes ago, simplextech said: Post a screenshot of your browser error Here you go. Thanks. https://imgur.com/vDqVMtR
smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 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
simplextech Posted August 3, 2019 Posted August 3, 2019 From the pi console run the following... netstat -an |grep 3000 Post those results
simplextech Posted August 3, 2019 Posted August 3, 2019 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.
smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 2 minutes ago, simplextech said: From the pi console run the following... netstat -an |grep 3000 Post those results bash: grep3000: command not found
simplextech Posted August 3, 2019 Posted August 3, 2019 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.
smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 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:~ $
smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 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.
simplextech Posted August 3, 2019 Posted August 3, 2019 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
smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 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
simplextech Posted August 3, 2019 Posted August 3, 2019 ok so polyglot just isn't listening on any port anywhere. Have you tried rebooting the raspberry pi?
smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 Just now, simplextech said: ok so polyglot just isn't listening on any port anywhere. Have you tried rebooting the raspberry pi? Just tried. Didn't help.
simplextech Posted August 3, 2019 Posted August 3, 2019 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
smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 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
smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 I have the desktop version installed now. Think I should try again with lite?
simplextech Posted August 3, 2019 Posted August 3, 2019 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.