SSH and FTP stopped working
-
- Posts: 12
- Joined: Fri Aug 28, 2020 5:15 pm
- Been thanked: 1 time
SSH and FTP stopped working
A couple days ago my old laptop (running linux) couldn't SSH or FTP to the MiSTer (I'm new to MiSTer but its been working fine the last couple weeks)
FTP; "ETHOSTUNREACH - No route to host."
SSH same thing; "No route to host."
Can't ping the MiSTer from the laptop and the MiSTer can't ping the laptop
Things I've tried;
FTP and SSH from different computers to MiSTer - OK
FTP and SSH from the laptop to other machines on the network - OK
Clean installation on a different card - FAIL (still can't connect from the laptop to MiSTer)
Firewall on the MiSTer on/off - FAIL
Changed networks - OK (both devices normally use the 'IoT/Guest network', but I moved them to the secured side, both wifi and hardline worked)
It seems like only the MiSTer and laptop have an issue connecting and only when on the 'IoT' network...ideas of things to try? Do have have a bad credential which needs to be deleted...? Thanks!
FTP; "ETHOSTUNREACH - No route to host."
SSH same thing; "No route to host."
Can't ping the MiSTer from the laptop and the MiSTer can't ping the laptop
Things I've tried;
FTP and SSH from different computers to MiSTer - OK
FTP and SSH from the laptop to other machines on the network - OK
Clean installation on a different card - FAIL (still can't connect from the laptop to MiSTer)
Firewall on the MiSTer on/off - FAIL
Changed networks - OK (both devices normally use the 'IoT/Guest network', but I moved them to the secured side, both wifi and hardline worked)
It seems like only the MiSTer and laptop have an issue connecting and only when on the 'IoT' network...ideas of things to try? Do have have a bad credential which needs to be deleted...? Thanks!
-
- Posts: 1
- Joined: Thu Oct 08, 2020 3:36 pm
Re: SSH and FTP stopped working
So, no route to host seems to indicate that DNS resolution succeeded but that, well, there's no way to route packets to the receiver. Though if you're having network issues, it often makes sense to use an IP address instead of a hostname just to take DNS issues off the table. Often guest network configurations won't allow one device to communicate with another device as a security measure. Also this is typically over WiFi only. Anything connected via ethernet is usually in the secured network. Of course, home routers can always do things differently. I think what you have here is some network configuration issue. If one device on the secured network can ssh into the MiSTer on the IOT network but not your laptop, that sounds a little strange.
This was posted last weekend, so maybe you've had time to sanity check yourself and/or get it figured out. But it seems like you've just got a basic networking issue, and not something that needs to be changed on the MiSTer itself.
This was posted last weekend, so maybe you've had time to sanity check yourself and/or get it figured out. But it seems like you've just got a basic networking issue, and not something that needs to be changed on the MiSTer itself.
-
- Posts: 12
- Joined: Fri Aug 28, 2020 5:15 pm
- Been thanked: 1 time
Re: SSH and FTP stopped working
I'll mess around with it more this weekend because I really need ssh. But I can always move to the other network temporarily.
Any computer on the IoT network can ssh to each others except the MiSTer and old linux laptop (small 13" 'couch' laptop) and you can communicate between the two networks but I have that turned off because it slight defeats the purpose of having them be separated.
Had no issues previously and was blaming an update on the MiSTer (only change right before the problem started) but I'm not sure why it started *shrug*
Any computer on the IoT network can ssh to each others except the MiSTer and old linux laptop (small 13" 'couch' laptop) and you can communicate between the two networks but I have that turned off because it slight defeats the purpose of having them be separated.
Had no issues previously and was blaming an update on the MiSTer (only change right before the problem started) but I'm not sure why it started *shrug*
Re: SSH and FTP stopped working
Not “can”, but “will” cause problems. You can’t have two devices on the same IP subnet with the same MAC without a lot of problems. In the error the OP is mentioning means he has an IP problem. His local Ip stack does not have a route to the device he’s trying to connect to. In this case, his subnet is definitely configured differently between his laptop and Mister, plus he does not have a default route configured.
It’s impossible to tell him what to do, without knowing more about his network. But if they are both supposed to be on the same broadcast domain, they should both be configured for that.
It’s impossible to tell him what to do, without knowing more about his network. But if they are both supposed to be on the same broadcast domain, they should both be configured for that.
-
- Top Contributor
- Posts: 1323
- Joined: Thu Jun 11, 2020 2:31 am
- Has thanked: 15 times
- Been thanked: 213 times
Re: SSH and FTP stopped working
It's also possible that DHCP plays a role here. A few time, my router has given out a *different* IP to the MiSTer than it had, but the dynamic DNS entry for it still had the original IP, making it look like it lost connectivity (when all it really did was change addresses). Being able to look up devices on your router by MAC to get their address is hella handy in such situations.
Re: SSH and FTP stopped working
Here is the thread about multiple misters on the same network: viewtopic.php?f=27&t=478
It has steps for updating hostname/MAC address. (Although it sounds like that may not be the issue in this case.)
It has steps for updating hostname/MAC address. (Although it sounds like that may not be the issue in this case.)
- aberu
- Core Developer
- Posts: 1192
- Joined: Tue Jun 09, 2020 8:34 pm
- Location: Longmont, CO
- Has thanked: 247 times
- Been thanked: 411 times
- Contact:
Re: SSH and FTP stopped working
https://i.imgur.com/IbsE0HL.pngtwocuddlefish wrote: ↑Fri Oct 09, 2020 9:16 pm I'll mess around with it more this weekend because I really need ssh. But I can always move to the other network temporarily.
Any computer on the IoT network can ssh to each others except the MiSTer and old linux laptop (small 13" 'couch' laptop) and you can communicate between the two networks but I have that turned off because it slight defeats the purpose of having them be separated.
Had no issues previously and was blaming an update on the MiSTer (only change right before the problem started) but I'm not sure why it started *shrug*
Basically this sounds like a DNS issue. Here's a few things to check.
1. If you have multiple MiSTer's you could have DNS entries that are for another device named "MISTER" which also has the same MAC Address, that would mean pinging from your PC is trying the one that might be turned off.
2. Since you have indicated you are segregating your MiSTer onto an "IoT" network... Is this a separate subnet? Do you have this setup via a second VLAN? If so, make sure you aren't incorrectly setting up a gateway on your PC or on the MiSTer in their IP configuration.
3. Reboot your router/dns server. if you are running DHCP at home, reboot that too and clear the entry for the MiSTer in it
Give us some info:
a. show us your arp table
b. show us the messag ehwn you attempt to ping
c. show us roughly what your two subnets/vlans are
birdybro~