DS1NMA Blog

modify this file


/etc/hostname


and reboot your raspberry pi.

1) /etc/network/interfaces


Modify and insert bold method.


auto lo

iface lo inet loopback


iface eth0 inet static

address 10.10.86.10

netmask 255.255.255.0

gateway 10.10.86.254



allow-hotplug wlan0

iface wlan0 inet manual

    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf


allow-hotplug wlan1

iface wlan1 inet manual

    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf



2) /etc/dhcpcd.conf


Insert following this to last row.


interface eth0

static ip_address=10.10.86.10

static routers=10.10.86.254

static domain_name_servers=10.10.86.254 8.8.8.8