Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Configuring a Static IP on HypriotOS for the Raspberry Pi

DZone's Guide to

Configuring a Static IP on HypriotOS for the Raspberry Pi

Here's a quick tutorial to set up a static IP on Hyperiot for the Raspberry Pi.

· IoT Zone ·
Free Resource

Download The Comparative Guide to Rules Engines for IoT to learn what are the most common automation technologies used in the IoT domain for application development

How you configure a static IP on the Pi changed between Wheezy and Jessie, and there seems to be a variation on Hypriot’s prebuilt images for running Docker on the Pi.

Edit /etc/network/interfaces.d/eth0, comment out the DHCP line:

iface eth0 inet dhcp


And add:

iface eth0 inet static
address your-static-ip
gateway your-gateway-ip
#google dns servers
domain_name_servers=8.8.8.8, 8.8.4.4


Done!

See how CEP engines, stream processing engines, flow based programming engines and other popular rule-based technologies perform against seven IoT-specific criteria.

Topics:
raspberry pi ,wheezy ,jessie ,docker

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}