<div dir="ltr"><div>Sahlan,</div><div>Did you change your LAN to not be on <a href="http://192.168.2.0/24">192.168.2.0/24</a>?</div><div>As mentioned previously your LAN IPs clash with the Jolla USB subnet and this *will* lead to unpredictable behavior.</div><div>HTH,</div><div>Eliyahu - אליהו<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op di 23 jul. 2019 om 18:59 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>Hello,</div><div><br></div><div>Thanks to the several people who gave advice on my problem, I have made progress.</div><div>a) I updated my Jolla phone to the latest update it was offering: 3.0.0.8</div><div>b) I updated VirtualBox on Ubuntu to the new version 6</div><div>c) I uninstalled and reinstalled the Sailfish SDK, same version as before, 2.1.1, but this time I ticked the boxes to add images for my updated phone OS, 3.0.0.8</div><div>d) I made no changes to my settings for the phone Developer Mode, but I did open the terminal and issue the command devel-su</div><div>e) Now, when I tried to add the phone hardware, the result was successful.</div><div><br></div><div>I then built a skeleton Sailfish app in Qt Creator with the phone being the target. I added no code to the default code created. As you would expect, it builds fine. Now I am confused as what to do next. In Xamarin-Android development one naturally proceeds to the deploy stage, so I did that in QtCreator and chose the Build / Deploy option, and it told me RPMs had been created OK, but, under the Issues tab, I get the message "No RPM validation suite is available for the current Sailfish OS build target, the package will not be validated"</div><div><br></div><div> Then I clicked Debug / Start and Break on Main, but nothing happens. I've searched for info on how to debug on Sailfish with QtCreator but haven't found anything. Can anyone suggest a url for a step by step page of instructions?</div><div><br></div><div>PS Having updated my phone to 3.0.0.8, I see a message telling me 3.1.0.11 is available. I wonder if it is going to work its way incrementally through the available updates :)</div><div><br></div><div>Regards,</div><div><br></div><div>Sahlan</div>
<div><br></div>
<div>------ Original Message ------</div>
<div>From: "David Llewellyn-Jones" <<a href="mailto:david@flypig.co.uk" target="_blank">david@flypig.co.uk</a>></div>
<div>To: <a href="mailto:devel@lists.sailfishos.org" target="_blank">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="gmail-m_-6706612921309460558x1e47b743adf643a" class="gmail-m_-6706612921309460558plain"><blockquote cite="http://bc99f6d5-0bc1-3219-350e-46c9bbedc732@flypig.co.uk" type="cite" class="gmail-m_-6706612921309460558cite2">
<tt style="overflow-wrap: break-word;"><div class="gmail-m_-6706612921309460558plain_line">On 19/07/2019 12:27, Sahlan wrote:</div>
<div class="gmail-m_-6706612921309460558plain_line">[snip]</div>
<blockquote type="cite" class="gmail-m_-6706612921309460558cite">
<div class="gmail-m_-6706612921309460558plain_line"> I have</div>
<div class="gmail-m_-6706612921309460558plain_line"> purchased a phone which is running Sailfish 3 and have set up Developer</div>
<div class="gmail-m_-6706612921309460558plain_line"> Mode on it. On Ubuntu 18.04 LTS, I installed the Sailfish Qt Creator IDE</div>
<div class="gmail-m_-6706612921309460558plain_line"> and built a simple test app.</div>
</blockquote>
<div class="gmail-m_-6706612921309460558plain_line"> </div>
<div class="gmail-m_-6706612921309460558plain_line">Which phone are you using? Did you flash it over USB to install</div>
<div class="gmail-m_-6706612921309460558plain_line">Sailfish? Your setup with Ubuntu is pretty standard, so it should work.</div>
<div class="gmail-m_-6706612921309460558plain_line"> </div>
<div class="gmail-m_-6706612921309460558plain_line">It's an obvious question, but did you, activate the Remote connection</div>
<div class="gmail-m_-6706612921309460558plain_line">option, and give yourself a root password?</div>
<div class="gmail-m_-6706612921309460558plain_line"> </div>
<div class="gmail-m_-6706612921309460558plain_line"><a href="https://jolla.zendesk.com/hc/en-us/articles/202011863-How-to-enable-Developer-Mode" target="_blank">https://jolla.zendesk.com/hc/en-us/articles/202011863-How-to-enable-Developer-Mode</a></div>
<div class="gmail-m_-6706612921309460558plain_line"> </div>
<blockquote type="cite" class="gmail-m_-6706612921309460558cite2">
<div class="gmail-m_-6706612921309460558plain_line"> I connected the Sailfish phone via USB and</div>
<div class="gmail-m_-6706612921309460558plain_line"> confirmed with lsusb that the device is recognised as being connected.</div>
<div class="gmail-m_-6706612921309460558plain_line"> Under Tools / Options / Devices, I try to add the phone as a Sailfish OS</div>
<div class="gmail-m_-6706612921309460558plain_line"> Physical Device. The IP address, username and password correctly</div>
<div class="gmail-m_-6706612921309460558plain_line"> correspond to those on the phone, but clicking "Test Connection" always</div>
<div class="gmail-m_-6706612921309460558plain_line"> gives me the message "Host unreachable". Increasing the SSH timeout does</div>
<div class="gmail-m_-6706612921309460558plain_line"> not help. I also tried pinging the i.p. address of the phone from a</div>
<div class="gmail-m_-6706612921309460558plain_line"> terminal window, and it is not found, though I am not sure whether ping</div>
<div class="gmail-m_-6706612921309460558plain_line"> should work with i.p. over usb.</div>
</blockquote>
<div class="gmail-m_-6706612921309460558plain_line"> </div>
<div class="gmail-m_-6706612921309460558plain_line">Pinging should work over USB, and personally I'd focus on getting that</div>
<div class="gmail-m_-6706612921309460558plain_line">to work first, since until you can ping it's unlikely ssh will work.</div>
<div class="gmail-m_-6706612921309460558plain_line"> </div>
<div class="gmail-m_-6706612921309460558plain_line">It might also be worth trying to ping in the opposite direction (i.e</div>
<div class="gmail-m_-6706612921309460558plain_line">pinging your computer from the phone over USB) by opening a console on</div>
<div class="gmail-m_-6706612921309460558plain_line">the phone and using something like this:</div>
<div class="gmail-m_-6706612921309460558plain_line"> </div>
<div class="gmail-m_-6706612921309460558plain_line">su-devel ping 192.16.2.6</div>
<div class="gmail-m_-6706612921309460558plain_line"> </div>
<div class="gmail-m_-6706612921309460558plain_line">Some of the advice on this page may also be useful (if not now, then</div>
<div class="gmail-m_-6706612921309460558plain_line">once you have a connection!):</div>
<div class="gmail-m_-6706612921309460558plain_line"> </div>
<div class="gmail-m_-6706612921309460558plain_line"><a href="https://sailfishos.org/wiki/Sailfish_OS_Cheat_Sheet" target="_blank">https://sailfishos.org/wiki/Sailfish_OS_Cheat_Sheet</a></div>
<div class="gmail-m_-6706612921309460558plain_line"> </div>
<div class="gmail-m_-6706612921309460558plain_line">David</div>
<div class="gmail-m_-6706612921309460558plain_line">--</div>
<div class="gmail-m_-6706612921309460558plain_line">Website: <a href="http://www.flypig.co.uk" target="_blank">http://www.flypig.co.uk</a></div>
<div class="gmail-m_-6706612921309460558plain_line">_______________________________________________</div>
<div class="gmail-m_-6706612921309460558plain_line">SailfishOS.org Devel mailing list</div>
<div class="gmail-m_-6706612921309460558plain_line">To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a></div>
</tt></blockquote></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>