[meta-intel] [meta-intel-quark][PATCH 0/1] meta-intel-quark: systemd: Enable networkd and resolved features.

yugeraj.ramajayam at intel.com yugeraj.ramajayam at intel.com
Tue Jul 28 00:02:43 PDT 2015


From: YUGERAJ RAMAJAYAM <yugeraj.ramajayam at intel.com>

systemd-networkd is a system daemon that manages network configurations.
It detects and configures network devices as they appear.

systemd-resolved is a system service that manages network name resolution.
Enable resolved to take advantage of automatic DNS configuration from DHCP.

Add wired-dhcp.network file at "/etc/systemd/network" referred by networkd
to determine the Interface name and Network configuration type of
ethernet ports.
User is free to create multiple .network files at “/etc/system/network”
path to have customized IP Address allocation.

On multiple Ethernet port system, in absence of these features were
unable to get and assign IP Addresses to all Ethernet ports when
Ethernet cables are connected to the Ethernet ports.

User have to manually bring the interface up in order to get the IP
Address assigned to it.

Now these features takes care of the IP Address assignment to all
Ethernet ports when cables are connected to it based on the
configuration file at “/etc/system/network” path.

This patch was tested on Cross Hill platform.
It is having 2 Ethernet ports.
Below are the steps used to test this patch:

(1)Connect both Ethernet ports with Ethernet cable into network
and Power ON the board.

a.Check “ifconfig” output on shell prompt (Both Ethernet ports
should have got IP Address assigned)
b.Remove any one of the Ethernet cable.
c.Check “ifconfig” output on shell prompt (Only 1 Ethernet port should have
IP Address assigned)
d.Remove both Ethernet cable.
e.Check “ifconfig” output on shell prompt (Both Ethernet ports should NOT
have IP Address assigned)

(2)Do not connect Ethernet cable to any of the Ethernet ports on the system
and Power ON the board.

a.Check “ifconfig” output on shell prompt (Both Ethernet ports should NOT
have got IP Address assigned)
b.Connect any one of the Ethernet cable.
c.Check “ifconfig” output on shell prompt (Only 1 Ethernet port should have
IP Address assigned)
d.Connect both Ethernet cable.
e.Check “ifconfig” output on shell prompt (Both Ethernet ports should have
IP Address assigned)

(3)Connect 1 Ethernet cable to Ethernet port and Power ON the board.

a.Check “ifconfig” output on shell prompt (Only 1 Ethernet port should have
IP Address assigned)
b.Connect both Ethernet cable.
c.Check “ifconfig” output on shell prompt (Both Ethernet port should have IP
Address assigned)
d.Remove both Ethernet cable.
e.Check “ifconfig” output on shell prompt (Both Ethernet ports should not have
IP Address assigned)

(4)Repeat Step (3) with other combination of Ethernet port cable connected
during power ON.

(5)In all test cases,we are able to ping to Ethernet IP Address and login using ssh.


Signed-off-by: Kartikey Parmar <kartikeyx.r.parmar at intel.com>
Signed-off-by: YUGERAJ RAMAJAYAM <yugeraj.ramajayam at intel.com>

Kartikey Parmar (1):
  meta-intel-quark: systemd: Enable networkd and resolved features.




More information about the meta-intel mailing list