User Tools

Site Tools


raspi:config

This is an old revision of the document!


Raspberry Pi Zero W

Raspbian GNU/Linux 10 (buster)

Network

Set Static IP

vi /etc/dhcpcd.conf
...
# Example static IP configuration:
#interface eth0
interface wlan0
static ip_address=192.168.150.191/24
#static ip6_address=fd51:42f8:caae:d92e::ff/64
static routers=192.168.150.1
static domain_name_servers=192.168.150.1
...

Set WLAN Config

vi /etc/wpa_supplicant/wpa_supplicant.conf
...
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=DE

network={
        ssid="SSID-Name_1"
        psk="Password_for_SSID-Name_1"
        id_str="id_string_for_SSID-Name_1"
}

network={
        ssid="SSID-Name_2"
        psk="Password_for_SSID-Name_2"
        id_str="id_string_for_SSID-Name_2"
}
...
raspi/config.1611686683.txt.gz · Last modified: 2023/01/11 20:30 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki