Statisk ip och gateway raspberry pi
Jump to navigation
Jump to search
För att sätta statisk IP adress och gateway i raspberry pi, redigera filen /etc/dhcpcd.conf:
Exempel:
interface eth0 static ip_address=192.168.10.2/24 static routers=192.168.10.1 static domain_name=8.8.8.8
Filen /etc/network/interfaces skall inte innehålla någon information som hanteras ovan.