Raspbian: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 10: Zeile 10:
allow-hotplug wlan0
allow-hotplug wlan0
iface wlan0 inet static
iface wlan0 inet static
address 10.0.0.99
address <static ip>
netmask 255.255.255.0
netmask 255.255.255.0
gateway 10.0.0.1
gateway 10.0.0.1

Version vom 26. April 2016, 22:45 Uhr

Installation

Netzwerk

Wireless

In der Datei /etc/network/interfaces folgende Zeilen hinzufügen / anpassen:

auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address <static ip>
netmask 255.255.255.0
gateway 10.0.0.1

wpa-ap-scan 1
wpa-scan-ssid 1

wpa-ssid "<ssid>"
wpa-psk "<password>"

Backup

auto lo

iface lo inet loopback
iface eth0 inet static

address 10.0.0.98
netmask 255.255.255.0
gateway 10.0.0.1

auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 10.0.0.99
netmask 255.255.255.0
gateway 10.0.0.1

wpa-ap-scan 1
wpa-scan-ssid 1

wpa-ssid "<ssid>"
wpa-psk "<password>"

up sysctl -w net.ipv4.ip_forward=1

up iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE


Router (Raspbian)

Links

https://www.raspberrypi.org

https://www.elektronik-kompendium.de/sites/raspberry-pi/


Zurück zu Hauptseite