- Jan 15, 2025
-
-
Clayton Craft authored
This can be used to start bootmac reliably (in my limited testing), the 1 second delay seems to be enough for the hw to be ready for setting the mac addr. There are probably better ways to do this. Being part of the bluetooth.target means that this service (if enabled) is started automatically every time the bluetooth service is (re)started. It's functionally the same as starting bootmac via udev, except we can easily add delays in this unit file (while delaying udev rule execution is... dice-y)
-
Clayton Craft authored
The udev rule for bluetooth doesn't work on systemd[1], by splitting the rule into two separate rules, distros can leave this bluetooth rule out when packaging for systemd. Distros packaging bootmac will have to make note of the new rule files/names. 1. https://github.com/systemd/systemd/issues/35003
-
- Jul 18, 2024
-
-
Adam Honse authored
-
- Jan 23, 2024
-
-
Jens Glathe authored
add mandatory parameter checking for right format of if-name and bytes Signed-off-by:
Jens Glathe <jens.glathe@oldschoolsolutions.biz>
-
- Jan 22, 2024
-
-
Jens Glathe authored
use case: overwrite the default host address already set. In this case the bt host is already up but needs the new address. Signed-off-by:
Jens Glathe <jglathe@oldschoolsolutions.biz>
-
Jens Glathe authored
parameter for variable static prefix Signed-off-by:
Jens Glathe <jglathe@oldschoolsolutions.biz>
-
- Jan 13, 2024
-
-
sleirsgoevy authored
In this mode bootmac prints the derived MAC value for either Bluetooth or Wi-Fi, but does not actually configure the hardware.
-
- Jan 10, 2024
-
-
sleirsgoevy authored
Hardcoding all possible argument values is not feasible for more than 2 options, since there will be N! (N factorial) possible options.
-
- Dec 27, 2023
-
-
This allows for more granular service enablement and ordering, along with enabling the ability to configure MAC post-boot.
-
- Sep 22, 2023
-
-
Joel Selvaraj authored
Thanks to @NekoCWD for the workaround. Fixes: https://gitlab.com/postmarketOS/bootmac/-/issues/3
-
- Aug 16, 2022
-
-
Dylan Van Assche authored
Something must have gone wrong with the previous commit
-
Dylan Van Assche authored
Be compatible with any POSIX shell
-
Dylan Van Assche authored
Run shellcheck on every merge request.
-
Dylan Van Assche authored
Manufacturer OUI lookup is removed
-
Dylan Van Assche authored
Read rfkill state of Bluetooth and WLAN interfaces before setting the MAC address. After setting the MAC address, restore the saved rfkill state. Fixes https://gitlab.com/postmarketOS/bootmac/-/issues/2
-
Dylan Van Assche authored
qmac was renamed to bootmac
-
Dylan Van Assche authored
Use 02:00 to specify that we generate a local administered address as MAC address. This approach is used by all MSM8916 devices. Fixes https://gitlab.com/postmarketOS/bootmac/-/issues/1
-
- Aug 15, 2022
-
-
Dylan Van Assche authored
qmac was renamed too bootmac
-
Dylan Van Assche authored
Bootmac configures the MAC addresses of WLAN and Bluetooth interfaces at boot. Bootmac can be invoked in various ways at boot, but currently only udev rules are tested. Bootmac generates MAC addresses from the `serialno` provided by Android bootloaders through /proc/cmdline or from /etc/machine-id. The Organizationally Unique Identifier (OUI) is retrieved from a lookup database macdb by matching deviceinfo_manufacturer from /etc/deviceinfo with the entries in the database.
-
Dylan Van Assche authored
-
Dylan Van Assche authored
-