in reply to Accessing a DSL modem with LWP

Why not have more control by putting the modem in bridge mode and running pppoe session on your system? That would give you even more scripting, and depending on what OS / pppoe software maybe API, control.
Just a thought