Hmmmm... you shouldn't need to do that, so you have two options:
1) Find what is going wrong and try to fix it. It is most likely a problem with one of the kernel modules related to your network... you dont mention whether you are using a wired or wireless network? It could be that you need to create an "/etc/pm/config.d/unload_modules" to suspend the dodgy network module.
2) Just make a workaround that will bring the network back up after a suspend/resume cycle. Some script like this, saved as /etc/pm/sleep.d/48network and chmod to 755 should work...
Code:
#!/bin/bash
. /usr/lib/pm-utils/functions
suspend_network()
{
if [ -f /var/lock/subsys/network ]; then
savestate bug_network enabled
service network stop
else
savestate bug_network disabled
fi
}
resume_network()
{
case "$(restorestate bug_network)" in
enabled)
service network start
;;
disabled)
;;
esac
}
case "$1" in
hibernate|suspend)
suspend_network
;;
thaw|resume)
resume_network
;;
*)
;;
esac
exit $?
HTH
C