Skip to content

Connecting to the Internet on Inspector Gadget

sh2fong edited this page Feb 19, 2019 · 3 revisions

Use the following instructions to connect to the internet on Inspector Gadget when downloading or updating of Github repos is required.

  1. Unplug one of the Lidars and connect to an ethernet cable which has internet access

  2. Enter: route -n

  3. Look for the correct "Iface" of the port that has internet access. This is usually enp3s0 but you can tell by looking for the IP address that is not a local address (192.168.xxx.xxx). UWaterloo internet is: 129.97.xxx.xxx

  4. The computer will try to connect to the internet with the port with the lowest "Metric". So change the metrix of the port you found in the last step:

    • sudo ifmetric enp3s0 50 (note that the number at the end has to be lower than the other metrics).

Additional notes:

  • ifmetric must be installed:
    • sudo apt-get install ifmetric
  • to return back to the original settings, you can reset the network manager using:
    • sudo service network-manager restart

Author: Nick Charron

Last Edited: 18 Feb 2019

Clone this wiki locally