See last page for copyright and document info, File: Reeve_GpsNtp-Pi_Setup.doc, Page 12
5. Basic RPi Setup
The basic setup includes changing the host name and password and updating the operating system software.
Log into the RPi using PuTTY. First, set the default keyboard layout. Using the nano editor, replace the
xkblayout=”gb” with xkblayout=”us”:
sudo nano /etc/default/keyboard
Type CTRL-X (Exit), Y (yes), Enter to save and close the editor.
Change host name: To change the host name to GpsNtp-Pi, edit the /etc/hosts file:
sudo nano /etc/hosts
Change the name associated with address 127.0.1.1 (do not change 127.0.0.1), as in:
127.0.1.1 GpsNtp-Pi
Type CTRL-X (Exit), Y (yes), Enter to save and close the editor.
Similarly, replace the name in the /etc/hostname file:
sudo nano /etc/hostname
Change the name from raspberry to GpsNtp-Pi, as in
GpsNtp-Pi
Type CTRL-X (Exit), Y (yes), Enter to save and close the editor.
Change password: Log into the RPi using the defaults:
User: pi
Password: raspberry
At the prompt enter the following command:
passwd
RPi responds with:
Changing password for pi
(current) UNIX password:
Enter the current (default) password (the default Raspberry Pi password is “raspberry” without quotes). No
characters will be displayed. Enter the new password (the default GpsNtp-Pi password is “GpsNtp-Pi” without
quotes) and confirm it when RPi responds with:
Enter new UNIX password:
Retype new UNIX password:
After RPi accepts the new password you will see the following. The new password will take effect immediately:
passwd: password updated successfully
Содержание GpsNtp-Pi
Страница 1: ...GpsNtp Pi Installation and Operation Guide See last page for copyright and document information...
Страница 8: ...See last page for copyright and document info File Reeve_GpsNtp Pi_Setup doc Page 6...
Страница 29: ...See last page for copyright and document info File Reeve_GpsNtp Pi_Setup doc Page 27...