Statická IP adresa

sudo nano /etc/resolv.conf

nebo
sudo echo "nameserver 9.9.9.9" > /etc/resolv.conf
sudo echo "nameserver 1.1.1.1" >> /etc/resolv.conf

dále
sudo nano /etc/dhcpcd.conf
nebo

sudo echo "interface eth0" >> /etc/dhcpcd.conf
sudo echo "static ip_address=192.168.192.123/24" >> /etc/dhcpcd.conf
sudo echo "static routers=192.168.192.1" >> /etc/dhcpcd.conf
sudo echo "static domain_name_servers=8.8.8.8" >> /etc/dhcpcd.conf

 

  • 0 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?