[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:


[SOLVED] DSL PPPoE not able to Connect in Ubuntu 9.10 Karmic Koala

I used to connect to PPPoE connections in Kubuntu with knet. Recently, I moved to Ubuntu to find out that Network Manager was unable to connect to DSL. However, it can be achieved using pppoeconf or knet, I wanted to use Network Manager. I figured out that it was a problem with the final release itself when I visited the forums (I had installed Ubuntu Karmic Koala Alpha 4 and then upgraded as new packages came in).

The newer version of Network Manager did not have this problem but it is still not available on the main repos at the time of writing this post. There is a ppa however, which helped me. It contained updated version of the package which is https://launchpad.net/~network-manager/+archive/trunk.