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.

Advertisements

Change default language on Bash on Ubuntu on Windows

I always forgot how to change the language on ubuntu, my windows knows that I’m Italian even if my operating system is set to be in English, and installs the bash on ubuntu on windows in Italian 😦 so I always need to do these steps:

  1. Install the language pack you want

    sudo apt-get install language-pack-en language-pack-en-base manpages

  2. Change the default language

    sudo update-locale LANG=en_US.UTF8