Skip to content
Snippets Groups Projects
Commit 1838cee0 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-setup-mode: set br-setup MAC address to the primary MAC address

This allows to reach the node in setup mode over the same link-local IPv6
address as br-client uses during normal operation.
parent 2deb82bc
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ prepare_config() { ...@@ -26,6 +26,7 @@ prepare_config() {
uci_add network interface setup uci_add network interface setup
uci_set network setup ifname "$(lua -e 'print(require("gluon.sysconfig").setup_ifname)')" uci_set network setup ifname "$(lua -e 'print(require("gluon.sysconfig").setup_ifname)')"
uci_set network setup macaddr "$(lua -e 'print(require("gluon.sysconfig").primary_mac)')"
uci_set network setup type 'bridge' uci_set network setup type 'bridge'
uci_set network setup proto 'static' uci_set network setup proto 'static'
uci_set network setup ipaddr "$SETUP_MODE_ADDR" uci_set network setup ipaddr "$SETUP_MODE_ADDR"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment