Daily Archives: December 23, 2020


linux set static ip

/etc/dhcpcd.conf interface eth0static ip_address=192.168.4.57/24static domain_name_servers=192.168.4.57 8.8.8.8 interface wlan0static ip_address=192.168.4.56/24static domain_name_servers=192.168.4.56 8.8.8.8 This will also set /etc/resolv.conf for dns servers