====== Raspberry ====== ===== Allgemeines ===== ==== Installation ==== Installationsanleitung im Web: * https://www.raspberrypi.org/documentation/installation/installing-images/linux.md * https://www.raspberrypi.org/documentation/installation/installing-images/mac.md Installation vom Linux aus mit "dd" dd bs=4M if=2015-02-16-raspbian-wheezy.img of=/dev/mmcblk0 Mac: diskutil umountDisk /dev/disk3 sudo dd bs=1m if=path_of_your_image.img of=/dev/rdisk3 * https://blog.netways.de/2015/05/05/mac-os-x-dd-schneller-und-mit-fortschrittsanzeige/ ... oder mit "ApplePi Baker": * https://www.tweaking4all.com/hardware/raspberry-pi/macosx-apple-pi-baker/ ==== Image anpassen ==== Wenn man das vorgefertigte Image anpassen möchte, kann man auf Linux-Systemen Dieses wie folgt mounten: mount 2016-05-27-raspbian-jessie.img /mnt -o loop,offset=70254592 Der "offset"-Wert bezieht sich dabei auf den Startzylinder der 2. Partition (die Erste ist die FAT16 Boot Partition). Dieser Wert lässt sich einfach mittels ''parted'' ermitteln: parted 2016-05-27-raspbian-jessie.img # GNU Parted 2.3 # 2016-05-27-raspbian-jessie.img wird verwendet # Willkommen zu GNU Parted! Rufen Sie »help« auf, um eine Liste der verfügbaren Befehle zu erhalten. (parted) u Einheit? [compact]? B (parted) print # Modell: (file) # Festplatte 2016-05-27-raspbian-jessie.img: 4019191808B # Sektorgröße (logisch/physisch): 512B/512B # Partitionstabelle: msdos # # Nummer Anfang Ende Größe Typ Dateisystem Flags # 1 4194304B 70254591B 66060288B primary fat16 LBA # 2 70254592B 4019191807B 3948937216B primary ext4 # (parted) q ==== Hardware Model ermitteln ==== cat /sys/firmware/devicetree/base/model ===== SMS Versand ===== * [[SMS Versand mit Raspberry]] ===== Energiesparmodus deaktivieren ===== * http://raspberrypi.stackexchange.com/questions/752/how-do-i-prevent-the-screen-from-going-blank ===== XMBC ===== * /home/pi/.xbmc/userdata/guisettings.xml ==== Video-Buffer ==== * [[http://wiki.xbmc.org/index.php?title=HOW-TO:Modify_the_video_cache#How-to_modify_the_cache|How to modify the cache (XBMC-Wiki)]] * [[http://www.stuffaboutcode.com/2012/08/xbmc-raspbmc-kept-buffering.html|XBMC / Raspbmc kept buffering (stuffaboutcode.com)]] * ==== Kismet ==== *[[kismet auf dem Pi|kismet auf dem Pi]] *https://www.kismetwireless.net/documentation.shtml *[[http://sagan.quadrantsec.com/papers/wireless-ids/| Building wireless IDS system using open source]] *[[http://de.scribd.com/doc/38676496/WPA-Kismet-Guide#scribd| Pen-Test using kismet]] ==== Camera-Modul ==== * http://raspberrypiguide.de/howtos/raspberry-pi-camera-how-to/ * https://schaich.wordpress.com/2014/01/26/raspberry-als-billige-webcam-bewegungsmelder-und-wetterdatensammler/ * https://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/ ===== Pi 2 ===== ==== Ubuntu ==== * [[https://darrenjw2.wordpress.com/2015/02/07/getting-started-with-snappy-ubuntu-core-on-the-raspberry-pi-2/ | Getting started with snappy ubuntu core (darrenjw's blog)]] * [[http://www.techrepublic.com/article/how-to-get-ubuntu-desktop-on-the-raspberry-pi-2/ | How to get Ubuntu Desktop on the Rasperry Pi 2]] * [[http://linuxcake.com/rpi2-ubuntu/ | Raspberry Pi 2 running Raspuntu (Ubuntu / Linaro)]] * [[https://wiki.ubuntu.com/ARM/RaspberryPi | Ubuntu 14.04 Installation auf Raspberry Pi (Ubuntu Wiki)]] ==== gitlab ==== * [[https://about.gitlab.com/downloads/#raspberrypi2 | Gitlab auf Raspberry Pi 2]] ===== sonstiges ===== * [[https://www.sweetpi.de/blog/224/usb-steckdosenleisten-mit-dem-raspberry-pi-schalten | USB Steckdosenleisten mit dem RaspberryPi schalten]] * [[https://www.einplatinencomputer.com/raspberry-pi-433-mhz-funksteckdose-schalten | Raspberry Pi: 433 MHz Funksteckdose schalten]] ===== OpenVPN ===== * [[https://blog.doenselmann.com/raspberry-pi-als-openvpn-server/ | Raspberry Pi als OpenVPN Server]] * [[https://blog.doenselmann.com/openvpn-zertifikate-unter-linux-erzeugen/ | OpenVPN Zertifikate unter Linux erzeugen]] * [[https://blog.doenselmann.com/openvpn-verbindung-mit-ios-device/ | OpenVPN Verbindung mit iOS Device]] * [[https://blog.doenselmann.com/openvpn-server-auf-dd-wrt-router-betreiben/ | OpenVPN Server auf DD-WRT Router betreiben]] * [[https://openvpn.net/index.php/open-source/documentation/howto.html | OpenVPN HowTo]] * [[http://www.pivpn.io | PiVPN - Simplest OpenVPN setup and configuration, designed for Raspberry Pi]] ===== DynDNS / NO-IP ===== Der RaspberryPi kann als DynDNS / NO-IP Client benutzt werden. Näheres findet sich hier: [[ddclient: DynDNS und Co]] ===== Schaltbare Steckdosenleiste ===== * [[http://m.linux-hardware-guide.de/2014-04-18-energenie-eg-pm2-lan-programmierbare-6-fach-ip-steckdosenleiste-lan | Energenie-EG-PM2 LAN - programmierbare 6fach Steckdosenleiste (LAN)]] ===== LCD Display ===== * https://github.com/goodtft/LCD-show * https://www.elegoo.com/product/elegoo-3-5-inch-480x320-tft-touch-screen-monitor/ ===== VNC ===== Mit folgenden Schritten kann auf einem RaspberryPi über CLI das VNC aktiviert und mit Kennwort versehen werden, so dass z.B. mit dem "VNC Viewer" (RealVNC) zugegriffen werden kann. raspi-config # -> Interfaces Options -> VNC -> Enable # Reboot vncpasswd -print # Ausgabe: Password=dslfjsldksbsdfsh Diese Ausgabe des verschlüsselten Passwords wird dann in der VNC Config (common.custom) angelegt. Diese Datei muss möglicherweise noch angelegt werden. # vi /etc/vnc/config.d/common.custom Encryption=PreferOn Authentication=VncAuth Password=40cca9718ffb8e91d55cf290c3db86d5 Anschließend VNC neu starten. systemctl restart vncserver-x11-serviced