[HOWTO] Auto Re-Connect to dsl pppoe in Linux

I am using Ubuntu 10.04 Lucid Lynx Alpha. I have a dsl connection (WiZoom, Wireless via ubnt but wired to my PC) from Worldlink Pvt. Ltd., Nepal. I need to connect via pppoe. I occasionally keep my PC to download overnight while I sleep or even when I am away. It works well with torrents (with deluge as my torrent client, I haven’t used transmission torrent client much) but sometimes it disconnects from the internet. So, I had to configure it to auto re-connect on disconnect. It should also connect on logon. Since network manager does not meet my requirements, I had to delete the DSL connection from my network manager (which I had configured to connect at logon). Then I would need to configure pppoe connection via pppoeconf. To do so, I bring up my terminal and type in:

More