Sponsored Content
Operating Systems Linux Slackware activating network connection in linux Post 65242 by locustfurnace on Thursday 3rd of March 2005 08:12:56 PM
Old 03-03-2005
Telnet is an insecure means of logging into your box. It is disabled for security reasons. If SSH works for you, then you should just use it. If there are any reasons why you need to use Telnet and SSH does not work for you, then consider the security risks involved in using Telnet over the limitations; if any, of SSH in your decision.

If you must enable Telnet, enable it in your /etc/inetd.conf file.
Read through the manual; man telnet
 

9 More Discussions You Might Find Interesting

1. IP Networking

new office - no network connection!

We have just moved offices and in the same week recieved a SUN box from another company site. I'm attemting to connect this SUN box to the network, but i can't see it on the network. I have modified the /etc/host file with the IP i want to attribute to the box, rebooted, but still nothing.... (1 Reply)
Discussion started by: colesy
1 Replies

2. UNIX for Dummies Questions & Answers

System looses network connection

Hi, I was wondering if anyone could help me out with this problem. I have SCO 5.0.5 installed on a system that I am using 3c905b (3 Com) network card. This system is always powered on. After no certain time period this NIC doesn't work. I can't ping to this system from any other machine or vice... (5 Replies)
Discussion started by: Tinal
5 Replies

3. IP Networking

Kermit- dialup and network connection

hi all, Using kermit, i made serial dialup connetion between two PCs through telephone line and transfered files trough this line. The code appears as like this, set modem type generic #Setting the modem type. set modem data-compression on #Data compression on to speed up transfer.... (0 Replies)
Discussion started by: pcsaji
0 Replies

4. UNIX for Dummies Questions & Answers

Network connection problem in unix

I have a network connection problem in unix. I am trying to access to LAN in unix but unfortunately it doesn't work. For example, if I ping from Unix to windows it says 'the network is unreacable'. Also, I can't ping in windows to unix. I would be glad if someone could help me. Thanks. ... (5 Replies)
Discussion started by: fatihshen
5 Replies

5. Ubuntu

network connection on ubuntu

Hi, I am using ubuntu 8.x. I am not not able connect to internet through broadband. i'm also using windows xp, there i don't have any problems. Please tell me how access the internet on ubuntu 8.x through broadband. Thanks, Achhayya:) (4 Replies)
Discussion started by: achhayya
4 Replies

6. Solaris

Why network connection is down?

Hello colleague, Development department is deploying some applications on solaris machine but hence all connection goes down. Our all network connection files are correct but we can't connect with our gw. Only we can ping localhost and assigned ip address. I don't want to reboot for... (4 Replies)
Discussion started by: getrue
4 Replies

7. Linux

Network connection

Hi, I installed linux Fedora on a virtual machine, but the network connection is not working. All firewalls are off. Any ideas what is the problem? I am using WiFi. Thanks in advance! Regards, Atanas (2 Replies)
Discussion started by: apenkov
2 Replies

8. Solaris

network connection failing

hi, I'm setting up a home lab and I am having problems keeping my connection open on putty. every time i leave it for about 10 seconds and come back I keep having to re-connect. I'm more of a AIX person and trying to get more fimilar with Sun but some of the commands I am trying to run to diag... (2 Replies)
Discussion started by: vpundit
2 Replies

9. Solaris

Solaris Network Connection

Hi, Recently we faced awkward situation where we cannot connect to Oracle DB that hosted in Solaris server intermittently and it timeout eventually. The server seems fine. We can putty to server like normal but when try do prstat, it takes time and come out Please Wait.. for a while. When we go... (1 Reply)
Discussion started by: tharmendran
1 Replies
Net::CLI::Interact(3pm) 				User Contributed Perl Documentation				   Net::CLI::Interact(3pm)

