When your modem is in bridged mode, you generally use the pppoeconf to create a dialer in linux to get you connected to the internet.If you havent done that yet, CLICK HERE.If you have, then you may want to schedule it to connect and disconnect at a certain specific time.Like BSNL/MTNL users for example who have 2-8AM free internet usage, would want to connect and disconnect between 2 and 8 am.So here's how you configure that

Step 1 : Once you have setup the dialer using pppoeconf,you should be aware that you use the command pon dsl-provider to connect and poff to disconnect.
Step 2 : To schedule this go to the Terminal(Applications->Accessories->Terminal) and type crontab -e
Step 3 : Then add the following line to connect.In this example i am connecting at 2:15am.You could change the first 2 values as you wish
15 2 * * * pon dsl-provider
Step 4 : Now add the following line to disconnect.In this example i am disconnecting at 7:45am.You could change the first 2 values as you wish
45 7 * * * poff
Step 5 : Once done, Press Ctrl+X and then Press Y and close Terminal.
Step 6 : You should now have your connection the way you wanted it!!

0 comments

Post a Comment