|
You are looking at a very old, but free version of the course.
If you are interesed the most recent version, check it out
on the Perl Maven site. Chapter 10. Command Line InterfaceWe have a device that has a Command Line Interface (CLI).
Normally you would telnet to it and type in commands.
Let's see what can we do with Net::Telnet.
In order to do that first we need to see how the device behaves
when we access it manually.
Use the local telnet command to access the device and try
some basic commands. (eg. type "help")
We supply an example system that shows a partially faulty system.
In order to run the daemon by yourself you need to install
Net::Server and Class::Accessor,
$ cd examples/server
and then type
$ perl cli_daemon.pl
When accessing it using a telnet client you can use the built in
username: admin and password: nimda.
If you are interested in on-site trainings by the author, please
contact me directly.
|