Geini.de
Neuste Beiträge
Statistik
Online: 23
Heute: 641
Gestern: 1688
Monat: 5194
Jahr: 78567
Registriert: 1
Gesamt: 360252
Online
User: 0
Gäste: 23
Shoutbox
anita:
20.09.2025 20:24
https://www.goodreads.com/quotes/14352841-copa-air
subu:
20.09.2025 14:10
https://www.goodreads.com/quotes/14342400-southwe
subu:
20.09.2025 13:45
https://www.goodreads.com/quotes/14342258-southwes
subu:
20.09.2025 13:36
https://www.goodreads.com/quotes/14341871-south-we
Akansha:
20.09.2025 12:11
https://www.goodreads.com/quotes/14340580-how-to-n

Forum Öffentlicher Bereich Smart-Home Raspberry Pi

Post von Geini » 04.10.2021 11:23:37


[b]Feste IP's + WLAN und LAN mit der Selben IP betreiben[/b] Das ganze mit vorrangschaltung (also LAN vor WLAN) wie von z.B. Windows bekannt. Erstmal die Statischen IP's einrichten [b]/etc/dhcpcd.conf:[/b][code]interface eth0 static ip_address=192.168.178.100/24 static routers=192.168.178.1 static domain_name_servers=192.168.178.1 8.8.8.8 interface wlan0 static ip_address=192.168.178.100/24 static routers=192.168.178.1 static domain_name_servers=192.168.178.1 8.8.8.8[/code] um dann im nächsten Schritt, eine Priorisierung durchzuführen, benötigt man das Paket [i]ifmetric[/i]. apt-get install ifmetric Danach in [i]/etc/network/interfaces[/i] folgende Zeilen einfügen[code]auto lo iface lo inet loopback allow-hotplug eth0 metric 0 auto wlan0 metric 10 wpa-driver nl80211 wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf[/code] und nach einem Neustart sollte sich euer RasPi egal, mit welcher Verbindung, unter der festen IP erreichbar sein.
User avatar
Geini
Administrator
User
Grünschnabel
 
Beiträge: 6
Dabei seit: 2019-01-02 19:55:12