Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

products:sbc:common:configurations:wifi-share

Wi-Fi Share

Introduction

This document guides you to share the Wi-Fi connection via the LAN port.

Ubuntu

Desktop

1. Open nm-connection-editor

$ nm-connection-editor

2. Click on the + button to add a new connection

3. Select Ethernet and click on the create button to create a new connection

4. Change the method to Shared to other computers, and save the connection

5. Open the file /etc/network/interfaces

$ sudo vi /etc/network/interfaces

6. Add the following line to ensure that eth0 interface is configured as follows:

auto eth0
iface eth0 inet dhcp

Server

1. Add a new Ethernet connection

$ sudo nmcli connection add type ethernet con-name "wlantolan"

2. Configure the Ethernet connection type to autoconnect

$ sudo nmcli connection modify "wlantolan" connection.autoconnect yes

3. Configure the network type to shared

$ sudo nmcli connection modify "wlantolan" ipv4.method shared

4. Enable the connection

$ sudo nmcli connection up "wlantolan"

5. Open the file /etc/network/interfaces

$ sudo vi /etc/network/interfaces

6. Add the following line to ensure that eth0 interface is configured as follows:

auto eth0
iface eth0 inet dhcp
Last modified: 2024/07/04 04:14 by sravan