<html><head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<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>I only have one phone connected to the i.p. network via USB, so I don't have to worry about i.p. address clashes between phones; I only have to be concerned that the i.p. address chosen by default for the Jolla phone clashes with another on my network. All my addresses are set up statically and none are using the 192.168.2.15 address, so in theory there should not be a problem, unless under the hood there are some address clashes I am not aware of. Since the phone allows me to change its ip address, I could try setting it to 192.168.2.99, for example. Or I could change my development PCs, including the Ubuntu box used for Sailfish, to be on, say, 192.168.7.x, or I could try i.p addresses greater than 192.168.2.24.  I suppose trial and error is the best strategy, starting with the easier-to-make changes,</div><div><br /></div><div>Regards,</div><div><br /></div><div>Sahlan</div>
<div><br /></div>
<div>------ Original Message ------</div>
<div>From: "deloptes" <<a href="mailto:deloptes@gmail.com">deloptes@gmail.com</a>></div>
<div>To: <a href="mailto:devel@lists.sailfishos.org">devel@lists.sailfishos.org</a></div>
<div>Sent: 24/07/2019 09:32:43</div>
<div>Subject: Re: [SailfishDevel] Question about connecting a Sailfish phone to Ubuntu Linux box</div><div><br /></div>
<div id="xb09e35439d3f491" class="plain"><blockquote cite="qh953b$67g4$1@blaine.gmane.org" type="cite" class="cite2">

<tt style="word-wrap:break-word"><div class="plain_line">Sahlan wrote:</div>
<div class="plain_line"> </div>
<blockquote type="cite" class="cite2">
<div class="plain_line"> Eli,</div>
<div class="plain_line"> </div>
<div class="plain_line"> I take the point that in this situation all bets are off, so it looks</div>
<div class="plain_line"> like I'll have to change the i.p. addresses on my network of development</div>
<div class="plain_line"> machines and development VMs. An inconvenience, but at least it's only a</div>
<div class="plain_line"> one-off change,</div>
<div class="plain_line"> </div>
</blockquote>
<div class="plain_line"> </div>
<div class="plain_line">Is it not  easier to change the IP on the Sailfish phone instead of changing</div>
<div class="plain_line">the addresses on the dev network and/or plug a stupid USB cable?</div>
<div class="plain_line">Do you have an idea how networking works? I have the impression you are</div>
<div class="plain_line">missing some fundamentals like routing for example.</div>
<div class="plain_line"> </div>
<div class="plain_line">You can not have two gateways in the same work. Therefore set the USB IP to</div>
<div class="plain_line">something else. I give you an example of my use case.</div>
<div class="plain_line">I have one Xperia X for work and one for testing. If both are configured to</div>
<div class="plain_line">use 192.168.2.0/24 (IP .15 and .16 for example) the USB driver is confused.</div>
<div class="plain_line">I can use whichever phone I can plugin first.</div>
<div class="plain_line">But if I setup same IP on different network for example 192.168.2.15 and</div>
<div class="plain_line">192.168.3.15 all is working fine.</div>
<div class="plain_line">This is because the USB driver would provide the GW for each network.</div>
<div class="plain_line"> </div>
<div class="plain_line">regards</div>
<div class="plain_line"> </div>
<div class="plain_line"> </div>
<div class="plain_line">_______________________________________________</div>
<div class="plain_line">SailfishOS.org Devel mailing list</div>
<div class="plain_line">To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></div>
</tt></blockquote></div>


</body></html>