meta-digi/meta-digi-dey/recipes-core/init-ifupdown/init-ifupdown-1.0
Alex Gonzalez 8e7e7124d9 meta-digi-dey: init-ifupdown: Allow to configure interfaces file.
The interfaces file is now dynamically created for eth0, eth1 and wlan0. By
default they are configured if enabled in the machine features, and have
the same static configuration as before.

The static IPs can be configured as follows:

ETHn_STATIC_IP = "<ip address>"
ETHn_STATIC_NETMASK = "<netmask>"
ETHn_STATIC_GATEWAY = "<gateway>"

WLAN0_STATIC_IP = "<ip address>"
WLAN0_STATIC_NETMASK = "<netmask>"

To configure dynamic IPs you can use the following configuration in your
local.conf:

ETHn_DHCP = "dhcp"
WLAN0_DHCP = "dhcp"

https://jira.digi.com/browse/DEL-1178

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-09-11 18:01:59 +02:00
..
ifup init-ifupdown: make sure the exit value of the script is 0 2014-04-04 10:18:20 +02:00
interfaces meta-digi-dey: init-ifupdown: Allow to configure interfaces file. 2014-09-11 18:01:59 +02:00
interfaces.eth0.dhcp meta-digi-dey: init-ifupdown: Allow to configure interfaces file. 2014-09-11 18:01:59 +02:00
interfaces.eth0.static meta-digi-dey: init-ifupdown: Allow to configure interfaces file. 2014-09-11 18:01:59 +02:00
interfaces.eth1.dhcp meta-digi-dey: init-ifupdown: Allow to configure interfaces file. 2014-09-11 18:01:59 +02:00
interfaces.eth1.static meta-digi-dey: init-ifupdown: Allow to configure interfaces file. 2014-09-11 18:01:59 +02:00
interfaces.wlan0.dhcp meta-digi-dey: init-ifupdown: Allow to configure interfaces file. 2014-09-11 18:01:59 +02:00
interfaces.wlan0.static meta-digi-dey: init-ifupdown: Allow to configure interfaces file. 2014-09-11 18:01:59 +02:00