This worked: I added a file /etc/udev/rules.d/98-set-mac.rules:
Code:
KERNEL=="wlan*", ACTION=="add", RUN+="/usr/local/Kobo/udev/fix_net"
and then fix_net is:
Code:
#/bin/sh
MAC='mac address here'
ip link set dev wlan0 down
ip link set dev wlan0 address $MAC
ip link set dev wlan0 up
So the final workflow is to authenticate with an Apple device using its built-in hardware MAC address; then switch the Apple device to randomize MAC (to avoid duplication); then when the Kobo boots up it can access the network using the previously-authenticated MAC address.