pi@raspberry:~ $ ip add
recupérer le nom de l’interface
enxb827eb6d9542
pi@raspberry :~ $ sudo vi /etc/dhcpcd.conf
# nom de l’interface récupérer plus haut:
interface enxb827eb6d9542
static ip_address=192.168.1.40/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1 8.8.8.8
pi@annexe:~ $ sudo reboot