doc:appunti:hardware:raspberry_networking
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:hardware:raspberry_networking [2022/02/09 11:30] – [/etc/dhcpcd.conf] niccolo | doc:appunti:hardware:raspberry_networking [2023/06/11 11:41] (current) – [/etc/dhcpcd.conf] niccolo | ||
|---|---|---|---|
| Line 22: | Line 22: | ||
| < | < | ||
| interface eth0 | interface eth0 | ||
| - | static ip_address=10.0.0.72 | + | static ip_address=10.0.0.72/24 |
| static routers=10.0.0.189 | static routers=10.0.0.189 | ||
| static domain_name_servers=8.8.4.4 10.0.0.189 | static domain_name_servers=8.8.4.4 10.0.0.189 | ||
| Line 31: | Line 31: | ||
| < | < | ||
| profile static_eth0 | profile static_eth0 | ||
| - | static ip_address=10.0.0.72 | + | static ip_address=10.0.0.72/24 |
| static routers=10.0.0.189 | static routers=10.0.0.189 | ||
| static domain_name_servers=8.8.4.4 10.0.0.189 | static domain_name_servers=8.8.4.4 10.0.0.189 | ||
| Line 38: | Line 38: | ||
| fallback static_eth0 | fallback static_eth0 | ||
| </ | </ | ||
| + | |||
| + | Per configurare **wlan0** tramite **DHCP** è necessario configurare il file **/ | ||
| + | |||
| + | < | ||
| + | country=IT | ||
| + | ctrl_interface=DIR=/ | ||
| + | update_config=1 | ||
| + | network={ | ||
| + | ssid=" | ||
| + | psk=" | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | Per configurare **wlan0** con **IP statico**, oltre alla configurazione del file ''/ | ||
| + | |||
| + | < | ||
| + | interface wlan0 | ||
| + | static ip_address=10.0.0.73/ | ||
| + | static routers=10.0.0.189 | ||
| + | static domain_name_servers=8.8.4.4 | ||
| + | </ | ||
| + | |||
| + | ==== Configurare il WiFi con raspi-config ==== | ||
| + | |||
| + | Se si desidera una configurazione guidata dell' | ||
| + | |||
| + | * Localization Options => Wlan Country | ||
| + | * System Options => Wireless LAN | ||
| + | |||
| + | Entrambe le impostazioni verrano scritte in **/ | ||
| ===== Network Manager ===== | ===== Network Manager ===== | ||
| Line 44: | Line 74: | ||
| FIXME: Qual' | FIXME: Qual' | ||
| + | |||
| + | ===== Configurazione legacy con / | ||
| + | |||
| + | Se si desidera continuare ad utilizzare il file **/ | ||
| + | |||
| + | < | ||
| + | systemctl disable dhcpcd.service | ||
| + | systemctl disable wpa_supplicant.service | ||
| + | </ | ||
| + | |||
| ===== Altre pagine (più o meno aggiornate) ===== | ===== Altre pagine (più o meno aggiornate) ===== | ||
doc/appunti/hardware/raspberry_networking.1644402612.txt.gz · Last modified: by niccolo
