Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Unmount partition and insert the memory card on the Raspberry Pi Zero 2W. Power on the Netrabrick.

  2. Connect via ssh

    Code Block
    ssh -p 2001 root@192.168.0.86
    
    root@192.168.0.86's password: 
             _____ _  _  ____      ____  __
            |  __ (_)| |/ /\ \    / /  \/  |
            | |__) | | ' /  \ \  / /| \  / |
            |  ___/ ||  <    \ \/ / | |\/| |
            | |   | || . \    \  /  | |  | |
            |_|   |_||_|\_\    \/   |_|  |_|
    
        Welcome to PiKVM - The Open Source KVM over IP on Raspberry Pi
        ____________________________________________________________________________
    
        The root filesystem of PiKVM is mounted in the read-only mode by default.
        Use command "rw" to remount it in the RW-mode and "ro" to switch it back.
        If the filesystem is busy and doesn't switch to the RO-mode, use "reboot"
        to reboot the device, don't leave it in the RW-mode.
    
        Useful commands:
          * Preventing kernel messages in the console:  dmesg -n 1
          * Changing the Web UI password:  kvmd-htpasswd set admin
          * Changing the root password:    passwd
    
        Links:
          * Official website:  https://pikvm.org
          * Documentation:     https://docs.pikvm.org
          * Auth & 2FA:        https://docs.pikvm.org/auth
          * Networking:        https://wiki.archlinux.org/title/systemd-networkd

  3. Change the root password and web admin password

    Code Block
    [root@pikvm ~]# rw
    + mount -o remount,rw /
    + mount -o remount,rw /boot
    + set +x
    === PiKVM is in Read-Write mode ===
    [root@pikvm ~]# passwd root
    New password: 
    Retype new password: 
    passwd: password updated successfully
    [root@pikvm ~]# kvmd-htpasswd set admin
    Password: 
    Repeat: 
    
    # Note: Users logged in with this username will stay logged in.
    # To invalidate their cookies you need to restart kvmd & kvmd-nginx:
    #    systemctl restart kvmd kvmd-nginx
    # Be careful, this will break your connection to the PiKVM
    # and may affect the GPIO relays state. Also don't forget to edit
    # the files /etc/kvmd/{vncpasswd,ipmipasswd} and restart
    # the corresponding services kvmd-vnc & kvmd-ipmi if necessary.
  4. Activate 2FA authentication with your favorite authenticator app:

    Code Block
    [root@pikvm ~]# kvmd-totp init
  5. Connect via browser to the PiKVM address: 192.168.0.86. (Accept the unsecured connection, as we have not yet added a SSL certificate) using password

...