answered
2020-03-10 10:07:50 +0200
"Network is unreachable" means your Linux computer has no idea how to connect to the ip/network you have given (192.168.2.15). Usually this is because there is no network card configured on the Linux host which would be able to connect to the given IP address.
192.168.2.15 is typically used by SailfishOS devices using networking over USB. This is not trivial to set up correctly under Linux and is very likely not what you want.
If you simply want to ssh into the SFOS device over a common network you will have to find out (through developer mode on the SFOS device) which WLAN IP your device has, and use that IP address to connect from the Linux computer (which also has to be connected to the same WLAN).
ADDITIONAL NOTE: The WLAN access point you are using may have "Client Separation" enabled, which means it won't let devices connected via WLAN talk to each other. This could cause further problems if you try to connect from a Linux box to your SFOS device via WLAN. If you have access to the access point's settings, turn off Client Separation while experimenting.
should we assume you have developer mode enabled and remote connection also enabled on your sfos device?
Spam Hunter ( 2020-03-09 23:28:21 +0200 )editAlso tried the WLAN IP?
objectifnul ( 2020-03-10 01:43:02 +0200 )editAre both devices in the same network? Maybe you should post the output of ifconfig of both devices to exclude possible general network issues.
Pohli ( 2020-03-10 06:18:24 +0200 )editBoth devices are in the same network. Developer mode and remote connection are enabled on the SFOS device. I do not tried the WLAN IP. How can I check this?
wmcig ( 2020-03-10 07:58:56 +0200 )edit- Is the phone connected via USB?
- What is your local IP on the USB-Device of the PC?
- have you checked Settings-USB that developer mode is active?
- can you ping the phone feom your PC?
jollajo ( 2020-03-10 08:21:27 +0200 )edit