vinuthomas.com
Toggle Content .:: Home :: Community Forums :: Image Gallery :: Blogs :: My Account ::. Toggle Content

Menu[x]
 Home Community Members options Forums Tools
 My Tech Blog
 Tutorials

Ads[x]

News Feed[x]
Get our RSS/XML News Feed Here
News & Articles:
RSS Feed
Latest @ the Forums:
RSS Feed

Discussion Forum >> BSNL Dataone >> BSNL DataOne: Software >> Schedule router disconnect and dial in Linux and Windows

Schedule router disconnect and dial in Linux and Windows
Software Configuration, Monitoring Software, Recomended Software
Go to page Previous  1, 2
Forum Index >> BSNL DataOne: Software
Post new topic   Reply to topic   Printer Friendly Page View previous topic { View newer topic }
Author Message
nfsnfs
Where's my Signal?
Where's my Signal?


Joined: December 15 2007
Posts: 7

PostPosted: Sat Dec 15, 2007 10:30 am    Post subject: Re: Schedule router disconnect and dial in Linux and Windows Reply with quote

Ha thanks for this .
Back to top View user's profile
mdbscorpio
Where's my Signal?
Where's my Signal?


Joined: December 28 2007
Posts: 14

PostPosted: Sat Dec 29, 2007 5:05 am    Post subject: Re: Schedule router disconnect and dial in Linux and Windows Reply with quote

absolutely amazing... works like butter on mine... thnk god for my sleep savings now...
Back to top View user's profile
mdbscorpio
Where's my Signal?
Where's my Signal?


Joined: December 28 2007
Posts: 14

PostPosted: Sat Dec 29, 2007 10:56 pm    Post subject: Re: Schedule router disconnect and dial in Linux and Windows Reply with quote

i'm not able to schedule routerOFF.bat and routerON.bat properly in any scheduler... the thing is tht the scheduler runs the task but i think without using telnet... what should i set in the parameters for those two tasks? plz help !!!

Edit @4:24 pm IST
hey... found tht problem... it has to run in the specific directory where TS10 is located and in my case it C:\routerswitch... now everything's working fine... i'm migrating from 250 to 500 starting from Jan 1 2008... god i'm so excited... got loads of stuffss to download !!! Very Happy
Back to top View user's profile
Aditya
Where's my Signal?
Where's my Signal?


Joined: February 15 2008
Posts: 1

PostPosted: Fri Feb 15, 2008 10:54 am    Post subject: Re: Schedule router disconnect and dial in Linux and Windows Reply with quote

routeroff.bat works on MT841 but router on.bat doesnt works.Can anyone tell me telnet command for restarting the router.tell me wat shud type in the text file in order to reboot the modem. PLZ help anyone
Back to top View user's profile
karthiktha
Where's my Signal?
Where's my Signal?


Joined: March 19 2008
Posts: 2

PostPosted: Wed Mar 19, 2008 9:07 pm    Post subject: Re: Schedule router disconnect and dial in Linux and Windows Reply with quote

hi.. i have configured my modem in bridge mode and using ppoe dialer in windows to connect.. will it work for me.. or this is only for those configuring in ppoe(always on) mode..
Back to top View user's profile
parthashome
Can I use the phone?
Can I use the phone?


Joined: December 28 2006
Posts: 291
Location: Kolkata

PostPosted: Thu Mar 20, 2008 1:01 am    Post subject: Re: Schedule router disconnect and dial in Linux and Windows Reply with quote

i use dataone quick usage finder to schedule my connections in windows.
it works great. it automatically connects at 2:01 and disconnects at 7:59
it has never failed. it does not require any modem re configuration as well.

_________________


Last edited by parthashome on Thu Mar 20, 2008 2:58 pm; edited 1 time in total
Back to top View user's profile Send e-mail
avinashpathak
Can I use the phone?
Can I use the phone?


Joined: December 24 2006
Posts: 220
Location: JUNGLE

PostPosted: Thu Mar 20, 2008 1:31 am    Post subject: Re: Schedule router disconnect and dial in Linux and Windows Reply with quote

parthashome wrote:
i use dataone quick usage finder to schedule my connections in windows.
i works great. it automatically connects at 2:01 and disconnects at 7:59

thanx, i wasnt aware of it. i was using shaplus to find out usage and dap to schedule the downloads.

this one is really great, thanx once again..


Sad but no 500 combo option...

_________________
MERA COMPU BABA - Core 2 Quad (Q6600) 1066 FSB @ 2.4 GHz + Intel DQ965GF + NVIDIA 7300 SE + 500 GB SATA II (250 Seagate + 250 Hitachi) + 8 GB (2+2+2+2) DDR II RAM @ 800 Mhz + Intex 19" TFT + Samsung DVD RW 22X SATA + Creative 5.1 + Intex 5 MP Webcam + SmartAX MT841 + Home 500 Combo + MS Win Vista Business + MS Windows 7 64bit (Built 7600).
Back to top View user's profile Send e-mail Visit poster's website ICQ Number Yahoo Messenger
lijodavis
Where's my Signal?
Where's my Signal?


Joined: May 05 2006
Posts: 4

PostPosted: Wed Apr 16, 2008 10:53 pm    Post subject: Re: Schedule router disconnect and dial in Linux and Windows Reply with quote

Thanks or this.You really saved my sleep.
Back to top View user's profile
arvind_das
Where's my Signal?
Where's my Signal?


Joined: June 28 2008
Posts: 1

PostPosted: Sat Jun 28, 2008 11:39 am    Post subject: Re: Schedule router disconnect and dial in Linux and Windows Reply with quote

how can i check how much downloading i have done through bsnl broadband Rolling Eyes
Back to top View user's profile
deepakOne
Where's my Signal?
Where's my Signal?


Joined: July 29 2008
Posts: 5

PostPosted: Wed Jul 30, 2008 12:19 am    Post subject: Re: Schedule router disconnect and dial in Linux and Windows Reply with quote

Doesn't work for Vista Rolling Eyes . Its asking for username and password and if its provided it goes into sleep.. nothing happens. Crying or Very sad
Back to top View user's profile
zabak
Where's my Signal?
Where's my Signal?


Joined: January 18 2006
Posts: 19

PostPosted: Sun Jan 18, 2009 12:57 am    Post subject: Re: Schedule router disconnect and dial in Linux and Windows Reply with quote

WHY NO ONE IS DEVELOPING FOR VISTA...I NEED THIS FOR VISTA...MODS PLEASE HELP ME FOR THIS SCIPT....
Back to top View user's profile
deepakOne
Where's my Signal?
Where's my Signal?


Joined: July 29 2008
Posts: 5

PostPosted: Sun Jan 18, 2009 10:13 am    Post subject: Re: Schedule router disconnect and dial in Linux and Windows Reply with quote

Here is example windows script that could do connect and disconnect of router. THIS IS NOT VISTA SPECIFIC SOLUTION BUT WORKS FOR VISTA.

To Enable Router:
Const EVENT_FAILURE = 1
Const EVENT_SUCCESS = 0
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_NetworkAdapter")

For Each objItem in colItems
' Wscript.Echo "Name: " & objItem.Name
' Wscript.Echo "Description: " & objItem.Description
' Wscript.Echo "Status: " & objItem.NetEnabled
if objItem.NetEnabled=false then
objItem.Enable
Set objShell = Wscript.CreateObject("Wscript.Shell")
objShell.LogEvent EVENT_SUCCESS,"Network Card Enabled Successfully"
elseif objItem.NetEnabled=true then
Set objShell = Wscript.CreateObject("Wscript.Shell")
objShell.LogEvent EVENT_FAILURE,"Network Card Is Already Enabled"
End If


Next





To Disable Router:

Const EVENT_FAILURE = 1
Const EVENT_SUCCESS = 0
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_NetworkAdapter")

For Each objItem in colItems
' Wscript.Echo "Name: " & objItem.Name
' Wscript.Echo "Description: " & objItem.Description
' Wscript.Echo "Status: " & objItem.NetEnabled
if objItem.NetEnabled=true then
objItem.Disable
Set objShell = Wscript.CreateObject("Wscript.Shell")
objShell.LogEvent EVENT_SUCCESS,"Network Card Disabled Successfully"
elseif objItem.NetEnabled=false then
Set objShell = Wscript.CreateObject("Wscript.Shell")
objShell.LogEvent EVENT_FAILURE,"Network Card Is Already Disabled"
End If


Next


Save both the scripts as .vbs files and double click on saved file. Check if it works for you and let me know.

This solution will work, but still my recommendation would be using Bridge mode [dialer] that's safest way.

I hope this will help.
Back to top View user's profile
AlienTech
Good Enough
Good Enough


Joined: July 29 2006
Posts: 1076

PostPosted: Mon Jan 19, 2009 1:42 am    Post subject: Re: Schedule router disconnect and dial in Linux and Windows Reply with quote

