<html><head>
    
  <style id="css_styles" type="text/css">blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: right;'] {  list-style-position: inside;}
body { font-family: Segoe UI; font-size: 12pt;   }</style></head>
  <body><div>Thank you. I will try that. I don't mind which way I am connected, as long as I can connect!</div><div><br /></div><div>Regards</div><div><br /></div><div>Sahlan</div><div><br /></div>
<div><br /></div>
<div>------ Original Message ------</div>
<div>From: "rikujolla" <<a href="mailto:rikul.lajolla@kiu.as">rikul.lajolla@kiu.as</a>></div>
<div>To: <a href="mailto:devel@lists.sailfishos.org">devel@lists.sailfishos.org</a></div>
<div>Sent: 19/07/2019 16:48:16</div>
<div>Subject: Re: [SailfishDevel] Question about connecting a Sailfish phone to Ubuntu Linux box</div><div><br /></div>
<div id="xd82545615ff54b2" style="color: #000000"><blockquote cite="a708f9d8-fdac-462b-7451-196122f17abd@kiu.as" type="cite" class="cite2">

    <p>Hello, <br />
    </p>
    <p>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.</p>
    <p>Best regards Riku<br />
    </p>
    <div class="moz-cite-prefix">E.S. Rosenberg kirjoitti 19.7.2019 klo
      16.38:<br />
    </div>
    <blockquote type="cite" cite="mid:CAHxFV_ttApj0N9NZvyPf_tCJ6maPxK0g+mcT4RUUH=dFK3MgoQ@mail.gmail.com" class="cite">
      
      <div dir="ltr">
        <div>Hey Sahlan,</div>
        <div>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.</div>
        <div>Your computer has 2 routes for <a href="http://192.168.2.0/24" moz-do-not-send="true">192.168.2.0/24</a>
          which would lead to unpredictable behavior.</div>
        <div>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)</div>
        <div>HTH,</div>
        <div>Eli<br />
        </div>
      </div>
      <br />
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Op vr 19 jul. 2019 om 13:08
          schreef Sahlan <<a href="mailto:sahlan@businessassistant.biz" moz-do-not-send="true">sahlan@businessassistant.biz</a>>:<br />
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px&#xD;&#xA;          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <div>Eli,</div>
            <div><br />
            </div>
            <div>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,</div>
            <div><br />
            </div>
            <div>Regards, </div>
            <div><br />
            </div>
            <div>Sahlan</div>
            <div><br />
            </div>
            <div>------ Original Message ------</div>
            <div>From: "E.S. Rosenberg" <<a href="mailto:es.rosenberg+sailfishos.org@gmail.com" moz-do-not-send="true">es.rosenberg+sailfishos.org@gmail.com</a>></div>
            <div>To: "Sahlan" <<a href="mailto:sahlan@businessassistant.biz" moz-do-not-send="true">sahlan@businessassistant.biz</a>>;
              "Sailfish OS Developers" <<a href="mailto:devel@lists.sailfishos.org" moz-do-not-send="true">devel@lists.sailfishos.org</a>></div>
            <div>Sent: 19/07/2019 10:53:07</div>
            <div>Subject: Re: [SailfishDevel] Question about connecting
              a Sailfish phone to Ubuntu Linux box</div>
            <div><br />
            </div>
            <div id="gmail-m_1805939818915318478x356edad930af4aa">
              <blockquote cite="http://CAHxFV_ukYqYUtzRv6G8wL9b7vbJMRQ97nrXRDKwcDnSNfHoOiA@mail.gmail.com" type="cite" class="gmail-m_1805939818915318478cite2">
                <div dir="ltr">
                  <div>Depending on how your network connections are
                    setup it could be that you have to manually trigger
                    the USB-ethernet connection to become active.</div>
                  <div>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.</div>
                  <div>HTH,</div>
                  <div>Eli<br />
                  </div>
                </div>
                <br />
                <div class="gmail_quote">
                  <div dir="ltr" class="gmail_attr">Op vr 19 jul. 2019
                    om 12:28 schreef Sahlan <<a href="mailto:sahlan@businessassistant.biz" moz-do-not-send="true">sahlan@businessassistant.biz</a>>:<br />
                  </div>
                  <blockquote class="gmail_quote" style="margin:0px 0px&#xD;&#xA;                    0px 0.8ex;border-left:1px solid&#xD;&#xA;                    rgb(204,204,204);padding-left:1ex">
                    <div>Hello,
                      <div><br />
                      </div>
                      <div>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.</div>
                      <div><br />
                      </div>
                      <div>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!</div>
                      <div><br />
                      </div>
                      <div>With thanks, in anticipation of some help, </div>
                      <div>Sahlan</div>
                      <div><br />
                      </div>
                      <div><br />
                      </div>
                      <div><br />
                      </div>
                    </div>
                    _______________________________________________<br />
                    SailfishOS.org Devel mailing list<br />
                    To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" moz-do-not-send="true">devel-unsubscribe@lists.sailfishos.org</a></blockquote>
                </div>
              </blockquote>
            </div>
          </div>
        </blockquote>
      </div>
      <br />
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></pre>
    </blockquote>
  </blockquote></div>


</body></html>