How to run command on resume from "suspend"

For all of the different version of ubuntu/linux I have used on my
computer whenever it wakes from suspend it is unable to connect to the
network until I use ifconfig to change the mac address of eth0. Is
this something that I can fix in ubuntu or is it a problem with my
router (Linksys E2000)? The command I run is "sudo ifconfig eth0 hw
ether <thechangedmacaddress>"

Thanks, Sam

ubuntu-users mailing list
Modify settings or unsubscribe at: