Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-05-2012, 01:30 AM   PM User | #1
snadge
New to the CF scene

 
Join Date: Oct 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
snadge is an unknown quantity at this point
would like help with simple telnet script/batch file

Hi

I would like to know if someone could assist or point me in the right direction for creating a BAT file or something that can telnet into my router, make a change and then logout?

I am not a programmer but I know the principles and fundamentals behind it and have handled some basic BAT files before (I made one to disable Avast and one to start it back up again..simple I know lol).

the router is 192.168.1.1
login for telnet is username: admin password: admin
then enter sh to get into busybox
the command I want to execute is
xdslcmd configure --snr N (where N is a value 1-300 representing percentage of target SNRM, ie. 1-300%)

I would maybe like to request input from the user if possible for them to enter the value, but also know how to create a BAT file with a fixed value (such as 50). For those who may not know, this command adjusts the noise margin in broadcom based ADSL routers allowing for higher broadband speeds (or the opposite to stabalize noisey lines)

can anyone help me with this at all? or am I asking too much..?

I would be extremely gratefull

thanks
snadge is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 01:33 PM.


Advertisement
Log in to turn off these ads.