Snagburz<p>Here's something I haven't found on the web about <a href="https://techhub.social/tags/tethering" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tethering</span></a> your <a href="https://techhub.social/tags/smartphone" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>smartphone</span></a>:<br>to your computer. I mean connect it via a <a href="https://techhub.social/tags/USB" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>USB</span></a> cable, and use the <a href="https://techhub.social/tags/smartphone" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>smartphone</span></a> as your router:</p><p>Change the default gateway.</p><p>You can try' for example, running "ifconfig" on Termux, or use a third party app like Ning to find the IP of interface "rndis0".</p><p>Then on FreeBSD, use the command:</p><p> route change -net default xxxx</p><p>where xxxx is the default gateway of your smartphone's cellular network.</p><p>I hope in Linux it will be set automatically.</p><p><a href="https://techhub.social/tags/freebsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>freebsd</span></a> <a href="https://techhub.social/tags/unix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unix</span></a> <a href="https://techhub.social/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> <a href="https://techhub.social/tags/InternetGovernance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>InternetGovernance</span></a></p>