How to give Raspberry Pi a static IP Address ?
open the file /etc/dhcpd.conf and add the following . when you want to set a static IP address for a wired connection or a wireless connection eth0 = wired
1 2 3 4 5 6 |
interface eth0 static ip_address=192.168.1.xxx/24 static routers=192.168.1.xxx static domain_name_servers=192.168.1.xxx |
Then run : –
1 2 3 |
ifconfig eth0 down ifconfig eth0 up |
If result is not found or irrelevant, Please contact us.
Submit your request