Setting up a static IP address for raspberry pi and Wlan0.

DIY Projects With Chuxxsss
DIY Projects With Chuxxsss
4.4 هزار بار بازدید - 7 سال پیش - Setting up a ting up
Setting up a ting up a static IP address for raspberry pi  and Wlan0

cd ../..
sudo nano /etc/dhcpcd.conf
change

interface eth0

( static ip_address=192.168.0.10/24 ) change to your network . use fing on Android to check for free address.
( static routers=192.168.0.1 ) read above set to your router.
static domain_name_servers=192.168.0.1 8.8.8.8 8.8.4.4

do the same config for wifi only change first line to.

interface wlan0
static ip_address=192.168.0.10/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1 8.8.8.8  8.8.4.4

above is a example.  you must use your router setting.
7 سال پیش در تاریخ 1396/07/12 منتشر شده است.
4,489 بـار بازدید شده
... بیشتر