User Tools

Site Tools


messy:01_einrichtung:01_raspbertry_pi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
messy:01_einrichtung:01_raspbertry_pi [2024/07/07 19:55] dominikmessy:01_einrichtung:01_raspbertry_pi [2024/08/11 14:27] (current) – [Raspbertry Pi] dominik
Line 8: Line 8:
 </code> **Hinweis:** Messy braucht mindestens Python 3.10 !! </code> **Hinweis:** Messy braucht mindestens Python 3.10 !!
   * Updates und Tools    * Updates und Tools 
-    * ''sudo apt update && sudo apt upgrade -y && sudo apt install -y git silversearcher-ag wavemon hexedit sudoku tcpdump iptraf mc htop dcfldd nano usbutils openvpn ranger tldr ncdu can-utils multitail fd-find lsof x11vnc terminator minicom cutecom joystick jstest-gtk i2c-tools speedtest-cli && mkdir -p ~/.local/share && tldr -u''+    * ''sudo apt update && sudo apt upgrade -y && sudo apt install -y git silversearcher-ag wavemon hexedit sudoku tcpdump iptraf mc htop dcfldd nano usbutils openvpn ranger tldr ncdu can-utils multitail fd-find lsof x11vnc terminator minicom cutecom joystick jstest-gtk i2c-tools speedtest-cli iotop && mkdir -p ~/.local/share && tldr -u''
     * ''sudo apt autoremove -y modem* cups* pulse* avahi* triggerhappy*''     * ''sudo apt autoremove -y modem* cups* pulse* avahi* triggerhappy*''
 +    * ''sudo systemctl disable mariadb.service''
 +    * ''sudo systemctl stop mariadb.service''
 +
   * Devtools nbachinstallieren    * Devtools nbachinstallieren 
-    * ''sudo apt install -y thonny cutecom sqlitebrowser build-essential pkg-config libusb-1.0-0-dev cmake make gcc python3-dev libhidapi-dev python3-virtualenv python3-tk lm-sensors''+    * ''sudo apt install -y thonny cutecom sqlitebrowser build-essential pkg-config libusb-1.0-0-dev cmake make gcc python3-dev libhidapi-dev python3-virtualenv python3-tk lm-sensors mariadb-server mariadb-client libopenblas-dev''
   * sinnloses Zeugs weg   * sinnloses Zeugs weg
     * ''sudo apt autoremove -y modem* cups* pulse* avahi* triggerhappy*''     * ''sudo apt autoremove -y modem* cups* pulse* avahi* triggerhappy*''
Line 18: Line 21:
   * Bei **Messy WS** den I2C Port drehen (SDA / SCL)   * Bei **Messy WS** den I2C Port drehen (SDA / SCL)
     * ''sudo nano /boot/firmware/config.txt''     * ''sudo nano /boot/firmware/config.txt''
-    * ''dtparam=i2c_arm=on'' -> auskommentieren  +    * ''dtparam=i2c_arm=off''  
-    * ''dtoverlay=i2c-gpio,i2c_gpio_sda=5,i2c_gpio_scl=6'' -> einfügen+    * ''dtoverlay=i2c-gpio,i2c_gpio_sda=3,i2c_gpio_scl=2,bus=1'' -> einfügen
     * ''sudo reboot''     * ''sudo reboot''
     * -> erzeugt einen alternativen I2C Bus auf Nummer 3      * -> erzeugt einen alternativen I2C Bus auf Nummer 3 
Line 34: Line 37:
     * ''sudo nano /boot/firmware/config.txt''     * ''sudo nano /boot/firmware/config.txt''
     * ''dtoverlay=disable-wifi''     * ''dtoverlay=disable-wifi''
 +  * Pi Zero MCC Activity LED
 +    * ''sudo nano /boot/firmware/config.txt''
 +    * ''dtparam=act_led_trigger=mmc0''
 +    * ''dtparam=act_led_activelow=on''
 +
 +===== SWAP erhöhen =====
 +  * stop the swap \\ ''sudo dphys-swapfile swapoff''
 +  * Modify the size of the swap. As root , edit the file ''/etc/dphys-swapfile'' and modify the variable ''CONF_SWAPSIZE : CONF_SWAPSIZE=1024'' \\ ''sudo nano /etc/dphys-swapfile''
 +  * Start the swap \\ ''sudo dphys-swapfile swapon''
 +  * Restart \\ ''sudo reboot''
  
  
messy/01_einrichtung/01_raspbertry_pi.1720374905.txt.gz · Last modified: 2024/07/07 19:55 by dominik

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki