Versão avaliada: Rasp OS Lite
Login e senha inicial, caso não tenha ajustado na geracao do SDCARD.
Login: pi
Password: raspberry
Execute os comandos:
$ sudo apt update
Hit:1 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:2 http://raspbian.raspberrypi.com/raspbian bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: http://raspbian.raspberrypi.com/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
suporte@filter:~ $ sudo mv /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/
suporte@filter:~ $ sudo apt update
Hit:1 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:2 http://raspbian.raspberrypi.com/raspbian bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Para configurar manualmente a WLAN edite o arquivo:
$ sudo vi /etc/NetworkManager/system-connections/SSID.nmconnection
[connection]
id=<SSID>
uuid=7e54......5dcc
type=wifi
interface-name=wlan0
timestamp=1699407075
[wifi]
mode=infrastructure
ssid=<SSID>
[wifi-security]
key-mgmt=wpa-psk
psk=<SENHA>
[ipv4]
address1=192.168.1.253/24,192.168.1.254
dns=1.1.1.3;9.9.9.11;
method=manual
[ipv6]
addr-gen-mode=stable-privacy
method=auto
[proxy]
$ sudo reboot
Acessando a console CLI execute:
# sudo nmtui
Selecione Wired Connection 1 e clique em enter.
Em IPv4 Configuration ajuste a configuração do IP fixo conforme sua rede.
Após de selecionado clique OK e Back.
Selecione Activate a connection.
Selecione Wired Connection 1 > Activate.
Depois de Ativado a interface selecione Back.
Ao final selecione Quit.
Execute o comando abaixo:
$ sudo apt install zabbix-agent2
$ sudo vi /etc/zabbix/zabbix_agent2.conf
#Server=127.0.0.1
ServerActive=192.168.1.102:8080
Hostname=filter
$ sudo systemctl restart zabbix-agent2.service