Help with Tomato firmware scripts (ISP: TATA)

Rave

Explorer
Hi
I have a buffalo g54s router flashed with tomato firmware and wanted some help with the scripts for the same

I have two internet connections from TATA, one is 384Kbps ultd and the other is 2mbps night thing

about a week back the cable for my 384kbps connection got stolen and will take quite a while for it to be redone and since my 2mbps cabling is all underground, its still safe and is usable with both my accounts but only one can be used at a time

I want to script the router in such a way that the it connects via my 384kbps account at 9AM and then disconnects at 9PM to connect via the 2mbps connection and then again disconnect in the morning to give way for the 384kbps connection

so basically some kind of script that will change the log in account for pppoe as per scheduled

kindly help me out here

TIA.
 
Closing the connection at 9 am, 9 pm - can use the command "/tmp/ppp/ip-down" in the scheduler.

Not sure how you will provide the user name and password to start the connection. Passwords will need be encrypted possibly.

Another option if you can live without the functionality of tomato for a while is to run the router in bridge mode and use your PC to connect and disconnect.
 
can someone tell me how i can schedule a reboot and load a particular config file on start up?

i guess i can use that and reboot and load the new config file every time i wanna change the connection
 
bumping up a year old thread, infct exactly a year old :P

still cudnt figure out a solution mostly coz i havent looked

from what i can figure out i have two options

either have a batch file running which will access the router via telnet and change the username and pw to what is required or have two sets of router configuration files saved and swap them with batch files

only issue is, implementation, can anyone help me out with either of these?

got a Atom proccy to serve the above purpose but would be a lot better and convenient if the router cud take care of itself, if not then id have to configure the atom to do that for me..

btw running 1.27 version of tomato as of now
 
Back
Top