<div dir="ltr"><div>Hey Sahlan,</div><div>The fact that you have a network on the same subnet but a different device is probably what is preventing you from contacting the Jolla device.</div><div>Your computer has 2 routes for <a href="http://192.168.2.0/24">192.168.2.0/24</a> which would lead to unpredictable behavior.</div><div>If you connect the Jolla device on WiFi to this 192.168.2.x network and make sure that it gets assigned 192.168.2.15 as IP address the SDK might be "fooled" (I never tried this but since SSH access is available on the WiFi interface of the device it is likely to work)</div><div>HTH,</div><div>Eli<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op vr 19 jul. 2019 om 13:08 schreef Sahlan <<a href="mailto:sahlan@businessassistant.biz">sahlan@businessassistant.biz</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>Eli,</div><div><br></div><div>Thank you for the quick response. My development network happens to be all 192.168.2.x addresses, with the router as 192.168.2.1. No other device is using 192.168.2.15. The i.p. of the Ubuntu machine to which the sailfish mobile  is connected is 192.168.2.42,</div><div><br></div><div>Regards, </div><div><br></div><div>Sahlan</div>
<div><br></div>
<div>------ Original Message ------</div>
<div>From: "E.S. Rosenberg" <<a href="mailto:es.rosenberg+sailfishos.org@gmail.com" target="_blank">es.rosenberg+sailfishos.org@gmail.com</a>></div>
<div>To: "Sahlan" <<a href="mailto:sahlan@businessassistant.biz" target="_blank">sahlan@businessassistant.biz</a>>; "Sailfish OS Developers" <<a href="mailto:devel@lists.sailfishos.org" target="_blank">devel@lists.sailfishos.org</a>></div>
<div>Sent: 19/07/2019 10:53:07</div>
<div>Subject: Re: [SailfishDevel] Question about connecting a Sailfish phone to Ubuntu Linux box</div><div><br></div>
<div id="gmail-m_1805939818915318478x356edad930af4aa"><blockquote cite="http://CAHxFV_ukYqYUtzRv6G8wL9b7vbJMRQ97nrXRDKwcDnSNfHoOiA@mail.gmail.com" type="cite" class="gmail-m_1805939818915318478cite2">
<div dir="ltr"><div>Depending on how your network connections are setup it could be that you have to manually trigger the USB-ethernet connection to become active.</div><div>You can check if you have an interface with the address 192.168.2.1 on you machine, the SailfishOS device is always at 192.168.2.15.</div><div>HTH,</div><div>Eli<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op vr 19 jul. 2019 om 12:28 schreef Sahlan <<a href="mailto:sahlan@businessassistant.biz" target="_blank">sahlan@businessassistant.biz</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>Hello,<div><br></div><div>I am currently developing and porting some C++ apps to a variety of operating systems, including Sailfish. I live in the Republic Of Ireland, so the first problem was to find a Sailfish phone! I have purchased a phone which is running Sailfish 3 and have set up Developer Mode on it. On Ubuntu 18.04 LTS, I installed the Sailfish Qt Creator IDE and built a simple test app. I connected the Sailfish phone via USB and confirmed with lsusb that the device is recognised as being connected. Under Tools / Options / Devices, I try to add the phone as a Sailfish OS Physical Device. The IP address, username and password correctly correspond to those on the phone, but clicking "Test Connection" always gives me the message "Host unreachable". Increasing the SSH timeout does not help. I also tried pinging the i.p. address of the phone from a terminal window, and it is not found, though I am not sure whether ping should work with i.p. over usb. I also tried changing the phone i.p. address, in case of address clash, but this does not work either.</div><div><br></div><div>Can anyone suggest how I might solve this problem? I know that remote connections can be temperamental. For example, I have a Blackberry 10 mobile which I can only develop for on a Windows 7 machine, because all other boxes: Windows 10, Linux, Mac fail to recognise the device, even using identical tools and setup procedures!</div><div><br></div><div>With thanks, in anticipation of some help, </div><div>Sahlan</div><div><br></div><div><br></div><div><br></div></div>_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a></blockquote></div>
</blockquote></div>
</div></blockquote></div>