ifupdown: Add dual network dhcp
For visionfive2, there are two network interface Add dual network dhcp for the 2nd interface Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
This commit is contained in:
committed by
Samin Guo
parent
d7540d4316
commit
c30b506664
@@ -403,6 +403,21 @@ config BR2_SYSTEM_DHCP
|
||||
overwrite /etc/network/interfaces or add a networkd
|
||||
configuration file.
|
||||
|
||||
config BR2_SYSTEM_DHCP_DUAL
|
||||
string "Dual Network interface for the 2nd to configure through DHCP"
|
||||
default ""
|
||||
depends on BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || \
|
||||
BR2_PACKAGE_SYSTEMD_NETWORKD
|
||||
help
|
||||
Enter here the name of the network interface (E.G. eth1) to
|
||||
automatically configure through DHCP at bootup.
|
||||
|
||||
If left empty, no automatic DHCP requests will take place.
|
||||
|
||||
For more complicated network setups use an overlay to
|
||||
overwrite /etc/network/interfaces or add a networkd
|
||||
configuration file.
|
||||
|
||||
comment "automatic network configuration via DHCP needs ifupdown or busybox or networkd or netifrc"
|
||||
depends on !(BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || \
|
||||
BR2_PACKAGE_SYSTEMD_NETWORKD || BR2_PACKAGE_NETIFRC)
|
||||
|
||||
Reference in New Issue
Block a user