If the machine goes to sleep, then you will lose network connection as that is disabled during Sleep Mode. Head into System Preferences-->Energy Saver and disable Sleep mode and see if that does it for you. Also, you might want to update to the latest 10.4.5 version, along with the security patches that were released after it.
