smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 3 minutes ago, simplextech said: 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.I How do I save it? It says "modified" after adding. Do I just reboot now?
smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 2 minutes ago, smarthome_newbie said: How do I save it? It says "modified" after adding. Do I just reboot now? I figured it out. It is saved and I rebooted.
smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 I still get this after rebooting. 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
simplextech Posted August 3, 2019 Posted August 3, 2019 Since it's still not getting a listen socket then it's not the weird ipv6 issue that hit me a while back. So I'm at a loss now. I'm thinking the install is still missing something. The polyglot process is running but it doesn't have a listen port which is not correct. I've never installed on a Raspbian Desktop system as I don't use the desktop so I don't know if there's some conflict there or something... I just don't know.
smarthome_newbie Posted August 3, 2019 Author Posted August 3, 2019 4 minutes ago, simplextech said: Since it's still not getting a listen socket then it's not the weird ipv6 issue that hit me a while back. So I'm at a loss now. I'm thinking the install is still missing something. The polyglot process is running but it doesn't have a listen port which is not correct. I've never installed on a Raspbian Desktop system as I don't use the desktop so I don't know if there's some conflict there or something... I just don't know. Well thank you for all of your help. I’m going to start off and install lite.
simplextech Posted August 3, 2019 Posted August 3, 2019 2 minutes ago, smarthome_newbie said: Well thank you for all of your help. I’m going to start off and install lite. Hopefully that just works. I do recommend setting up SSH with lite and doing copy/paste from you Mac to make it a lot easier especially for the install command.
larryllix Posted August 3, 2019 Posted August 3, 2019 8 minutes ago, smarthome_newbie said: Well thank you for all of your help. I’m going to start off and install lite. Lite contains less command files and is trimmed down. I doubt that will help. Your error looked like a missing security file to me. You have to learn to ignore that and continue using the hidden details option. PolyGlot is refusing the connection because you used https and your browser is choking on the response with bad responses because Polyglot does not supply a certificate and the browser is hiding the ignore bypass in "Details"
larryllix Posted August 3, 2019 Posted August 3, 2019 8 minutes ago, simplextech said: Hopefully that just works. I do recommend setting up SSH with lite and doing copy/paste from you Mac to make it a lot easier especially for the install command. Here is what Windows gets every login without a signed certificate
smarthome_newbie Posted August 4, 2019 Author Posted August 4, 2019 33 minutes ago, larryllix said: Here is what Windows gets every login without a signed certificate Wow. So it could be that simple? I clicked on details and got the below. I don't see a way to bypass. Check your Internet connection Check any cables and reboot any routers, modems, or other network devices you may be using. Allow Chrome to access the network in your firewall or antivirus settings. If it is already listed as a program allowed to access the network, try removing it from the list and adding it again. If you use a proxy server… Check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don't believe you should be using a proxy server: Go to Applications > System Preferences > Network > Advanced > Proxies and deselect any proxies that have been selected.
larryllix Posted August 4, 2019 Posted August 4, 2019 3 hours ago, smarthome_newbie said: Wow. So it could be that simple? I clicked on details and got the below. I don't see a way to bypass. Check your Internet connection Check any cables and reboot any routers, modems, or other network devices you may be using. Allow Chrome to access the network in your firewall or antivirus settings. If it is already listed as a program allowed to access the network, try removing it from the list and adding it again. If you use a proxy server… Check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don't believe you should be using a proxy server: Go to Applications > System Preferences > Network > Advanced > Proxies and deselect any proxies that have been selected. hmmmmm. I am not an iPerson so I don't know much about that. There is a hint there. Allow Chrome to access the network in your firewall settings. Short of that you may need to learn how to create a self-signed security certificate for PolyGlot. I never bothered but I can always bypass the refusal to connect. Geeeezzzz...try to connect to it from the browser on the RPi. I take it you are using the GUI screen with browser. localhost:3000 should get it.
smarthome_newbie Posted August 4, 2019 Author Posted August 4, 2019 I starting over using Raspberry lite. I'm trying to ssh from my Mac but get the error below. Last login: Sat Aug 3 23:01:43 on ttys000 MacBook-Pro:~ XXXXXXXX$ ssh pi@192.168.1.138 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the ECDSA key sent by the remote host is SHA256:G/d5U47YsfB0a/qEKCrNqkHrr4PnTbdH/pKzDwQZPwc. Please contact your system administrator. Add correct host key in /Users/XXXXXXXX/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /Users/XXXXXXXXX/.ssh/known_hosts:1 ECDSA host key for 192.168.1.138 has changed and you have requested strict checking. Host key verification failed.
simplextech Posted August 4, 2019 Posted August 4, 2019 2 minutes ago, smarthome_newbie said: I starting over using Raspberry lite. I'm trying to ssh from my Mac but get the error below. Last login: Sat Aug 3 23:01:43 on ttys000 MacBook-Pro:~ XXXXXXXX$ ssh pi@192.168.1.138 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the ECDSA key sent by the remote host is SHA256:G/d5U47YsfB0a/qEKCrNqkHrr4PnTbdH/pKzDwQZPwc. Please contact your system administrator. Add correct host key in /Users/XXXXXXXX/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /Users/XXXXXXXXX/.ssh/known_hosts:1 ECDSA host key for 192.168.1.138 has changed and you have requested strict checking. Host key verification failed. MacBook-Pro:~ nickengel$ It's harmless you just need to remove the entries in the known_hosts file. I don't know where on a Mac this is located though. It should be in your home directory under .ssh/known_hosts so on linux that would be ~/.ssh/known_hosts for now try using ssh like this to the pi ssh -o StrictHostKeyChecking=no hostname And here's a google search stack exchange link you can review... https://apple.stackexchange.com/questions/204410/disable-stricthostkeychecking-in-ssh
smarthome_newbie Posted August 4, 2019 Author Posted August 4, 2019 11 hours ago, simplextech said: It's harmless you just need to remove the entries in the known_hosts file. I don't know where on a Mac this is located though. It should be in your home directory under .ssh/known_hosts so on linux that would be ~/.ssh/known_hosts for now try using ssh like this to the pi ssh -o StrictHostKeyChecking=no hostname And here's a google search stack exchange link you can review... https://apple.stackexchange.com/questions/204410/disable-stricthostkeychecking-in-ssh I'm doing something wrong. I entered the below, but changed "hostname" to the ip of the Rpi. I'm getting permission denied and message below. Any ideas? I can't figure out how to remove entries of the known_hosts file in my Mac. Is that what has to be done? ssh -o StrictHostKeyChecking=no hostname Offending ECDSA key in /Users/xxxxx/.ssh/known_hosts:1 Password authentication is disabled to avoid man-in-the-middle attacks. Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
simplextech Posted August 4, 2019 Posted August 4, 2019 2 minutes ago, smarthome_newbie said: Offending ECDSA key in /Users/xxxxx/.ssh/known_hosts:1 That right there tells you the location of the file you need to edit. Remove the keys in that file and then save it.
smarthome_newbie Posted August 4, 2019 Author Posted August 4, 2019 15 minutes ago, simplextech said: That right there tells you the location of the file you need to edit. Remove the keys in that file and then save it. I typed in the wrong command and got the below. What did I permanently add? That's the IP of my Rpi. Sorry, I'm not understanding. How do I edit the offending key? What keys need to be removed? $ ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null 192.168.1.138 Warning: Permanently added '192.168.1.138' (ECDSA) to the list of known hosts.
smarthome_newbie Posted August 4, 2019 Author Posted August 4, 2019 1 hour ago, simplextech said: That right there tells you the location of the file you need to edit. Remove the keys in that file and then save it. I've made some progress. I found the below instructions on another site. See screenshot below. I have downloaded Nano and am now able to edit. I'm just not sure exactly what or how to edit. Thanks. https://imgur.com/Emy8o2E Also, do I need to be worried for security reasons that I added the below permanently? $ ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null 192.168.1.138 Warning: Permanently added '192.168.1.138' (ECDSA) to the list of known hosts.
smarthome_newbie Posted August 4, 2019 Author Posted August 4, 2019 I figured it out. Now about to try installing polyglot.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.