I am using Openelec on the Raspberry. After a while it sends all network adapters to sleep and I have to ping it several times till it responds. To avoid this behaviour I created a cronjob which pings the router every 2 minutes. Works quite well. Maybe this applies to Raspbmc too?