Here is the procedure for changing IP address on Raspberry Pi3 model B
nb. please note that the buttons do not correspond with our Italian keyboards, the symbols = and _ correspond to the two keys between zero and the backspace.
- Start the Raspberry and wait for all the uploads
- Log in with user "pi"Send and enter the password"raspberry” (note that when entering the password, you will not have any character input feedback, it's normal, then type raspberry and hit enter)
- Now type "sudo nano /etc/dhcpcd.conf”And hit enter, you will be prompted for your password again, then enter "raspberry”And hit enter
- At this point you will have opened a text editor with the file to be modified, scroll with sliders to the end of the text, go to head and write these 4 lines:
interface eth0 (that at the end is a zero)
static ip_address=192.168.1.100 (enter the address you prefer)
static routers=192.168.1.254
static domain_name_servers=192.168.1.254 - Once these lines have been written, you can press the combination "Control+X"And confirm that you want to save by pressing"Y" and then "SEND”To confirm the name
- At this point you can either give the command "/etc/init.d/networking reload”Or simply reboot the raspberry
- When restarted, the address of the same will be the one written on the static ip_address line
Should you use putty, it will be sufficient to connect to the raspberry by entering the current IP (generally 192.168.0.66) and entering the door 22, once connected you can perform the same procedure as above.