Commit Graph

6 Commits

Author SHA1 Message Date
Alexandre Bard 063bdd83a3 network-manager-conf: Enhance support for user module
Now all scenarios with a user module are covered:

- static setup with a user module will create a bridge with static IP
- dhcp setup with a user module will put a static IP on the UM and DHCP
on the main interface

BugzID: 81969
2022-11-18 10:07:49 +01:00
Alexandre Bard 230743c03d networkmanager-conf: Add support for bridge to user-module
This is a setup required for the factory testing image: the user module
must be reachable from the CPU. And since the subnet of the fct ethernet
port and the subnet of the user module are the same, we must bridge them
together.

BugzID: 81969
2022-11-14 15:55:20 +01:00
Alexandre Bard 8a4c0869d3 network-manager-conf: Don't always use eth0 as default
It was already the case for HW18: eth2 was the default.
Now with HW25, we can't rely either on eth0 name since it is assigned by
default to the wrong port.

We are therefor using lan0 for HW25 and make the nm-conf recipe more
generic.

BugzID: 69468
2020-12-14 14:05:27 +01:00
Alexandre Bard a61b878ee0 networkmanager-conf: Setup DHCP for nrhw20
Custom config for HW20 with DHCP on the 4 lans of the switch instead
of 4 different static subnets.

BugzID: 60765
2019-12-26 16:45:49 +01:00
Alexandre Bard 24a56a9212 networkmanager-conf: Use eth2 has default for HW18
BugzID: 60763
2019-12-26 14:59:07 +01:00
Alexandre Bard 946549e198 networkmanager: move config files to new recipe
This new recipe can be configured using PACKAGECONFIG to enable
different config option like DHCP or unmanaged devices.

BugzID: 60752

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-12-23 16:48:49 +01:00