4. Basic knowledge of Raspberry Pi --Set static IP
4.Set static IP
Juvtmall ( a company supply PCB Prototyping, PCBA service and sell kinds of components, modules and so on)
You may say: no, though I can use Wi-Fi and don’t need network cable, I still have to use Advanced IP Scanner to search IP of my Raspberry Pi, it’s so inconvenient.
I will teach you how to set static IP
First: input the following command:
sudo nano /etc/dhcpcd.conf
Secondly: input these command to the bottom line:
interface eth0
static ip_address= (the static IP you want)
static routers= (your routers)
static domain_name_servers= (domain)
Tip: this is the way to set eth’s static IP
The following is about how to set wireless static IP:
Input the command:
interface wlan0
static ip_address= (the static IP you want)
static routers= (your routers)
static domain_name_servers= (domain)
评论
发表评论