![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Nov 2007
Posts: 1
Rep Power: 0
![]() |
telnet a router with perl?
Hi guys
Im new to to writing scripts, but very keen to learn. My query is this: i work at an ISP, and our new thomson 546 modems have a bug on them, basically we have to enable the routing of the internet else nothing will work... now this is solvable by 6 lines of command by telnet: telnet 10.0.0.138 [Username:] Administrator [Password:] {No pass, we just press enter} nat ifconfig [intf:] internet [translation:] enabled .. config saveall exit that is all the commands we need to do ( where in "[ ] " the text is displayed automatically) . now for us technicians, its not a problem to write a few lines, but our clients usually mess about with telnet.... we are already bringing in new modems, however I was trying to develop a fix for this bug. i got a VBscript working in secureCRT, however you need to have that program to make it work.... my question is, any ideas on how I can write a small program to perform these commands? thanks Andrew |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Telnet Client | PhilBon | Visual Basic .NET | 4 | Aug 31st, 2007 11:07 AM |
| How does a 'router setup page' work? | Duck | Other Web Development Languages | 2 | Mar 1st, 2007 10:07 AM |
| Why do most shared hosting services offer php not perl? | Jonnno | Perl | 5 | May 19th, 2005 3:56 PM |
| Learning and Programming Perl | G.I.Josh | Perl | 2 | Mar 23rd, 2005 1:48 PM |