Lxw2015
Posts: 85
Joined: Fri Feb 12, 2016 4:05 am

staticip address

Sun Feb 21, 2016 3:34 am

Hi, I tried to set my pi a static IP address.
but not success.
my OS setting is like

iface eth0 inet manual

it always assigned me same address. seems I already get the static IP address.

what does does "manual" means ?

DirkS
Posts: 10501
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: staticip address

Sun Feb 21, 2016 9:48 am

So you're using Raspbian Jessie?
If so then you add static addresses in /etc/dhcpcd.conf
Add something like

Code: Select all

interface eth0
static ip_address=192.168.178.28/24
static routers=192.168.178.1
static domain_name_servers=192.168.178.1 8.8.8.8
to that file (change values according to your setup

Return to “Beginners”