What would be the easiest way to setup up a wireless to Ethernet access point ?
I have an old printer that only has a Ethernet port and would like to connect it to the internet using a raspberry pi
I’ve followed some guides without much success…
I must be doing something wrong
I think my issue is with these two steps:
6. Within this file we need to add the following lines, make sure you replace eth0
with the correct interface of your ethernet.
interface eth0
static ip_address=192.168.220.1/24
static routers=192.168.220.0
10. Now that we have our new file created we want to add the lines below.
These lines basically tell the dnsmasq package how to handle DNS and DHCP traffic.
interface=eth0 # Use interface eth0
listen-address=192.168.220.1 # Specify the address to listen on
bind-dynamic # Bind to the interface
server=8.8.8.8 # Use Google DNS
domain-needed # Don't forward short names
bogus-priv # Drop the non-routed address spaces.
dhcp-range=192.168.220.50,192.168.220.150,12h # IP range and lease time
Should the “static IP” be the one, that my router gave to my raspberry pi ?
As for “static routers” what am I suppose to input ? The gateway address from my router ?
As for “listen-address” i’m also clueless
PS: It would be nice to have an utility in DietPi that would automatically set this up, as I’ve seen others asking for the same feature.
Maybe under the HotSpot utility one could chose if it wants Ethernet to WiFi or Wifi to ethernet.
Thanks in advance for your help !