Static IP
Edit the /etc/dhcpcd.conf
file.
interface wlan0
static ip_address=192.168.0.99
static routers=192.168.0.1
static domain_name_servers=1.1.1.1
DHCP
Edit the /etc/network/interfaces
file.
auto eth0*
iface eth0 inet dhcp
# * your interface.
Last updated
Was this helpful?