Cloudkul Support

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

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 : –

ifconfig eth0 down

ifconfig eth0 up

 

Is this article is helpful?

People like and 1 people dislike.

If result is not found or irrelevant, Please contact us.

Submit your request

Start a Project




    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home