There is a hidden method to share your WiFi over Ethernet in the latest Gnome.
nm-connection-editorin your terminal.
- Add a shared network connection by pressing the Add button.
- Choose Ethernet from the list and press Create.
- Click IPv4 Settings in the left.
Shared to other computersby clicking the Method drop-down menu.
- Enter a new name like
Shared WiFi LANas the Connection name at the top
26 Replies to “Share WiFi via Ethernet on Ubuntu 17.10”
Tank You a lot! I’m a new Linux User. Greetings from Monterrey Mexico.
Thank you! Share my site 😀
It’s great to see Linux being used in Mexico! Keep up the great work!
Can you share to router
Can you share the internet to router
It is the same thing, just plug your ethernet cable from your PC to the ISP internet plug on your router.
doesn’t work on 18.04 just Ubuntu16&17
Are you sure?
It should work the same.
Mestre funcionou 100%
Worked for me in 19.04! Most excellent!
You dont need to deal with nm-connection-editor or setting static ipv4 addresses.
The problem is with the wp6 script setting iptable routing.
Here’s a link to the Pull Request with the iptables fix https://github.com/hak5darren/wp6/pull/4
Go to the May 18 2018 commit approved by H4xl0r. Click on the … button and view the file. Copy it and paste it into a new wp6 script.
It will work as it should, you plug it in run the script and bam!
This worked for me on a old debian laptop. It passes its wi-fi to a raspberry pi. I tried it also on an archlinux build; but on that one the
“nm-conection-editor” app has every settings fiel grayed out as if theyare not editable. Why tho? is it a dependencyim missing?
Try to use Network Manager Text User Interface (nmtui).
Open your terminal and type
Thanks! In a time of covid 19 lockdown…. my home laptop becomes (via a hub) my work desktop’s (which only has a ethernet port) wifi dongle!
Thanks for this . I’m installing Ubuntu 20 on a big heavy PC with an unsupported Realtek WiFi dongle. Without this I’d have to move the PC, monitor, keyboard just to cable it into the router so I can install the WiFi driver.
p.s. why doesn’t this Network Connections dialogue come up on the Hud?
I really don’t know! 🙁
Doesn’t work at all for me.
I’ve set everything up on my laptop, Manjaro LXDE. Shared that out to the switch. My desktop, with Manjaro KDE connects to the switch as well.
But there the connection has a question mark on it. And I get no internet on it.
Internet on the laptop works fine, from wifi.
Go to “/etc/NetworkManager/system-connections” edit your connection. It should be something like this.
id=Wireless to LAN
Thanks a lot. I am very grateful to you . I cant imagine how my life would have changed if i could not find this. Me and my wife areunder quarantine due to Covid situation in the area. my wife has a desktop pc with no option for wifi dongle. and the wifi router here has no option for ethernet connection. Now I am sharing internet from my laptop to her desktop.
Thank you for your kind words! 😀
You are the man!!! Thanks a lot
Thank you so much!
Thanks a lot
And you can do it just in settings, don’t forget to reconnect to network