1. Fixed IP configuration for the 2016 new Raspbian system:
Since the release of the new Raspbian system in February 2016, the Raspberry Pi fixed IP configuration method is not the same as before.
The fixed IP configuration that was previously available in the Raspbian system to edit the/etc/network/interfaces file is completely unusable in the new version of the Raspbian system. But the new approach seems relatively simple:
First, confirm the/etc/network/interfaces,
Iface eth0 inet Manual
This line, at the end is manual, then, edit/etc/dpcpcd.conf, add at the end:
Interface eth0
Static ip_address=xxx.xxx.xxx.xxx/xx
It's OK after the reboot.
2. The root account of the Raspberry Pi SSH login settings:
First, with the PI user login (the default password is raspberry), execute the sudo passwd root command, modify the root password;
Then, edit the/etc/ssh/sshd_config file and locate the Permitrootlogin line;
If "sudo passwd--unlock root" has been executed before, it may show "without-passwd" or something, change this line to "Permitrootlogin yes", save exit and restart the system, The root account should be able to log in directly.
Fixed IP configuration of the new Raspbian system and methods for enabling the SSH login function of the root account