Mehrere Wifi-Verbindungen konfigurieren (Raspbian): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 33: | Zeile 33: | ||
<pre> | <pre> | ||
interface wlan0 | |||
arping 10.0.0.1 | |||
arping 10.3.0.1 | |||
profile 10.0.0.1 | |||
static ip_address=10.0.0.180/24 | |||
static routers=10.0.0.1 | |||
static domain_name_servers=8.8.8.8 8.8.4.4 | |||
profile 10.3.0.1 | |||
static ip_address=10.3.0.180/24 | |||
static routers=10.3.0.1 | |||
static domain_name_servers=8.8.8.8 8.8.4.4 | |||
</pre> | </pre> | ||
Version vom 28. April 2023, 13:45 Uhr
Noch in Bearbeitung
/etc/wpa_supplicant/wpa_supplicant.conf
sudo vi /etc/wpa_supplicant/wpa_supplicant.conf
country=AT ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev ap_scan=1 update_config=1 network={ ssid="SSID-ROUTER-1" psk="password1" } network={ ssid="SSID-ROUTER-2" psk="password2" }
/etc/dhcpcd.conf
sudo vi /etc/dhcpcd.conf
interface wlan0 arping 10.0.0.1 arping 10.3.0.1 profile 10.0.0.1 static ip_address=10.0.0.180/24 static routers=10.0.0.1 static domain_name_servers=8.8.8.8 8.8.4.4 profile 10.3.0.1 static ip_address=10.3.0.180/24 static routers=10.3.0.1 static domain_name_servers=8.8.8.8 8.8.4.4
Links
https://wiki.ubuntuusers.de/WLAN/wpa_supplicant/#Roaming
Zurück zu Netzwerk Wireless