Now the OrangePi should be visible to other PCs on the network. Be careful to put, if necessary, the chmod permissions… which are fine. With path = / we directly access the root of the system to have the freedom to browse anywhere. You must modify the configuration file to adapt it to the network and define the permissions.Īt the bottom of the file add the following lines: To easily exchange files between the OrangePi and a PC on the network, it is interesting to install Samba which will allow you to view it directly. Now you have an OrangePi Zero 2 that can be controlled remotely from a PC on your network. Now you can reboot your system and verify with VNC the connection in graphical mode. Nano /lib/systemd/system/mon_vnc.service ĮxecStart=/usr/local/bin/mon_vnc.sh startĮxecReload=/usr/local/bin/mon_vnc.sh restartįor the inclusion of this new service in systemd. We can now perform the following 3 operations:įor an automatic launch of VNC when booting the orangepi we create a service in “systemd”. OPTIONS="-depth $"Ĭopy the text above and copy it into nano with a right click if you are using Bitwise SSH. Nano /usr/local/bin/mon_vnc.sh #!/bin/bash You can now test VNC with for example the chrome VNC extension by connecting to ‘orangepi_ip_address: 5901’.įor an automated launch we will create a script file: Install xfonts-base to avoid the “could not open default font” fixed “” error when launching vncserver. Install TightVNC to have remote graphical access through the VNC client extension of the Chrome browser. In the ‘Terminal’ window make the updates: Note: in 2022 a stable version of Armbian exists.Ĭonnect in ssh (Bitwise software for example) with the user ‘root’ and the password ‘orangepi’. In the Resources section you can download the Debian image corresponding to the Orange Pi Zero 2 ‘. This one is not yet available (early 2021) for this board, I turned to the site which offers different OS including Debian. In general on Orange Pi boards, I install the Armbian OS. Be careful not to confuse it with the Orange Pi Zero which uses an H3, 32-bit processor. The Orange PI Zero 2 is a powerful development board offering many possibilities with its 64-bit 4-core processor (H6), 1GB, ethernet, WIFI, Bluetooth, HDMI, USB for around € 30.
0 Comments
Leave a Reply. |