Raspberry Pi static IP

Posted: 22nd Март 2016 by shmyak in Пингвин

cat /etc/network/interfaces

auto eth0
allow-hotplug eth0
iface eth0 inet manual

 

cat /etc/dhcpcd.conf

interface eth0
static ip_address=192.168.1.10/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1 8.8.8.8

Вы должны войти на сайт, чтобы оставить комментарий.