<html><head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<style id="css_styles" type="text/css">blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: right;'] {  list-style-position: inside;}
body { font-family: Segoe UI; font-size: 12pt;   }</style></head>
<body><div>David,</div><div><br /></div><div>Thank you for that specific page which I hadn't seen before. However I did carry out those steps previously and click Save at the end. On my phone there appears to be a small bug with the generated password, i.e. that the Save button remains disabled and I have to delete then retype the last character of the password to enable the Save button. However I was not aware of the other steps on that page under the heading "Using Developer Mode" which I will try. The phone is a Jolla phone which was purchased with the Sailfish 3 image already on it. Before that I tried to download a Sailfish X image onto I think it was an Xperia phone (or whichever phone was recommended for Sailfish) but even though the phone was unlocked it turned out to be a variant that did not allow flashing of new images,</div><div><br /></div><div>Regards,</div><div><br /></div><div>Sahlan</div><div><br /></div>
<div><br /></div>
<div>------ Original Message ------</div>
<div>From: "David Llewellyn-Jones" <<a href="mailto:david@flypig.co.uk">david@flypig.co.uk</a>></div>
<div>To: <a href="mailto:devel@lists.sailfishos.org">devel@lists.sailfishos.org</a></div>
<div>Sent: 19/07/2019 11:04:27</div>
<div>Subject: Re: [SailfishDevel] Question about connecting a Sailfish phone to Ubuntu Linux box</div><div><br /></div>
<div id="xc87009a90898416" class="plain"><blockquote cite="bc99f6d5-0bc1-3219-350e-46c9bbedc732@flypig.co.uk" type="cite" class="cite2">

<tt style="word-wrap:break-word"><div class="plain_line">On 19/07/2019 12:27, Sahlan wrote:</div>
<div class="plain_line">[snip]</div>
<blockquote type="cite" class="cite">
<div class="plain_line"> I have</div>
<div class="plain_line"> purchased a phone which is running Sailfish 3 and have set up Developer</div>
<div class="plain_line"> Mode on it. On Ubuntu 18.04 LTS, I installed the Sailfish Qt Creator IDE</div>
<div class="plain_line"> and built a simple test app.</div>
</blockquote>
<div class="plain_line"> </div>
<div class="plain_line">Which phone are you using? Did you flash it over USB to install</div>
<div class="plain_line">Sailfish? Your setup with Ubuntu is pretty standard, so it should work.</div>
<div class="plain_line"> </div>
<div class="plain_line">It's an obvious question, but did you, activate the Remote connection</div>
<div class="plain_line">option, and give yourself a root password?</div>
<div class="plain_line"> </div>
<div class="plain_line"><a href="https://jolla.zendesk.com/hc/en-us/articles/202011863-How-to-enable-Developer-Mode">https://jolla.zendesk.com/hc/en-us/articles/202011863-How-to-enable-Developer-Mode</a></div>
<div class="plain_line"> </div>
<blockquote type="cite" class="cite2">
<div class="plain_line"> I connected the Sailfish phone via USB and</div>
<div class="plain_line"> confirmed with lsusb that the device is recognised as being connected.</div>
<div class="plain_line"> Under Tools / Options / Devices, I try to add the phone as a Sailfish OS</div>
<div class="plain_line"> Physical Device. The IP address, username and password correctly</div>
<div class="plain_line"> correspond to those on the phone, but clicking "Test Connection" always</div>
<div class="plain_line"> gives me the message "Host unreachable". Increasing the SSH timeout does</div>
<div class="plain_line"> not help. I also tried pinging the i.p. address of the phone from a</div>
<div class="plain_line"> terminal window, and it is not found, though I am not sure whether ping</div>
<div class="plain_line"> should work with i.p. over usb.</div>
</blockquote>
<div class="plain_line"> </div>
<div class="plain_line">Pinging should work over USB, and personally I'd focus on getting that</div>
<div class="plain_line">to work first, since until you can ping it's unlikely ssh will work.</div>
<div class="plain_line"> </div>
<div class="plain_line">It might also be worth trying to ping in the opposite direction (i.e</div>
<div class="plain_line">pinging your computer from the phone over USB) by opening a console on</div>
<div class="plain_line">the phone and using something like this:</div>
<div class="plain_line"> </div>
<div class="plain_line">su-devel ping 192.16.2.6</div>
<div class="plain_line"> </div>
<div class="plain_line">Some of the advice on this page may also be useful (if not now, then</div>
<div class="plain_line">once you have a connection!):</div>
<div class="plain_line"> </div>
<div class="plain_line"><a href="https://sailfishos.org/wiki/Sailfish_OS_Cheat_Sheet">https://sailfishos.org/wiki/Sailfish_OS_Cheat_Sheet</a></div>
<div class="plain_line"> </div>
<div class="plain_line">David</div>
<div class="plain_line">--</div>
<div class="plain_line">Website: <a href="http://www.flypig.co.uk">http://www.flypig.co.uk</a></div>
<div class="plain_line">_______________________________________________</div>
<div class="plain_line">SailfishOS.org Devel mailing list</div>
<div class="plain_line">To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></div>
</tt></blockquote></div>


</body></html>