@admon, can you check this? I found it on Reddit :slight_smile:

#!/bin/sh

# Update package list and install macchanger
opkg update
opkg install macchanger

# Create the MAC randomization script
cat << 'EOF' > /etc/init.d/randomize_mac
#!/bin/sh /etc/rc.common

START=99

start() {
    for iface in $(ip link show | grep -E '^[0-9]+:' | cut -d ':' -f 2 | cut -d ' ' -f 2); do
        if [ "$iface" != "lo" ]; then
            macchanger -r $iface
        fi
    done
}
EOF

# Make the MAC randomization script executable
chmod +x /etc/init.d/randomize_mac

# Enable the MAC randomization script
/etc/init.d/randomize_mac enable

# Delete this script
rm -- "$0"