Raspberry Pie Connect WiFi Set Static IP

Set static ip under wifi connection of Raspberry Pi
save the burden of network cable, but ip under wifi connection may change, so you can set a static ip.

sudo nano /etc/dhcpcd.conf, add the following code at the end of the file:

interface wlan0

static ip_address=your intranet ip address/24

static routers=Intranet gateway ip address

static domain_name_servers=114.114.114.114 #Custom dns

Then restart it.

Share a pictureShare a pictureShare a pictureShare PictureShare pictureShare a pictureShare a pictureShare a pictureShare a pictureShare a pictureShare a pictureShare a picture

Leave a Comment

Your email address will not be published.