Connect to a particular network connection from terminal

Posted by RanRag on Super User See other posts from Super User or by RanRag
Published on 2012-06-24T07:44:21Z Indexed on 2012/06/24 9:18 UTC
Read the original article Hit count: 198

Filed under:
|
|

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.

© Super User or respective owner

Related posts about linux

Related posts about networking