By default raspberrry use dhcp to get local ip address, to set manually local ip address open LX Terminal and run command below:

sudo nano /etc/network/interfaces

Find eth0 block

auto eth0
iface eth0 inet dhcp

and change to :

auto eth0
iface eth0 inet static
address 192.168.1.44         # <– your static local ip address
netmask 255.255.255.0
network 192.168.1.0          # <– network
broadcast 192.168.1.255
gateway 192.168.1.1           # <– router local ip address

Facebook Comments

Leave a comment

Your email address will not be published. Required fields are marked *