Connect to a particular network connection from terminal
- by RanRag
I am currently using Reliance netconnect USB modem. The problem I am facing is my USB modem disconnects itself at 22:00 PM IST everyday.
Now, sometimes what I do is start some downloading and leave my laptop for 2-3 hours in this case if my network disconnects it is a problem for me.
So, what I used to do in windows is make a python script and execute rasdial myconnection_name to automate the connection process in my absence. Now I want to achieve something similar in linux.
So, what are my alternatives for rasdial like tool in linux to automatically connect to a particular connection .
I am using ubuntu 12.04 and here is my nm-tool output.