How do I configure a Screenly node to use a static IP?

Starting with release 2014-12-12, Screenly supports static IPs.

Overview
Mount the Screenly card on your computer.

  1. Rename network.ini-sample on the card to network.ini.
  2. Edit the file according to your needs in Notepad (Windows) or TextEdit (Mac).
  3. Safely remove (Windows) or eject (Mac) the card and insert it into your Raspberry Pi.

Detailed instructions
After you have flashed out the disk image to an SD card, re-insert the card into your computer. Upon doing so, there should only be one partition visible (assuming you’re using Windows or Mac OS X). This partition should automatically appear.

On this partition, you will find a file named network.ini-sample. You need to copy or rename this file to network.ini. Upon boot, Screenly will check for this file, and if it is present configure the system according to the settings in there.

To configure your network, you need to open network.ini in a text editor (Notepad on Windows and TextEdit on Mac OS X will do the job). When opening the file you’ll find the following content:

[eth0]
ip=192.168.1.10
netmask=255.255.255.0
gateway=192.168.1.1

[generic]
; Provide a comma separated list
dns=8.8.8.8,8.8.4.4
ntp=0.pool.ntp.org,1.pool.ntp.org

Simply edit the values above to fit your needs and save the file. If you don’t want to use a custom NTP server, simply remove that line. Safely remove (Windows) or eject (Mac) the card, place it in your Raspberry Pi and boot the device. The system should automatically configure itself according to the entries in the file upon boot. If you have any questions or difficulties, please don’t hesitate to contact our support.

Have more questions? Submit a request

0 Comments

Article is closed for comments.