linuxWed, 15 Mar 2023

put a static ip

sudo vi /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.110 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 8.8.4.4 8.8.8.8

Want to kickstart your project?Use the new AI Studio to create your code