How to configure a ADSL connection using the bash?

view full story

http://unix.stackexchange.com – I know it's possible to configure the modem to automatically connect the internet using a browser, but I want to do it using the bash. The network manager need to do it automatically every time I initialize the system. How can I do that? Information: I have a modem ADSL2+Router - I don't know if it make some difference - and I'm using the Debian 6 Squeeze. Please help. (HowTos)