Edit the /etc/dhcpcd.conf file.
/etc/dhcpcd.conf
interface wlan0 static ip_address=192.168.0.99 static routers=192.168.0.1 static domain_name_servers=1.1.1.1
Edit the /etc/network/interfaces file.
/etc/network/interfaces
auto eth0* iface eth0 inet dhcp # * your interface.
Last updated 4 years ago