changeIfaceMac iface mac = do
    interfaceDown iface
    readProcessWithExitCode_closeFds "ifconfig" [iface, "hw", "ether", mac] []
    interfaceUp iface
changeIfaceMac iface mac = do
    interfaceDown iface
    readProcessWithExitCode_closeFds "ifconfig" [iface, "hw", "ether", mac] []
    interfaceUp iface
changeIfaceMac iface mac = do
    interfaceDown iface
    readProcessWithExitCode_closeFds "ifconfig" [iface, "hw", "ether", mac] []
    interfaceUp iface