Update README.md

This commit is contained in:
Maxim Devaev 2020-07-31 14:12:30 +03:00 committed by GitHub
parent e0a3f32df3
commit 5e3e5ce286
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -273,7 +273,7 @@ The Pi-KVM OS is based on Arch Linux ARM and contains all the required packages
```
8. **Only for v0**. Now you need to flash the Arduino. This can be done using your RPi. **Before starting this operation, disconnect the RESET wire from the Arduino board, otherwise the firmware will not be uploaded.** Connect the Arduino and RPi with a suitable USB cable. Log in to the RPi and upload the firmware. Then connect the RESET wire, disconnect the USB cable, and reboot the RPi.
```
```shell
[user@localhost os]$ ssh root@<addr>
[root@pikvm ~]# rw
[root@pikvm ~]# systemctl stop kvmd
@ -285,13 +285,16 @@ The Pi-KVM OS is based on Arch Linux ARM and contains all the required packages
```
9. Congratulations! Your Pi-KVM will be available via SSH (`ssh root@<addr>` with user `root` and password `root` by default) and HTTPS (try to open it in a browser at `https://<IP addr>` with user `admin` and password `admin`). For HTTPS a self-signed certificate is used by default.
10. **Common security note**: To change root password use command `passwd` via ssh or webterm. To change Pi-KVM web password use `kvmd-htpasswd set admin`.
10. **Common security note**: To change root password use command `passwd` via SSH or webterm. To change Pi-KVM web password use `kvmd-htpasswd set admin`.
11. **Security note for v2**: Immediately after installation, Pi-KVM will be available via USB OTG from the managed server via the virtual serial console port. This is very helpful if SSH is unavailable (and you don't have a UART cable), so you can login to the device using something like mingetty or PuTTY and find out what's wrong. The login is protected by the same password that is used for the root login. In some cases (if different networks are used for servers and KVM for security reasons), you may want to disable this feature. To do this:
* Switch device to RW-mode:
```shell
[root@pikvm ~]# rw
```
* Edit file `/etc/securetty` and remove line `ttyGS0`.
* Run:
```bash
[root@pikvm ~]# rw
```shell
[root@pikvm ~]# systemctl enable getty@ttyGS0.service
[root@pikvm ~]# rm -rf /etc/systemd/system/getty@ttyGS0.service.d
[root@pikvm ~]# reboot