NAME
Net::CLI::Interact - Toolkit for CLI Automation VERSION
version 1.121640 PURPOSE
This module exists to support developers of applications and libraries which must interact with a command line interface. SYNOPSIS
use Net::CLI::Interact; my $s = Net::CLI::Interact->new({ personality => 'cisco', transport => 'Telnet', connect_options => { host => '192.0.2.1' }, }); # respond to a usename/password prompt $s->macro('to_user_exec', { params => ['my_username', 'my_password'], }); my $interfaces = $s->cmd('show ip interfaces brief'); $s->macro('to_priv_exec', { params => ['my_password'], }); # matched prompt is updated automatically # paged output is slurped into one response $s->macro('show_run'); my $config = $s->last_response; DESCRIPTION
Automating command line interface (CLI) interactions is not a new idea, but can be tricky to implement. This module aims to provide a simple and manageable interface to CLI interactions, supporting: o SSH, Telnet and Serial-Line connections o Unix and Windows support o Reuseable device command phrasebooks If you're a new user, please read the Tutorial. There's also a Cookbook and a Phrasebook Listing. For a more complete worked example check out the Net::Appliance::Session distribution, for which this module was written. INTERFACE
new( \%options ) Prepares a new session for you, but will not connect to any device. On Windows platforms, you must download the "plink.exe" program, and pass its location to the "app" parameter. Other options are: "personality => $name" (required) The family of device command phrasebooks to load. There is a built-in library within this module, or you can provide a search path to other libraries. See Net::CLI::Interact::Manual::Phrasebook for further details. "transport => $backend" (required) The name of the transport backend used for the session, which may be one of Telnet, SSH, or Serial. "connect_options => \%options" If the transport backend can take any options (for example the target hostname), then pass those options in this value as a hash ref. See the respective manual pages for each transport backend for further details. "log_at => $log_level" To make using the "logger" somewhat easier, you can pass this argument the name of a log level (such as "debug", "info", etc) and all logging in the library will be enabled at that level. Use "debug" to learn about how the library is working internally. See Net::CLI::Interact::Logger for a list of the valid level names. cmd( $command ) Execute a single command statement on the connected device, and consume output until there is a match with the current prompt. The statement is executed verbatim on the device, with a newline appended. In scalar context the "last_response" is returned (see below). In list context the gathered response is returned as a list of lines. In both cases your local platform's newline character will end all lines. macro( $name, \%options? ) Execute the commands contained within the named Macro, which must be loaded from a Phrasebook. Options to control the output, including variables for substitution into the Macro, are passed in the %options hash reference. In scalar context the "last_response" is returned (see below). In list context the gathered response is returned as a list of lines. In both cases your local platform's newline character will end all lines. last_response Returns the gathered output after the most recent "cmd" or "macro". In scalar context all data is returned. In list context the gathered response is returned as a list of lines. In both cases your local platform's newline character will end all lines. transport Returns the Transport backend which was loaded based on the "transport" option to "new". See the Telnet, SSH, or Serial documentation for further details. phrasebook Returns the Phrasebook object which was loaded based on the "personality" option given to "new". See Net::CLI::Interact::Phrasebook for further details. set_phrasebook( \%options ) Allows you to (re-)configure the loaded phrasebook, perhaps changing the personality or library, or other properties. The %options Hash ref should be any parameters from the Phrasebook module, but at a minimum must include a "personality". set_default_contination( $macro_name ) Briefly, a Continuation handles the slurping of paged output from commands. See the Net::CLI::Interact::Phrasebook documentation for further details. Pass in the name of a defined Contination (Macro) to enable paging handling as a default for all sent commands. This is an alternative to describing the Continuation format in each Macro. To unset the default Continuation, call the "clear_default_continuation" method. logger This is the application's Logger object. A powerful logging subsystem is available to your application, built upon the Log::Dispatch distribution. You can enable logging of this module's processes at various levels, or add your own logging statements. set_global_log_at( $level ) To make using the "logger" somewhat easier, you can pass this method the name of a log level (such as "debug", "info", etc) and all logging in the library will be enabled at that level. Use "debug" to learn about how the library is working internally. See Net::CLI::Interact::Logger for a list of the valid level names. FUTHER READING
Prompt Matching Whenever a command statement is issued, output is slurped until a matching prompt is seen in that output. Control of the Prompts is shared between the definitions in Net::CLI::Interact::Phrasebook dictionaries, and methods of the Net::CLI::Interact::Role::Prompt core component. See that module's documentation for further details. Actions and ActionSets All commands and macros are composed from their phrasebook definitions into Actions and ActionSets (iterable sequences of Actions). See those modules' documentation for further details, in case you wish to introspect their structures. COMPOSITION
See the following for further interface details: o Net::CLI::Interact::Role::Engine AUTHOR
Oliver Gorwits <oliver@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Oliver Gorwits. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-12 Net::CLI::Interact(3pm)
All times are GMT -4. The time now is 04:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy