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 whitestar_999 try this i made the following correction C:\tst\TST10.exe\r:reboot.txt (where tst is the folder in C:\) and ...


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 06-03-2008   #11
Junior Member
 
Join Date: Feb 2008
Location: mysore
Posts: 21
Rep Power: 0 akshaymys is on a distinguished road
Default

Quote:
Originally Posted by whitestar_999 View Post
try this

i made the following correction


C:\tst\TST10.exe\r:reboot.txt (where tst is the folder in C:\)

and the notepad didnt open at all
akshaymys is offline   Reply With Quote
Old 06-03-2008   #12
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

Quote:
C:\tst\TST10.exe\r:reboot.txt
no double quotes & no space


"C:\tst10.exe" /r:reboot.txt

note space between tst10.exe & /r:rebbot.txt
On the Task tab you will see "Run", where the location of tst10.exe woold be present already. At the end of this line, outside the quotes, add /r:reboot.txt so it looks like
"C:\tst10.exe" /r:reboot.txt
__________________
"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 06-03-2008   #13
Junior Member
 
Join Date: Feb 2008
Location: mysore
Posts: 21
Rep Power: 0 akshaymys is on a distinguished road
Default

i tried the following

C:\tst\TST10.exe /r:reboot.txt

it worked!!!!

BUT now
a menu opens "telnet scripting tool v1.1 by........"
waiting for login

[ BCM96338 ADSL Router
Login: admin
admin
Password: \admin ]

what to do now?
akshaymys is offline   Reply With Quote
Old 06-03-2008   #14
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
i tried the following

C:\tst\TST10.exe /r:reboot.txt

it worked!!!!

BUT now
a menu opens "telnet scripting tool v1.1 by........"
waiting for login

[ BCM96338 ADSL Router
Login: admin
admin
Password: \admin ]

what to do now?

buddy can u attach the screen shot??
aruncse30 is offline   Reply With Quote
Old 06-03-2008   #15
Junior Member
 
Join Date: Feb 2008
Location: mysore
Posts: 21
Rep Power: 0 akshaymys is on a distinguished road
Default

Quote:
Originally Posted by aruncse30 View Post
buddy can u attach the screen shot??


here s the screen shot-----
Attached Files
File Type: zip untitled.zip (114.3 KB, 32 views)
akshaymys is offline   Reply With Quote
Old 07-03-2008   #16
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
here s the screen shot-----
problem with the script only... use as it is.. wat i gave to u
aruncse30 is offline   Reply With Quote
Old 07-03-2008   #17
Guardian Angel
 
just4kix's Avatar
 
Join Date: Dec 2007
Location: Pune
Posts: 4,064
Rep Power: 5 just4kix will become famous soon enough
Default

The script for TST10.EXE is case sensitive and it depends upon the modem. For example my script (for UT-300R2U) is as follows:

Code:
192.168.1.1 23
WAIT "login:"
SEND "admin\m"
WAIT "password:"
SEND "<my_pwd>\m"
WAIT "$"
SEND "reboot\m"
WAIT "$"
Note that I have login: instead of Login:, etc. After the login I get a $ prompt, some routers get a > prompt - so that needs to be coded.

You must make sure of what the router login wants and code accordingly. To explain the router reboot script:

Line 1: 192.168.1.1 23: This tells TST10 that it should connect to IP address 192.168.1.1 on port number 23 (telnet port)
Line 2: WAIT "login:": This tells that router will display "login:" as the prompt and it is waiting for input.
Line 3: SEND "admin\m": This tells TST10 that it should send 'admin' as the input followed by ENTER (\m)
Line 4: WAIT "password:": This tells that router will display "password:" as the prompt and it is waiting for input.
Line 5: SEND "<my_pwd>\m": This tells TST10 that it should send '<my_pwd' as the input followed by ENTER (\m)
Line 6: WAIT "$": This tells that router will display "$" as the prompt and it is waiting for input.
Line 7: SEND "reboot\m": This tells TST10 that it should send 'reboot' as the input followed by ENTER (\m)
Line 8: WAIT "$": This tells that router will display "$" as the prompt and it is waiting for input.
__________________
*** 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 07-03-2008   #18
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
The script for TST10.EXE is case sensitive and it depends upon the modem. For example my script (for UT-300R2U) is as follows:

Code:
192.168.1.1 23
WAIT "login:"
SEND "admin\m"
WAIT "password:"
SEND "<my_pwd>\m"
WAIT "$"
SEND "reboot\m"
WAIT "$"
Note that I have login: instead of Login:, etc. After the login I get a $ prompt, some routers get a > prompt - so that needs to be coded.

You must make sure of what the router login wants and code accordingly. To explain the router reboot script:

Line 1: 192.168.1.1 23: This tells TST10 that it should connect to IP address 192.168.1.1 on port number 23 (telnet port)
Line 2: WAIT "login:": This tells that router will display "login:" as the prompt and it is waiting for input.
Line 3: SEND "admin\m": This tells TST10 that it should send 'admin' as the input followed by ENTER (\m)
Line 4: WAIT "password:": This tells that router will display "password:" as the prompt and it is waiting for input.
Line 5: SEND "<my_pwd>\m": This tells TST10 that it should send '<my_pwd' as the input followed by ENTER (\m)
Line 6: WAIT "$": This tells that router will display "$" as the prompt and it is waiting for input.
Line 7: SEND "reboot\m": This tells TST10 that it should send 'reboot' as the input followed by ENTER (\m)
Line 8: WAIT "$": This tells that router will display "$" as the prompt and it is waiting for input.
im also having UT300R2U.. but still mine is accepting Login and not login
aruncse30 is offline   Reply With Quote
Old 07-03-2008   #19
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

siemens modems will accept only Login not login.
whitestar_999 is offline   Reply With Quote
Old 08-03-2008   #20
Junior Member
 
Join Date: Feb 2008
Location: mysore
Posts: 21
Rep Power: 0 akshaymys is on a distinguished road
Default

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..
Attached Files
File Type: zip untitled.zip (94.6 KB, 9 views)
akshaymys 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:05 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