| Summary: | No default network configuration for systemd-networkd | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Paul Eggleton <bluelightning> |
| Component: | core | Assignee: | Ross Burton <ross.burton> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alessioigorbogani, jku, kai.kang, meta.mr.watcher, meta.watcher, randy.macleod |
| Version: | 5.99 | ||
| Target Milestone: | 2.8 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
| Bug Depends on: | |||
| Bug Blocks: | 13031 | ||
|
Description
Paul Eggleton
2018-12-03 20:00:33 UTC
There's a system config location (/usr/lib/systemd/network/ maybe?) so installing things to /etc is not necessary. For init-ifupdown, it provides init script /etc/init.d/networking which calls ifup -a to enable network interfaces. And in configure file /etc/network/interfaces, it has set:
auto eth0
iface eth0 inet dhcp
iface eth1 inet dhcp
Then udhcpc is launched to configure the network interfaces.
For connman, it provides built-in dhcp supports. In README of connman source codes,
The following features are built-in into Connection Manager:
- IPv4, IPv4-LL (link-local) and DHCP
- IPv6, DHCPv6 and 6to4 tunnels
|