India Broadband

Forum

 

telnet please help auto login

This is a discussion on telnet please help auto login within the BSNL broadband forums, part of the DSL Broadband Service Providers category; Originally Posted by aruncse30 im also having UT300R2U.. but still mine is accepting Login and not login Arun, As I ...


Go Back   India Broadband Forum > Indian Broadband Forums > DSL Broadband Service Providers > BSNL broadband

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

 

LinkBack Thread Tools Display Modes
Old 08-03-2008   #21
Guardian Angel
 
just4kix's Avatar
 
Join Date: Dec 2007
Location: Pune
Posts: 4,064
Rep Power: 5 just4kix will become famous soon enough
Default

Quote:
Originally Posted by aruncse30 View Post
im also having UT300R2U.. but still mine is accepting Login and not login
Arun, As I said it depends upon the how the prompt appears. And that depends upon the firmware. What is important and must be noted is that reboot.txt script should have case sensitive prompts (the word in double quotes after the WAIT command).

Quote:
Originally Posted by akshaymys View Post
i tried the following

192.168.1.1 23
WAIT "login:"
SEND "admin\m"
WAIT "password:"
SEND "admin\m"
WAIT "$"
SEND "reboot\m"
WAIT "$"


and it this screen appears (see attachmet)

what to do next? the modem did not reboot..
Akshay, From your screenshot, I can see that the prompt is 'Login:' and not 'login:'. Hence change your script to:

Code:
192.168.1.1 23
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "admin\m"
WAIT "$"
SEND "reboot\m"
WAIT "$"
Note that lines which say WAIT "$" may require to be changed also. To know the exact, do the following:

a) Copy the exe TST10.EXE and script 'reboot.txt' to a folder such as C:\TST10
b) Using the Start --> Run --> cmd command, open a command window
c) Change directory to c:\TST10
d) Enter the command:
Code:
TST10 /r:reboot.txt
at the command prompt and press enter.
e) Watch what happens and especially note down the prompts. Click on 'Abort' button if the program stops responding. Note that 'reboot' command will take longer time to finish (about 30 seconds) and watch the modem lights during time for rebooting activity.
f) If you have to abort, make changes to the script and test again.
g) Keep testing till you are able to completely test it out.
__________________
*** My computer can beat me at chess but is no match when it comes to kick-boxing ***

My Albums | My Movie Collection | Moser Baer Movies
just4kix is offline   Reply With Quote
Old 08-03-2008   #22
Junior Member
 
Join Date: Feb 2008
Location: mysore
Posts: 21
Rep Power: 0 akshaymys is on a distinguished road
Default


now i am getting this screen

(see attachment)



f) If you have to abort, make changes to the script and test again

what chages should i make for the modem to reboot?



Sorry to ask this .............

but actually what does Telnet script does?
does it just reboots the modem

what is the use if we just reboot the modem?

who s going to start u torrent ? (should we schedule it?)

should we just keep our monitor off when we go to sleep at say 10pm and leave the pc on?

Attached Files
File Type: zip untitled.zip (68.4 KB, 14 views)
akshaymys is offline   Reply With Quote
Old 08-03-2008   #23
Platinum Member
 
Join Date: Jan 2008
Location: UP(west)
Posts: 1,747
Blog Entries: 1
Rep Power: 2 whitestar_999 is on a distinguished road
Default

this telnet script reboots the modem.if your modem is set in pppoe mode as soon as modem reboots it will make the connection in a few seconds.you have to use scheduler option in uTorrent.you can keep the monitor off afterall if you are asleep what is the use.
__________________
"They say that if you play a microsoft disc backwards you hear satanic messages, thats nothing: if you play it forwards it installs windows"
whitestar_999 is offline   Reply With Quote
Old 08-03-2008   #24
Silver Member
 
Join Date: Jan 2008
Location: Chennai - Tamil Nadu - India
Age: 25
Posts: 419
Rep Power: 1 aruncse30 is on a distinguished road
Default

Quote:
Originally Posted by akshaymys View Post

now i am getting this screen

(see attachment)



f) If you have to abort, make changes to the script and test again

what chages should i make for the modem to reboot?



Sorry to ask this .............

but actually what does Telnet script does?
does it just reboots the modem

what is the use if we just reboot the modem?

who s going to start u torrent ? (should we schedule it?)

should we just keep our monitor off when we go to sleep at say 10pm and leave the pc on?


yes... u should keep the pc ON.... u need to schedule 4 tasks like this
2:05 - restart modem (by script)
2:06 - call torrent (jus schedule)
7:55 - restart modem (by same script)
7:56 - turn off system (this is also possible by another script)

P:S attach files (below 90kb) as it is.. dont zip it... cheers..
aruncse30 is offline   Reply With Quote
Old 08-03-2008   #25
Silver Member
 
Join Date: Jan 2008
Location: Chennai - Tamil Nadu - India
Age: 25
Posts: 419
Rep Power: 1 aruncse30 is on a distinguished road
Default

