[SailfishDevel] Question about connecting a Sailfish phone to Ubuntu Linux box
rikujolla
rikul.lajolla at kiu.as
Fri Jul 19 15:48:16 UTC 2019
Hello,
I always had problems when I used my development laptop in my home wlan
and was wired to the phone with usb cable. I could not solve the issue
most probably caused by my home router. Currently I create a hotspot
with my phone and connect the Ubuntu laptop to that network. Then I
develope in that network without any cables and without any problems.
Best regards Riku
E.S. Rosenberg kirjoitti 19.7.2019 klo 16.38:
> Hey Sahlan,
> 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.
> Your computer has 2 routes for 192.168.2.0/24 <http://192.168.2.0/24>
> which would lead to unpredictable behavior.
> 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)
> HTH,
> Eli
>
> Op vr 19 jul. 2019 om 13:08 schreef Sahlan
> <sahlan at businessassistant.biz <mailto:sahlan at businessassistant.biz>>:
>
> Eli,
>
> 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,
>
> Regards,
>
> Sahlan
>
> ------ Original Message ------
> From: "E.S. Rosenberg" <es.rosenberg+sailfishos.org at gmail.com
> <mailto:es.rosenberg+sailfishos.org at gmail.com>>
> To: "Sahlan" <sahlan at businessassistant.biz
> <mailto:sahlan at businessassistant.biz>>; "Sailfish OS Developers"
> <devel at lists.sailfishos.org <mailto:devel at lists.sailfishos.org>>
> Sent: 19/07/2019 10:53:07
> Subject: Re: [SailfishDevel] Question about connecting a Sailfish
> phone to Ubuntu Linux box
>
>> Depending on how your network connections are setup it could be
>> that you have to manually trigger the USB-ethernet connection to
>> become active.
>> 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.
>> HTH,
>> Eli
>>
>> Op vr 19 jul. 2019 om 12:28 schreef Sahlan
>> <sahlan at businessassistant.biz <mailto:sahlan at businessassistant.biz>>:
>>
>> Hello,
>>
>> 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.
>>
>> 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!
>>
>> With thanks, in anticipation of some help,
>> Sahlan
>>
>>
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscribe at lists.sailfishos.org
>> <mailto: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/20190719/3ff8b790/attachment.html>
More information about the Devel
mailing list