Raspberry Pi Imager
Foloseste Raspberry PI OS (other) -> Raspberry PI OS Lite (32-bit), sdcard, Write

In Windows, drive-ul apare ca boot.
In boot, pentru enable ssh, creaza un fisier gol si fara extensie numit ssh
In boot, pentru enable retea (wifi), creaze un fisier numit wpa_supplicant.conf, populat cu urmatoarele:

1
2
3
4
5
6
7
8
country=RO
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
    ssid="NETWORK-NAME"
    psk="NETWORK-PASSWORD"
}

Ofc, schimbi ssid si psk.

Eject card, boot Raspberry Pi 0 W.

Gasesti adresa in router.

Tot pe router, asigneaza ip static (mac bind)

Connect & update (default password: raspberry):

1
2
ssh pi@192.168.100.xxx
sudo apt update && sudo apt upgrade

Configureaza first time use:
sudo raspi-config

Musai:

  • schimba parola
  • schimba hostname
  • timezone
  • expand file system

Verifica status dhcpcd:
sudo service dhcpcd status
Daca active/running,
sudo vim /etc/dhcpcd.conf
Modifica (remove # din fata si schimba ip-urile):

1
2
3
4
interface wlan0
static ip_address=192.168.100.4/24
static routers=192.168.100.1
static domain_name_servers=192.168.100.1

Diable ipv6 ( link ):
sudo vim /etc/sysctl.conf
Adauga la sfarsit:

1
2
3
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

sudo reboot

bingo.