Raspbian: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 1: | Zeile 1: | ||
== | == Konfiguration == | ||
=== Netzwerk === | === Netzwerk === | ||
Zeile 51: | Zeile 51: | ||
</pre> | </pre> | ||
==== Links ==== | |||
[http://www.netzmafia.de/skripten/hardware/RasPi/RasPi_Network.html http://www.netzmafia.de/skripten/hardware/RasPi/RasPi_Network.html] | |||
[[Router (Raspbian)]] | [[Router (Raspbian)]] |
Version vom 26. April 2016, 22:51 Uhr
Konfiguration
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
Links
http://www.netzmafia.de/skripten/hardware/RasPi/RasPi_Network.html
Links
https://www.elektronik-kompendium.de/sites/raspberry-pi/
Zurück zu Hauptseite