PhotoBOOTH: Unterschied zwischen den Versionen
Erscheinungsbild
Die Seite wurde neu angelegt: „ =Interfaces= /etc/network/interfaces <syntaxhighlight lang="bash"> auto lo iface lo inet loopback auto eth0 allow-hotplug eth0 #iface eth0 inet dhcp iface…“ |
|||
| (Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
dnsmasq installieren | |||
=Interfaces= | =Interfaces= | ||
| Zeile 36: | Zeile 38: | ||
=DNS Masq - DHCP Server= | =DNS Masq - DHCP Server= | ||
/etc/dnsmasq.conf | /etc/dnsmasq.conf | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
address=/#/10.0.1.2 | address=/#/10.0.1.2 | ||
Aktuelle Version vom 28. Dezember 2015, 15:28 Uhr
dnsmasq installieren
Interfaces
/etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 10.0.1.2
netmask 255.255.255.0
gateway 10.0.1.2
auto wlan0
#allow-hotplug wlan0
#iface wlan0 inet manual
#wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ap-scan 1
wpa-scan-ssid 1
wpa-ssid "SSID"
wpa-psk "KEY"
gateway 192.168.1.1
nameserver 192.168.1.1
nameserver 8.8.8.8
auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
DNS Masq - DHCP Server
/etc/dnsmasq.conf
address=/#/10.0.1.2
listen-address=10.0.1.2
dhcp-range=10.0.1.10,10.0.1.200,1h
dhcp-host=b8:27:eb:55:8a:0d,raspberrypi,10.0.1.2
expand-hosts