35 lines
1.5 KiB
Markdown
35 lines
1.5 KiB
Markdown
|
---
|
||
|
source: https://askubuntu.com/questions/359856/share-wireless-internet-connection-through-ethernet
|
||
|
tags: ["android", "ubuntu", "wi-fi", "NetworkManager", "tethering", "ethernet"]
|
||
|
---
|
||
|
|
||
|
## On the server computer:
|
||
|
|
||
|
1. On the computer, which is connected to the Internet, click the network icon in the panel and go to _"Edit Connections..."_ at the bottom of the menu.
|
||
|
|
||
|
![[pictures/0DrKe.png|0DrKe.png]]
|
||
|
|
||
|
2. Double click your **Wired Connection** (Leave your wireless connection untouched, the one connected to Internet and the one you want to share, as I understand).
|
||
|
|
||
|
![[pictures/NsSUr.png|NsSUr.png]]
|
||
|
|
||
|
3. On the _"IPv4 Settings tab"_, select Method: _"Shared to other computers"_
|
||
|
|
||
|
![[pictures/AoLa3.png|AoLa3.png]]
|
||
|
|
||
|
4. Reconnect by clicking on the _Wired Network_, so it gets a new IP address. (The two computers must be connected by an ethernet cable for this step, so connect them now if you haven't already.)
|
||
|
5. Click on _"Connection Information"_ in the network menu and write down the IP address and network mask (in my case it was assigned 10.42.0.1/255.255.255.0 but I do not know if that will always be the case).
|
||
|
|
||
|
![[pictures/pcBdu.png|pcBdu.png]]
|
||
|
|
||
|
|
||
|
## On the client computer:
|
||
|
|
||
|
1. Go to "Edit Connections..." and assign a "Manual" Method. Assign an IP address on the same subnetwork (10.42.0.69 for example) and put the IP and network mask you wrote down in "Netmask" "Gateway" and "DNS servers"
|
||
|
|
||
|
Reconnect to the network to let the new settings be assigned.
|
||
|
|
||
|
![[pictures/trmIV.png|trmIV.png]]
|
||
|
|
||
|
2. Pat yourself on your back and surf away!!!
|
||
|
3.
|