Posts: 44
Joined: Wed Apr 27, 2016 4:54 pm

Share WiFi to Ethernet cable

Wed Dec 05, 2018 7:49 pm

Hi everyone, I'd like share the WiFi connection of my Pi trought the ethernet cable. I try to configure it but with bad results :( I follow this guide ( ... ernet-port) but have no internet connection on my PC. I need to repeat wifi with address and mask I set the new ethernet connection with:

in /etc/network/interfaces:

allow-hotplug eth0
iface eth0 inet static

in sudo nano /etc/dnsmasq.conf:

interface=eth0 # Use interface eth0
listen-address= # listen on
# Bind to the interface to make sure we aren't sending things
# elsewhere
server= # Forward DNS requests to Google DNS
domain-needed # Don't forward short names
# Never forward addresses in the non-routed address spaces.
# Assign IP addresses between and with a
# 12 hour lease time

What I did wrong?
Hope you can help me, thanks a lot!
I made a site with a raspi projects' collection, my idea is sharing my projects with other people.
My web site is I hope you like it and you want work with me

Return to “Networking and servers”