I recently had to reimage my SD card due to problems with the shake. Now, the settings and other items seems to be working correctly, but it will not connect to the network. I tried resetting the Shake and the modem; made sure that the stand alone is set to OFF; and tried some of the DNS and IP settings I saw in other help forums on this topic. The latest log file is attached. What can I try next to fix this problem?RSH.R417B.2021-01-20T03 16 20.logs.tar (132 KB)
Thank you for the logs. From them, it appears that even you input the DNS address ā8.8.8.8ā, this is not getting a connection to our servers. These lines make the issue clear:
2021 020 02:59:11: Unable to resolve hostname 'raspberryshake.net', most likely no DNS server available 2021 020 02:59:11: No internet connection found 2021 020 02:59:22: Unable to resolve hostname 'raspberryshake.net', most likely no DNS server available
Since restarting the Shake and the modem/router hasnāt worked, then please shut down your Shake again first, then your modem/router. Wait for a couple of minutes, then restart your modem/router, and when itās back online, please check from your pc/laptop if the following ports are open (do not start the Shake now):
port 55555 [TCP] port 55556 [TCP] port 123 for TCP and UDP traffic in both directions
The first one is the Google server (which seems to not work, so it will probably give you a bad result) while the second is our data server. The two commands will execute the exchange ten times, and your expected result is a 0% packet loss for at least the last instance.
Iāll wait for you to try this before going forward.
i see in your output that the IP address is 169.254.236.186. this is typically the IP address range assigned to a computer when it is connected directly to another computer.
however, in the log file myshake.out file contained in the log files you provided in your orignal post, the IP address assigned to the Shake is 192.168.0.17, which is a typical IP address assigned by a router to a device connected to it.
would you happen to know what could explain this difference in IP addresses? to be clear, when connecting the Shake Pi directly to a computer, you will definitely not be able to gain access to the internet at large, this will not work.
Is there anything else I can do to get up and running again? As mentioned, the shake was working on the network before I updated the SD card with the new image. So something about that update fixed one problem (that I couldnāt update its location) but caused the current problem (that it wonāt connect to the servers). Nothing else in the configuration has changed, including the connection described above.
this explains the 169 address, which is the address of the adapter. what i now think is happening (or not, as the case may be) is that the adapter itself no longer has a connection to the internet.
iām not sure how this is done, but you should try to confirm that the adapter is connected to the internet. if it isnāt, what you are seeing with the Shake is exactly what would happen.
another test, in regards to confirming the Shake software, is to connect the Shake to your router directly using a direct ethernet cable and reboot the Shake. when your router is able to access the internet, the Shake will also have access.
and, the reason your Shakeās clock is off is exactly because it has not been able to connect to an NTP server. once internet access is again working, the clock will be reset to the correct time.
It is currently connect to the router, and here are the log files.
Testing the adapter:
Turned the wifi on my laptop off, plugged the laptop into the same ethernet port on the adapter as the Shake was, with the same cable, and the laptop was connected to the internet via the ethernet cable.
The wifi on the Shake is off, so I would not be connected to the Shake if the adapter werenāt working, ie the Shake must be on my local network using the adapter since I can control it via my computer which on the network via wifi. I also changed my computer to a different network than the adapter is on, and confirmed that I was no longer able to connect to the Shake.
so, this means that traffic off the router, originating from the Shake Pi computer, is not making it to the outside. nor is the DNS server specified, 8.8.8.8 (google), is also inaccessible.
next test would logically be:
can you plug a different computer into the same router, using an ethernet connection, and run the same commands from a command line?
if this isnāt possible, another test would be to plug the Shake Pi into a different router, one you know is connecting successfully to the internet-at-large, and run the same test commands there.
to be clear: there is no configuration on the Shake Pi that disallows connection to the internet through a router. these tests, so far, have confirmed that communications off the Pi are successful (original ping through the adapter returned the address of the adapter). not to mention that you are able to remotely log in to it, communications rarely are permissioned to happen only one-way.
without being there myself, i canāt absolutely say since i am not privy to your entire networkās setup and configuration details, but my conclusion at this point is that traffic off the router to the WAN is not working. on the other hand, this seems unlikely since i will also assume you have other devices using this same router to access the internet, and those other devices are not suffering this problem?
try the other tests, make certain to use a router you know accesses the internet okay, and let us know the outcome.
Yes, I plugged my computer into the same router with the same ethernet cable and ran the commands successfully with 0% loss. Also, yes, traffic must necessarily be working off the router to the WAN since my other devices on this router are connected to the internet just fine.
So this seems to narrow down the problem to the Shake. Any more ideas for troubleshooting?
since the connection to the router works fine, iām still not sure it can be attributed to the shake. the only time iāve ever seen this is when the device has been expressly forbidden by the router itself to communicate to the outside. i will have another set of eyes look at this and get back to you.
and iām not sure itās possible, but if trying this with a different router is an option, this test would remove the router from the list as the possible culprit. annoying as it is, the sources of some problems can only be found through a process of elimination of possibilities.
New problem ā when I tried to use Putty to access the shake, I keep getting āaccess denied.ā I have not changed anything since the last time I logged in to it a few days ago. Iām relatively certain Iām not doing anything different, and of course thereās always the chance Iām screwing up. What should I do though ā is there a way to reset the login? I rebooted the shake a couple times with the same result.