Is production: true
#migrated #raspberry-pi #linux

Title: How to setup static IP

Created: 5 Apr 2021 Modified: 5 Apr 2021

Description: To modify the linux to machine bind to static IP address. the example is for raspberry pi, but similar skills works for the other linux.



[Original Link]

  1. Edit /etc/dhcpcd.conf and then append below line at end

    interface eth0 # for raspberry pi eth0 refers to ethernet port, wlan refers to wifi
    static ip_address={ip}/{subnet mast}
    static routers={router ip}
    static domain_name_servers={dns server}
    

[Legacy Link]