Quote:
Originally Posted by just4kix View Post
Arun, As I said it depends upon the how the prompt appears. And that depends upon the firmware. What is important and must be noted is that reboot.txt script should have case sensitive prompts (the word in double quotes after the WAIT command).



Akshay, From your screenshot, I can see that the prompt is 'Login:' and not 'login:'. Hence change your script to:

Code:
192.168.1.1 23
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "admin\m"
WAIT "$"
SEND "reboot\m"
WAIT "$"
Note that lines which say WAIT "$" may require to be changed also. To know the exact, do the following:

a) Copy the exe TST10.EXE and script 'reboot.txt' to a folder such as C:\TST10
b) Using the Start --> Run --> cmd command, open a command window
c) Change directory to c:\TST10
d) Enter the command:
Code:
TST10 /r:reboot.txt
at the command prompt and press enter.
e) Watch what happens and especially note down the prompts. Click on 'Abort' button if the program stops responding. Note that 'reboot' command will take longer time to finish (about 30 seconds) and watch the modem lights during time for rebooting activity.
f) If you have to abort, make changes to the script and test again.
g) Keep testing till you are able to completely test it out.
try this script.. DONT change anything in this...
Attached Files
File Type: txt reboot.txt (191 Bytes, 19 views)
aruncse30 is offline   Reply With Quote
Old 09-03-2008   #26
Junior Member
 
Join Date: Feb 2008
Location: mysore
Posts: 21
Rep Power: 0 akshaymys is on a distinguished road
Default Thankyou

The following script is working

192.168.1.1 23
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "\madmin\m"
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "admin\m"
WAIT
SEND "reboot\m"
WAIT
SEND "exit\m"


Thankyou all for helping me


the modem reboots (see attachmet)
what to do next

ill set the script to work at 2:10 am
and schedule u torrent at 2:11 am

and shutdown the system at 7:50 using PC AUTO SHUTDOWN

what to do with the "script screen" ? shall it be as it is till the sysem shutsdown? [or should i press "Abort"]

also to schedule utorrent - options
- preferences
-scheduler ?
Attached Images
File Type: jpg thanks.jpg (50.3 KB, 6 views)
akshaymys is offline   Reply With Quote
Old 09-03-2008   #27
Silver Member
 
Join Date: Jan 2008
Location: Chennai - Tamil Nadu - India
Age: 25
Posts: 419
Rep Power: 1 aruncse30 is on a distinguished road
Default

Quote:
Originally Posted by akshaymys View Post
The following script is working

192.168.1.1 23
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "\madmin\m"
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "admin\m"
WAIT
SEND "reboot\m"
WAIT
SEND "exit\m"


Thankyou all for helping me


the modem reboots (see attachmet)
what to do next

ill set the script to work at 2:10 am
and schedule u torrent at 2:11 am

and shutdown the system at 7:50 using PC AUTO SHUTDOWN

what to do with the "script screen" ? shall it be as it is till the sysem shutsdown? [or should i press "Abort"]

also to schedule utorrent - options
- preferences
-scheduler ?
> be careful on the below points.
1. u should restart once again before u shut down the pc... i.e before 7:50
2. no need to press abort.. leave as it is.. its dead...
3. DONT schedule torrent by its scheduler... have a schedule task for it... thats the better way... disable the torrent schedulr...

p:s -- only thanks... no treat???
aruncse30 is offline   Reply With Quote
Old 09-03-2008   #28
Junior Member
 
Join Date: Feb 2008
Location: mysore
Posts: 21
Rep Power: 0 akshaymys is on a distinguished road
Default

how to reboot the modem once again (at 7:50 am) ? should we use same script?

akshaymys is offline   Reply With Quote
Old 09-03-2008   #29
Platinum Member
 
Join Date: Jan 2008
Location: UP(west)
Posts: 1,747
Blog Entries: 1
Rep Power: 2 whitestar_999 is on a distinguished road
Default

yes!same script will do.just add another task in scheduler with same settings at 7:50AM.
whitestar_999 is offline   Reply With Quote
Old 06-04-2008   #30
Junior Member
 
Join Date: Feb 2008
Age: 22
Posts: 1
Rep Power: 0 divineatma is on a distinguished road
Question

hey thx for the help all of u....my modem is successfully rebooting but in the end i get a wierd message like "WARNING : ppp Interface down"
any1 got any idea y it responds this way?
divineatma is offline   Reply With Quote
Reply

Bookmarks

Tags
auto, login, telnet


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Some important features of Indian Auto Market MyWay Cars in India 4 2 Weeks Ago 01:24 AM
Auto login problem akshaymys BSNL broadband 7 27-08-2008 05:10 AM
How to login through portalid to check usage? sonsandeep BSNL broadband 1 01-03-2008 01:35 PM
Auto Bid Systems, Inc. Announces Next Version of eNegotiation for Online Vehicle Pirate PR Releases Database 0 16-03-2007 03:48 AM
Bajaj Auto to stop manufacturing 100cc Platina in the next couple of years Pirate News and Views from the Business World 0 02-12-2006 02:40 AM


All times are GMT +5.5. The time now is 11:57 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
India Broadband Forum