User Tools

Site Tools


doc:appunti:hardware:raspberry_networking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
doc:appunti:hardware:raspberry_networking [2022/02/09 12:55] – [/etc/dhcpcd.conf] niccolodoc:appunti:hardware:raspberry_networking [2022/11/14 11:56] – [/etc/dhcpcd.conf] niccolo
Line 22: Line 22:
 <file> <file>
 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:
 <file> <file>
 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 39: Line 39:
 </file> </file>
  
-Per configurare **wlan0** tramite DHCP è necessario configurare il file **/etc/wpa_supplicant/wpa_supplicant.conf**, comprese le righe iniziali con le impostazioni **country**, ecc.:+Per configurare **wlan0** tramite **DHCP** è necessario configurare il file **/etc/wpa_supplicant/wpa_supplicant.conf**, comprese le righe iniziali con le impostazioni **country**, ecc.:
  
 <file> <file>
Line 50: Line 50:
 } }
 </file> </file>
 +
 +Per configurare **wlan0** con **IP statico**, oltre alla configurazione del file ''/etc/wpa_supplicant/wpa_supplicant.conf'' come visto sopra, è necessario aggiungere una sezione in **/etc/dhcpcd.conf**:
 +
 +<file>
 +interface wlan0
 +static ip_address=10.0.0.73/24
 +static routers=10.0.0.189
 +static domain_name_servers=8.8.4.4
 +</file>
 +
 ===== Network Manager ===== ===== Network Manager =====
  
Line 55: Line 65:
  
 FIXME: Qual'è la combinazione software consigliata da Raspberry Pi per gestire il WiFi con XFCE? FIXME: Qual'è la combinazione software consigliata da Raspberry Pi per gestire il WiFi con XFCE?
 +
 +===== Configurazione legacy con /etc/network/interfaces =====
 +
 +Se si desidera continuare ad utilizzare il file **/etc/network/interfaces** come con le vecchie versioni Debian, è possibile disabilitare i servizi **dhcpcd.service** e **wpa_supplicant.service** da systemd:
 +
 +<code>
 +systemctl disable dhcpcd.service
 +systemctl disable wpa_supplicant.service
 +</code>
 +
 ===== Altre pagine (più o meno aggiornate) ===== ===== Altre pagine (più o meno aggiornate) =====
  
doc/appunti/hardware/raspberry_networking.txt · Last modified: 2023/06/11 11:41 by niccolo