This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, master has been updated via cb8ff50d41d82cfcb0680376f50f3a118c63809b (commit) via caef75c52974b8fed718ad8b8992442378495e78 (commit) from 8284f978db00f1764cde8058b4005f81cadbe286 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit cb8ff50d41d82cfcb0680376f50f3a118c63809b Author: Michael Tremer michael.tremer@ipfire.org Date: Mon Feb 20 12:30:19 2023 +0000
core173: Ship /lib/udev/network-aqm
Signed-off-by: Michael Tremer michael.tremer@ipfire.org
commit caef75c52974b8fed718ad8b8992442378495e78 Author: Stefan Schantl stefan.schantl@ipfire.org Date: Mon Feb 20 12:42:35 2023 +0100
QMI: Disable raw_ip mode before assigning the new MAC.
To assign a MAC address, the device must not be in the raw_ip mode.
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org Signed-off-by: Michael Tremer michael.tremer@ipfire.org
-----------------------------------------------------------------------
Summary of changes: config/rootfiles/core/173/filelists/files | 1 + src/initscripts/networking/functions.network | 4 ++++ 2 files changed, 5 insertions(+)
Difference in files: diff --git a/config/rootfiles/core/173/filelists/files b/config/rootfiles/core/173/filelists/files index 880562a59..3c2e6fd5a 100644 --- a/config/rootfiles/core/173/filelists/files +++ b/config/rootfiles/core/173/filelists/files @@ -148,6 +148,7 @@ lib/firmware/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin lib/firmware/mediatek/WIFI_RAM_CODE_MT7961_1.bin lib/firmware/qca/nvm_usb_00190200.bin lib/firmware/qca/rampatch_usb_00190200.bin +lib/udev/network-aqm lib/udev/network-hotplug-rename srv/web/ipfire/cgi-bin/ovpnmain.cgi srv/web/ipfire/cgi-bin/pppsetup.cgi diff --git a/src/initscripts/networking/functions.network b/src/initscripts/networking/functions.network index 36541eb13..0e2e5009e 100644 --- a/src/initscripts/networking/functions.network +++ b/src/initscripts/networking/functions.network @@ -273,6 +273,10 @@ qmi_assign_address() { # Find the device local device="$(qmi_find_device "${intf}")"
+ # Switch off the raw_ip mode to be able to proper + # assign the generated MAC address. + echo "N" > "/sys/class/net/${intf}/qmi/raw_ip" + local address
# Generate a "random" MAC address using the device number
hooks/post-receive -- IPFire 2.x development tree