Open christianfelicite opened 3 years ago
https://stackoverflow.com/questions/55456818/set-eth0-as-dhcp-in-raspberry-pi
Ca fonctionne pour l'ethernet mais pas le wifi
https://iotbytes.wordpress.com/raspberry-pi-ip-network-configuration/
Example:
pi@raspberrypi ~ $ cat /etc/network/interfaces auto lo iface lo inet loopback
auto eth0 allow-hotplug eth0 iface eth0 inet dhcp
auto wlan0 allow-hotplug wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
auto wlan1 allow-hotplug wlan1 iface wlan1 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
pi@raspberrypi ~ $
*Sometimes in case of DHCP Server failure or Network Cable fault, using “dhcp” option with “inet” may cause delay in Raspberry Pi boot-up process . In such scenario you may try replacing “dhcp” with “manual”.
Example:
auto eth0 allow-hotplug eth0 iface eth0 inet manual
https://www.raspberrypi-spy.co.uk/2017/04/manually-setting-up-pi-wifi-using-wpa_supplicant-conf/
country=us update_config=1 ctrl_interface=/var/run/wpa_supplicant
network={ scan_ssid=1 ssid="MyNetworkSSID" psk="Pa55w0rd1234" }
https://cod-box.net/raspberrypi-zero-w-activer-wifi-ssh-sans-lecran-et-hdmi/
country=fr update_config=1 ctrl_interface=/var/run/wpa_supplicant network={ scan_ssid=1 ssid="ICI → Nom_De_Reseau_Wifi" psk="ICI → Mote_De_Pass_Pour_Wifi" }
https://raspberrytips.com/new-user-on-raspberry-pi/
sudo adduser
https://www.raspberrypi.org/documentation/
612