in reply to modem question

And did you try to send the commands to the modem interactively with a terminal like minicom? I would try that first.