10-24-2019, 11:47 AM
For example with Bash:
$ for WLAN_MAC in 112233445566 112233abcdef 112233abcde0; do ETH_MAC=`printf '%x' $(( 0x$WLAN_MAC - 1 ))`; echo $ETH_MAC | cut -c 3-; done
2233445565
2233abcdee
2233abcddf
What routers work like that? That's seriously terrible
$ for WLAN_MAC in 112233445566 112233abcdef 112233abcde0; do ETH_MAC=`printf '%x' $(( 0x$WLAN_MAC - 1 ))`; echo $ETH_MAC | cut -c 3-; done
2233445565
2233abcdee
2233abcddf
What routers work like that? That's seriously terrible