Thank you. I will try that. I don't mind which way I am connected, as long as I can connect!

Regards

Sahlan


------ Original Message ------
From: "rikujolla" <rikul.lajo...@kiu.as>
To: devel@lists.sailfishos.org
Sent: 19/07/2019 16:48:16
Subject: Re: [SailfishDevel] Question about connecting a Sailfish phone to Ubuntu Linux box

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 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 <sah...@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....@gmail.com>
To: "Sahlan" <sah...@businessassistant.biz>; "Sailfish OS Developers" <devel@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 <sah...@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-unsubscr...@lists.sailfishos.org

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to