Raspbian: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→Links) |
|||
Zeile 1: | Zeile 1: | ||
== Installation == | == Installation == | ||
=== Netzwerk === | |||
<pre> | |||
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 | |||
</pre> | |||
Version vom 26. April 2016, 21:44 Uhr
Installation
Netzwerk
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
https://www.elektronik-kompendium.de/sites/raspberry-pi/
Zurück zu Hauptseite