Voldemort: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
'''Pi-is-four''' is our new Raspberry Pi 4 that shall replace [[Xbcmcbuntu]] for browsing / downloading / ...
'''Pi-is-four''' is our new Raspberry Pi 4 that shall replace [[Xbcmcbuntu]] for browsing / downloading / ...

== Information ==
* CPU is a '''armv8''', but as raspbian is 32-bit, it is reported as a 32-bit '''armv7l''' [https://raspberrypi.stackexchange.com/questions/101215/why-raspberry-pi-4b-claims-that-its-processor-is-armv7l-when-in-official-specif]:
<source lang="bash">
lscpu
# Architecture: armv7l
# Byte Order: Little Endian
# CPU(s): 4
</source>
* We need usual Debian ARM to get 64-bit apps running. But this may also not be as optimized as Raspbian.


== Configuration ==
== Configuration ==
* Install Raspbian Buster 32-bit ({{file|2020-08-20-raspios-buster-armhf-full.zip}}) using {{deb|imager_1.4_amd64.deb}}.
* Install Raspbian Buster 32-bit ({{file|2020-08-20-raspios-buster-armhf-full.zip}}) using {{deb|imager_1.4_amd64.deb}}.
* Install NoMachine server (armv7 because 32-bit OS).
* Install NoMachine server (armv7 because 32-bit OS, also 64-bit is reported as not being optimized).
* Use static IP by editing {{file|/etc/dhcpcd.conf}} [https://pimylifeup.com/raspberry-pi-static-ip-address/]:
<source lang="diff">
+interface wlan0
+static ip_address=192.168.1.96/24
+#static ip6_address=fd51:42f8:caae:d92e::ff/64
+static routers=192.168.1.1
+static domain_name_servers=192.168.1.1 8.8.8.8 fd51:42f8:caae:d92e::1
</source>
* Enable ssh server. The simplest is to [https://www.raspberrypi.org/documentation/remote-access/ssh/]:
<source lang="bash">
# Either touch a file and reboot the device
sudo touch /boot/ssh
sudo reboot
# Or enable through systemd
sudo systemctl enable ssh
sudo systemctl start ssh
</source>
* Add to {{file|~/.config/autostart/set_belgian_kbd.desktop}}:
* Add to {{file|~/.config/autostart/set_belgian_kbd.desktop}}:
<source lang="bash">
<source lang="bash">

Revision as of 00:30, 6 November 2020

Pi-is-four is our new Raspberry Pi 4 that shall replace Xbcmcbuntu for browsing / downloading / ...

Information

  • CPU is a armv8, but as raspbian is 32-bit, it is reported as a 32-bit armv7l [1]:
lscpu
# Architecture:        armv7l
# Byte Order:          Little Endian
# CPU(s):              4
  • We need usual Debian ARM to get 64-bit apps running. But this may also not be as optimized as Raspbian.

Configuration

  • Install Raspbian Buster 32-bit (2020-08-20-raspios-buster-armhf-full.zip) using imager_1.4_amd64.deb.
  • Install NoMachine server (armv7 because 32-bit OS, also 64-bit is reported as not being optimized).
  • Use static IP by editing /etc/dhcpcd.conf [2]:
+interface wlan0
+static ip_address=192.168.1.96/24
+#static ip6_address=fd51:42f8:caae:d92e::ff/64
+static routers=192.168.1.1
+static domain_name_servers=192.168.1.1 8.8.8.8 fd51:42f8:caae:d92e::1
  • Enable ssh server. The simplest is to [3]:
# Either touch a file and reboot the device
sudo touch /boot/ssh
sudo reboot
# Or enable through systemd
sudo systemctl enable ssh
sudo systemctl start ssh
  • Add to ~/.config/autostart/set_belgian_kbd.desktop:
[Desktop Entry]
Type=Application
Name=Set Belgian autostart
Comment=Set keyboard to Belgian layout
NoDisplay=true
Exec=sh -c '/usr/bin/setxkbmap be'
This should fix the wrong keyboard layout issue.