Open embeddedart opened 2 years ago
You’ll need to edit the numbers in the snippet so they match your network configuration.
CODE
interface eth0
static ip_address=192.168.0.10/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1
# I am not using below configuration
interface wlan0
static ip_address=192.168.0.200/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1
static ip_address=192.168.0.10/24
the suffix ‘/24’ (an abbreviation of the subnet mak 255.255.255.0)
Start by editing the dhcpcd.conf file
sudo nano /etc/dhcpcd.conf