Raspberry: Unterschied zwischen den Versionen

Aus Info-Theke
Zur Navigation springen Zur Suche springen
Zeile 21: Zeile 21:
<pre>interface wlan0
<pre>interface wlan0
static ip_address=192.168.2.60/24
static ip_address=192.168.2.60/24
 
static routers=192.168.2.3
static domain_name_servers=192.168.2.3 9.9.9.9
</pre>
</pre>



Version vom 1. Juni 2021, 19:41 Uhr

Links

Rasberry Zero W

  • Power ist USB-Buchse "außen"
  • Leere Datei ssh in Bootverzeichnis.
  • WLan-Konfiguration: im Bootverzeichnis wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=DE
network={
   ssid="Zweisiedler"
   psk="WLAN-PASSWORT"
   key_mgmt=WPA-PSK
}
  • Statische IP-Adresse: /etc/dhcpcd.conf
interface wlan0
static ip_address=192.168.2.60/24
static routers=192.168.2.3
static domain_name_servers=192.168.2.3 9.9.9.9

Installation Debian-Buster

export RPI_MODEL=1
export SD_CARD=/dev/sdc
export DEBIAN_RELEASE=buster
wget https://raspi.debian.net/daily/raspi_${RPI_MODEL}_${DEBIAN_RELEASE}.img.xz
wget https://raspi.debian.net/daily/raspi_${RPI_MODEL}_${DEBIAN_RELEASE}.xz.sha256
sha256sum -c raspi_${RPI_MODEL}_${DEBIAN_RELEASE}.xz.sha256
xzcat raspi_${RPI_MODEL}_${DEBIAN_RELEASE}.img.xz | dd of=/dev/sdc bs=64k oflag=dsync status=progress