[SailfishDevel] Question about connecting a Sailfish phone to Ubuntu Linux box
Sahlan
sahlan at businessassistant.biz
Tue Jul 23 20:21:31 UTC 2019
Eli,
My development PCs and VMs running on OSX (about twelve in total) each
use a static i.p. address from that range, but not the 192.168.2.15
address that the phone is currently set to. No devices use DHCP. Are you
saying there might still be a clash with an address used by the Jolla
subnet of which I won't be aware? Tomorrow I will install arp-scan to
see if it can pick up an address clash problem. I will also try making a
connection by wi-fi instead of usb, as the phone reports wifi as being
on the 192.168.3.x subnet. When I added the Jolla phone, it reported
success, but, as I said in my second email, the Debug / Start and Break
on Main does not seem to be working.
Regards,
Sahlan
------ Original Message ------
From: "E.S. Rosenberg" <es.rosenberg+sailfishos.org at gmail.com>
To: "Sahlan" <sahlan at businessassistant.biz>; "Sailfish OS Developers"
<devel at lists.sailfishos.org>
Sent: 23/07/2019 19:38:41
Subject: Re: [SailfishDevel] Question about connecting a Sailfish phone
to Ubuntu Linux box
>Sahlan,
>Did you change your LAN to not be on 192.168.2.0/24?
>As mentioned previously your LAN IPs clash with the Jolla USB subnet
>and this *will* lead to unpredictable behavior.
>HTH,
>Eliyahu - אליהו
>
>Op di 23 jul. 2019 om 18:59 schreef Sahlan
><sahlan at businessassistant.biz>:
>>Hello,
>>
>>Thanks to the several people who gave advice on my problem, I have
>>made progress.
>>a) I updated my Jolla phone to the latest update it was offering:
>>3.0.0.8
>>b) I updated VirtualBox on Ubuntu to the new version 6
>>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
>>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
>>e) Now, when I tried to add the phone hardware, the result was
>>successful.
>>
>>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"
>>
>> 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?
>>
>>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 :)
>>
>>Regards,
>>
>>Sahlan
>>
>>------ Original Message ------
>>From: "David Llewellyn-Jones" <david at flypig.co.uk>
>>To: devel at lists.sailfishos.org
>>Sent: 19/07/2019 11:04:27
>>Subject: Re: [SailfishDevel] Question about connecting a Sailfish
>>phone to Ubuntu Linux box
>>
>>>On 19/07/2019 12:27, Sahlan wrote:
>>>[snip]
>>>>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.
>>>
>>>Which phone are you using? Did you flash it over USB to install
>>>Sailfish? Your setup with Ubuntu is pretty standard, so it should
>>>work.
>>>
>>>It's an obvious question, but did you, activate the Remote connection
>>>option, and give yourself a root password?
>>>
>>>https://jolla.zendesk.com/hc/en-us/articles/202011863-How-to-enable-Developer-Mode
>>>
>>>>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.
>>>
>>>Pinging should work over USB, and personally I'd focus on getting
>>>that
>>>to work first, since until you can ping it's unlikely ssh will work.
>>>
>>>It might also be worth trying to ping in the opposite direction (i.e
>>>pinging your computer from the phone over USB) by opening a console
>>>on
>>>the phone and using something like this:
>>>
>>>su-devel ping 192.16.2.6
>>>
>>>Some of the advice on this page may also be useful (if not now, then
>>>once you have a connection!):
>>>
>>>https://sailfishos.org/wiki/Sailfish_OS_Cheat_Sheet
>>>
>>>David
>>>--
>>>Website: http://www.flypig.co.uk
>>>_______________________________________________
>>>SailfishOS.org Devel mailing list
>>>To unsubscribe, please send a mail to
>>>devel-unsubscribe at lists.sailfishos.org
>>_______________________________________________
>>SailfishOS.org Devel mailing list
>>To unsubscribe, please send a mail to
>>devel-unsubscribe at lists.sailfishos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20190723/6b0a4b76/attachment-0001.html>
More information about the Devel
mailing list