Does BSNL give a manual with the modems? I know my MT882 had one but the installer took it away with him even though it came in the new box. With my MT841 it did not come with any manual at all. Seems the 841 has a built in scheduler..

802.1x 802.1x port based authentication
WLAN Configure Wireless Module
agent Get a file from a remote host
ald Configuration commands for ald
atmloopback commands to configure remote ATM loopback
autoprov
bridge Configure layer 2 bridge
classifier Packet classifier configuration commands
console Console access
ddns
dhcpclient DHCP client configuration commands
dhcpserver DHCP server configuration commands
diagnosticTest
dnsclient DNS client configuration commands
dnsrelay DNS relay configuration
ethernet Commands to configure ethernet transports
firewall Firewall configuration commands
help Top level CLI help
igmp
imdebug Directly access the information model
ip Configure IP router
logger Log to a remote host using syslog
meter Packet metering configuration command
nat NAT configuration commands
port Physical port configuration commands
pppoa PPP over ATM configuration
pppoe
radclient RADIUS Client Configuration commands
rfc1483 Commands to configure RFC1483 transports
scheduler Configuration commands for scheduler
security Security configuration commands not specific to NAT or firewall
sntpclient
source Read a file of commands
system System administration commands
tftpc TFTP client commands
transports Transport configuration commands
user User commands
webserver Webserver configuration commands
wpa Configure WPA (Wireless Protected Access)
zipb Configure Dynamic ZIPB mode

_________________
Back to top View user's profile
zabak
Where's my Signal?
Where's my Signal?


Joined: January 18 2006
Posts: 19

PostPosted: Mon Feb 02, 2009 11:54 pm    Post subject: Re: Schedule router disconnect and dial in Linux and Windows Reply with quote

deepakOne wrote:
Here is example windows script that could do connect and disconnect of router. THIS IS NOT VISTA SPECIFIC SOLUTION BUT WORKS FOR VISTA.

<-- snip -->


THIS WORKS PERFECt....


BUT.... i need to restart router...this is dissabling network and reenabling it. IP Adress is not refreshing....i need to restart router
Back to top View user's profile
aloke_ranjan
Where's my Signal?
Where's my Signal?


Joined: January 27 2010
Posts: 1

PostPosted: Wed Jan 27, 2010 11:49 pm    Post subject: Re: Schedule router disconnect and dial in Linux and Windows Reply with quote

Method given by noobiont for enable and disable modem router(Huawei MT841) and for Ubuntu 9.10 (karmic), Gnome:2.28.1 and Kernel: 2.6.31-17-generic is not working message is appearing that "Command line failed to execute". Any suggestion or modification in this regard , I will be very thankful to him..
Back to top View user's profile
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum Index -> BSNL DataOne: Software All times are GMT + 5.5 Hours
Go to page Previous  1, 2
Page 2 of 2


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Site Search[x]

Login[x]
Welcome Guest

Nickname

At The Forum[x]
Last 10 Forum Messages

Poor Video quality on Skype
Last post by sreddy1 in BSNL Dataone on Sep 02, 2010 at 18:46:51

modem configuration (zyXEL P-660R-TX
Last post by sreddy1 in BSNL DataOne: Hardware on Sep 02, 2010 at 18:19:20

Broadband unlimited @ 500/- per month announced by BSNL
Last post by skfg60 in BSNL Dataone on Sep 02, 2010 at 07:54:19

Have you seen these kinda speeds in net cafe
Last post by roadster in BSNL Dataone on Sep 02, 2010 at 01:28:36


1350 plan a 2mbps unlimited one?
Last post by siddh in BSNL Dataone on Sep 01, 2010 at 08:57:15

Airtel SMS question
Last post by pitamm in Cellular Network providers on Sep 01, 2010 at 06:52:00

How 2 solve Frequent Disconnections from Voltage fluctuation
Last post by skfg60 in BSNL Dataone on Aug 31, 2010 at 20:11:51

पूरी रामायण बीवियों की कहानी है . . . . . . .
Last post by pitamm in The Lounge on Aug 30, 2010 at 12:24:31

Bad posts - Report here
Last post by Nick-H in Report Bad Posts on Aug 30, 2010 at 11:23:12

is this normal ?
Last post by roadster in BSNL DataOne: Hardware on Aug 29, 2010 at 02:39:05




All logos and trademarks and articles on this site are property of their respective owner. The comments are property of their posters, all the rest (c) 2000-2008 Vinu Thomas

 
Interactive software released under GNU GPL, Code Credits, Privacy Policy