when the connection drops can you acess the configuration page of the modem? (
http://192.168.100.1)
if you need the username and password, they are root and root.
try it when the connection is working because it doesn't always work. Depends on the modem.