Share Wifi Internet with ethernet port on Raspberry Pi (bridge)

If you want to share your wifi internet connection to a PC that doens’t have a wifi adapter, you can use a raspberry pi and follow these steps:

  1. sudo apt update
  2. sudo apt full-upgrade
  3. sudo apt dist-upgrade
  4. sudo apt install network-manager network-manager-gnome
  5. sudo systemctl stop dhcpcd
  6. sudo systemctl disable dhcpcd
  7. sudo systemctl enable NetworkManager
  8. sudo systemctl start NetworkManager
  9. sudo reboot now
  10. now connect to a wifi network using the new network manager you will find the task bar
    network-manager-icon
  11. edit the ethernet configuration and from the ipv4 settings tab change the method to “Share to other computers”
    network-manager-connections
    network-manager-editing
  12. connect a pc over ethernet port of the raspberry and enjoy the internet connection took from a wifi hotspot

 

Thanks to arer studios.

5 thoughts on “Share Wifi Internet with ethernet port on Raspberry Pi (bridge)”

  1. Wow, it worked! How unusual to populate a few data fields, click a few buttons, and be done… in Linux. Without the NetworkManager, I’d be pouring through man pages, PDFs, web searches, and endless tutorials. I’d probably muck it up so good I’d have to reinstall to start over. It would be days wasted. This tip made Linux work as well as a commercial product. Nicely done.

  2. Any chance there’s an equally straightforward way to make a Pi into an easily configured DHCP and Proxy server? 😀

  3. Excellent, thanks for this! Far more elegant and secure solution than the first few search results that essentially amount to “just trust me bro and copy/paste these bash scripts.”

Leave a comment