David,
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,
Regards,
Sahlan
------ Original Message ------
From: "David Llewellyn-Jones" <da...@flypig.co.uk>
To: devel@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-unsubscr...@lists.sailfishos.org
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org