We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2017-05-12 15:33:44 +0200

How to get phone IP address (for ssh)?

I would like to have a simple way to access my phone via SSH. I am already using a public key setup (both for nemo and root), but the main issue is determining its IP address. Currently I have to look it up in settings/developer mode every time (and the fact that it changes constantly generates lots of spurious "new server" warnings). Ideally I'd like to have a command line that Just Works, without the need to look it up manually.

Is there an easy solution to this problem? As far as I know Jolla does not support Zeroconf.

How to get phone current IP address (for ssh)?

EDIT: I would didn't explain myself clearly probably, so I'd better change my formulation completely.

I am sitting in front of my laptop. I'd like to have a simple way to access my phone Jolla via SSH. I am already using a public key setup (both for nemo and root), but the main issue is determining its IP address. Currently To do this, I have to look it up type ssh nemo@???. Problem: my phone's IP address changes depending on which network I am in (and some of these networks have DHCP). So I don't really know what to put instead of ???, unless I physically reach for my phone and find its IP (with ifconfig, or on the settings/developer mode every time (and the fact that it changes constantly generates lots of spurious "new server" warnings). Ideally I'd like to have a command line that Just Works, without the need to look it up manually.page).

Is there an easy solution a way to set things up so that I don't have to reach the phone to check this problem? address? As far as I know Jolla does not support Zeroconf.Zeroconf, which would be a solution.

How to get phone current IP address (for ssh)?

EDIT: I didn't explain myself clearly probably, so I'd better change my formulation completely.

I am sitting in front of my laptop. I'd like to access my Jolla via SSH. To do this, I have to type ssh nemo@???. Problem: my phone's IP address changes depending on which network I am in (and some of these networks have DHCP). So I don't really know what to put instead of ???, unless I physically reach for my phone and phone, find its IP (with ifconfig, or on the settings/developer mode page).page) and copy it onto my laptop by hand.

Is there a way to set things up so that I don't have to reach the phone to check this address? As far as I know Jolla does not support Zeroconf, which would be a solution.

How to get phone current IP address (for ssh)?

EDIT: I didn't explain myself clearly probably, so I'd better change my formulation completely.

I am sitting in front of my laptop. I'd like to access my Jolla via SSH. To do this, I have to type ssh nemo@???. (or something equivalent, like typing it in an input box). Problem: my phone's IP address changes depending on which network I am in (and some of these networks have DHCP). So I don't really know what to put instead of ???, unless I physically reach for my phone, find its IP (with ifconfig, or on the settings/developer mode page) and copy it onto my laptop by hand.

Is there a way to set things up so that I don't have to reach the phone to check this address? As far as I know Jolla does not support Zeroconf, which would be a solution.

How to can I get phone current my phone's IP address (for ssh)?without touching it?

EDIT: I didn't explain myself clearly probably, so I'd better change my formulation completely.

I am sitting in front of my laptop. I'd like to access my Jolla via SSH. To do this, I have to type ssh nemo@??? (or something equivalent, like typing it in an input box). Problem: my phone's IP address changes depending on which network I am in (and some of these networks have DHCP). So I don't really know what to put instead of ???, unless I physically reach for my phone, find its IP (with ifconfig, or on the settings/developer mode page) and copy it onto my laptop by hand.

Is there a way to set things up so that I don't have to reach the phone to check this address? As far as I know Jolla does not support Zeroconf, which would be a solution.

How can I get my phone's IP address without touching it?

EDIT: I didn't explain myself clearly probably, so I'd better change my formulation completely.

I am sitting in front of my laptop. I'd like to access my Jolla via SSH. To do this, I have to type ssh nemo@??? (or something equivalent, like typing it in an input box). Problem: my phone's IP address changes depending on which network I am in (and some in. Some of these networks have DHCP). DHCP, and some are workplace networks on which I have no admin access to the router. So I don't really know what to put instead of ???, unless I physically reach for my phone, find its IP (with ifconfig, or on the settings/developer mode page) and copy it onto my laptop by hand.

Is there a way to set things up so that I don't have to reach the phone to check this address? As far as I know Jolla does not support Zeroconf, which would be a solution.