Skip to content

1) Developers

7
  • 1) Welcome to Olive Robotics
  • 2) Quick Start
  • 3) FAQ​
  • 4) Linux
  • 5) Windows
  • 6) MacOS
  • 7) Supported Hardware

2) Hardware

6
  • 1) olixSense™ IMU
  • 2) olixVision™ Camera
  • 3) olixMotion™ Servo​
  • 4) olixCore™ EdgeIO
  • 5) olixGNX™ GNSS/INS
  • 6) olixEcho™ Sonar​

3) Software

12
  • 01) Patch Update​
  • 02) Firmware Releases​
  • 03) Web-based GUI​
  • 04) Examples / Apps
  • 05) SSH​
  • 06) Environment Variables​
  • 07) Network Configuration​
  • 09) Time Synchronization​
  • 10) Internet Sharing​
  • 11) Reset Factory​
  • 12) olixOS
  • 13) Configs

4) olixKits

2
  • 1) OWL Educational Kit​
  • 2) ANT Educational Kit​

5) ROS and Interoperability

9
  • 1) ROS 1
  • 2) ROS 2
  • 3) RQT
  • 4) RIG Reconfigure​
  • 5) Plot Juggler​
  • 6) RViz 2​
  • 7) Recording and playing​
  • 8) ROS 2 Bridge​
  • 9) Data Distribution Service (DDS) ​

6) Knowledge Base

6
  • 1) Accelerometers
  • 2) Gyroscopes
  • 3) Magnetometers
  • 4) Attitude & Heading Reference System (AHRS)
  • 5) Inertial Navigation System (INS)
  • 6) Sensor Fusion
  • Docs2
  • 3) Software
  • 10) Internet Sharing​
View Categories

10) Internet Sharing​

1 min read

Windows​ #

  1. First, open the Network Manager and identify your Olive network interface (in this case, “network 39”). Also, identify the interface through which you wish to share the internet (in this context, the WiFi).
  1. Next, access the settings of the WiFi network. Navigate to the appropriate tab and select the “Internet Sharing” feature. From the dropdown list, choose the Olive interface (in this instance, “network 39”).
  1. Once again, open the network settings for the Olive interface. Proceed to the IPv4 configuration and modify the predefined IP to match the default gateway IP of the Olive interface. By default, the gateway value is set to 10.42.0.1.
  1. Now, SSH into the Olive component and attempt to ping 8.8.8.8 to verify your internet connection. If successful, you should observe a successful ping response as shown below:
  1. If you wish to change the default gateway on the device, follow these commands on the Olive component:
sudo ip route del default #delete the default route
sudo ip route add default via 10.42.0.1 #add the default route

Linux Method 1 (Wi-Fi internet sharing)​ #

  1. Install Necessary Packages: Before you begin, ensure you have the net-tools and dnsmasq packages installed. These tools will help manage and share the network.
sudo apt update
sudo apt install net-tools dnsmasq
  1. Use the following command to list your network interfaces:
ifconfig
  1. Use the commands bellow to share your wifi internet (here wlp3s0) with you olive interface (here enxa80000000001). Replace this two interface names according to your wifi and olive interface name.
sudo sysctl -w net.ipv4.ip_forward=1
sudo iptables -t nat -A POSTROUTING -o wlp3s0 -j MASQUERADE
sudo iptables -A FORWARD -i enxa80000000001 -o wlp3s0 -j ACCEPT
sudo iptables -A FORWARD -i wlp3s0 -o enxa80000000001 -m state --state RELATED,ESTABLISHED -j ACCEPT

sudo apt-get install iptables-persistent
sudo sh -c "iptables-save > /etc/iptables/rules.v4"
  1. Verify Internet Sharing: SSH into the Olive component and try pinging an external server to check if the internet connection is shared:
sudo ping 8.8.8.8

Linux Method 2 (Lan internet sharing)​ #

  1. Install Necessary Packages: Before you begin, ensure you have the net-tools and dnsmasq packages installed. These tools will help manage and share the network.
sudo apt update
sudo apt install net-tools dnsmasq
  1. Use the following command to list your network interfaces:
ifconfig
  1. Configure Network Manager:
  • Open the Network Manager GUI.
  • Identify your primary internet connection.
  • Also, identify the Olive network interface you wish to share the internet with.
  1. Set Up Internet Sharing:
  • Go to the settings of your primary internet connection.
  • Navigate to the “IPv4” tab.
  • Choose the “Shared to other computers” option from the “Method” dropdown menu.
  1. Restart Network Manager: After making the changes, restart the Network Manager to apply them:
sudo service network-manager restart
  1. Verify Internet Sharing: SSH into the Olive component and try pinging an external server to check if the internet connection is shared:
sudo ping 8.8.8.8
Was this information useful?
Still not working! How can we help?

How can we help?

Updated on April 29, 2025
02) Firmware Releases​
Table of Contents
  • Windows​
  • Linux Method 1 (Wi-Fi internet sharing)​
  • Linux Method 2 (Lan internet sharing)​
Olive Robotics

Interoperable Embedded Robotics

All rights reserved