Sponsored Content
Full Discussion: telnet failure
Operating Systems AIX telnet failure Post 302128313 by porter on Tuesday 24th of July 2007 03:59:15 AM
Old 07-24-2007
Also confirm you are using the default ethernet packet type for IPv4 (not using SNAP).
 

10 More Discussions You Might Find Interesting

1. Programming

ld failure

Hi, I am using gmake to compile a c program with a makefile. The make file runs ld. I get the following error jsh1035c:/users/egate453/admegate/kapil/samples $ gmake -e -f GNUmakefile queue_c gmake -f ./GNUmakefile queue_c in_objdir=1 build_root=/users/egate453/admegate/kapil/samples... (2 Replies)
Discussion started by: handak9
2 Replies

2. Shell Programming and Scripting

Webpage to Telnet via Perl and Expect: Telnet problem?

Somewhat long story: I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage. This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies

3. UNIX for Advanced & Expert Users

su failure

Usually when su rejects an attempt to switch user it responds with "Sorry" but with a certain username on some unix servers the response is "Killed". I'm guessing the su accepted the username/password but refused to spawn child shell with the specified username. What's causing this and what has to... (8 Replies)
Discussion started by: twk
8 Replies

4. Solaris

Failure to telnet in new install Sun5.10

Hi, I telnet to the localost in new install Sun 5.10 I get below error I also telnet from other to this mahcine but get "access deny" after input root password. The password is correct as I can login in console "Not on system console connection to unknown cloase by foregin host" Why ,... (25 Replies)
Discussion started by: chuikingman
25 Replies

5. Shell Programming and Scripting

Automating telnet checking for success/failure

Hi I wanna automate the telnet process for port connection.. # telnet 0 port_number Trying 0.0.0.0... Connected to 0. Escape character is '^]'. If its connected how to make it disconnect automatically.. And how to check for success or failure.. (0 Replies)
Discussion started by: ningy
0 Replies

6. Shell Programming and Scripting

Success/failure status of telnet connection

Hi, I am running a shell script which will spawn the telnet and login. But sometimes, the telnet session itself is not getting spawned. My requirement is, if the telnet session is not spawned, the user must be notified that it failed. Is there any command to capture the status of telnet... (2 Replies)
Discussion started by: merin
2 Replies

7. UNIX for Dummies Questions & Answers

Automatically login in the telnet from present telnet

Hi, I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password. But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies

8. Red Hat

NT_STATUS_LOGON FAILURE

I am configuring Samba on one of my vmware.when i put smbclient -L local its showing error message : NT_STATUS_LOGON failure.I found that when i remove "Encrypted password entry from smb.conf" it works. pls help me ---------- Post updated at 08:39 PM ---------- Previous update was at 07:11 PM... (0 Replies)
Discussion started by: Vaibhav.T
0 Replies

9. UNIX for Dummies Questions & Answers

boot up failure unix sco after power failure

hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies

10. UNIX for Dummies Questions & Answers

Difference Between Krb5-telnet And Ekrb5-telnet

Hi, I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ? Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies
NetPacket::Ethernet(3pm)				User Contributed Perl Documentation				  NetPacket::Ethernet(3pm)

NAME
NetPacket::Ethernet - Assemble and disassemble ethernet packets. VERSION
version 1.3.0 SYNOPSIS
use NetPacket::Ethernet; $eth_obj = NetPacket::Ethernet->decode($raw_pkt); $eth_pkt = NetPacket::Ethernet->encode(params...); # Not implemented $eth_data = NetPacket::Ethernet::strip($raw_pkt); DESCRIPTION
"NetPacket::Ethernet" provides a set of routines for assembling and disassembling packets using the Ethernet protocol. Methods "NetPacket::Ethernet->decode([RAW PACKET])" Decode the raw packet data given and return an object containing instance data. This method will quite happily decode garbage input. It is the responsibility of the programmer to ensure valid packet data is passed to this method. "NetPacket::Ethernet->encode(param => value)" Return an ethernet packet encoded with the instance data specified. Not implemented. Functions "NetPacket::Ethernet::strip([RAW PACKET])" Return the encapsulated data (or payload) contained in the ethernet packet. This data is suitable to be used as input for other "NetPacket::*" modules. This function is equivalent to creating an object using the "decode()" constructor and returning the "data" field of that object. Instance data The instance data for the "NetPacket::Ethernet" object consists of the following fields. src_mac The source MAC address for the ethernet packet as a hex string. dest_mac The destination MAC address for the ethernet packet as a hex string. type The protocol type for the ethernet packet. data The payload for the ethernet packet. Exports default none exportable ETH_TYPE_IP ETH_TYPE_ARP ETH_TYPE_APPLETALK ETH_TYPE_SNMP ETH_TYPE_IPv6 ETH_TYPE_PPP tags The following tags group together related exportable items. ":types" ETH_TYPE_IP ETH_TYPE_ARP ETH_TYPE_APPLETALK ETH_TYPE_SNMP ETH_TYPE_IPv6 ETH_TYPE_PPP ":strip" Import the strip function "eth_strip" which is an alias for "NetPacket::Ethernet::strip" ":ALL" All the above exportable items. EXAMPLE
The following script dumps ethernet frames by mac address and protocol to standard output. #!/usr/bin/perl -w use strict; use Net::PcapUtils; use NetPacket::Ethernet; sub process_pkt { my($arg, $hdr, $pkt) = @_; my $eth_obj = NetPacket::Ethernet->decode($pkt); print("$eth_obj->{src_mac}:$eth_obj->{dest_mac} $eth_obj->{type} "); } Net::PcapUtils::loop(&process_pkt); TODO
Implement "encode()" function COPYRIGHT
Copyright (c) 2001 Tim Potter and Stephanie Wehner. Copyright (c) 1995,1996,1997,1998,1999 ANU and CSIRO on behalf of the participants in the CRC for Advanced Computational Systems ('ACSys'). This module is free software. You can redistribute it and/or modify it under the terms of the Artistic License 2.0. This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. AUTHOR
Tim Potter <tpot@samba.org> perl v5.14.2 2011-11-20 NetPacket::Ethernet(3pm)
All times are GMT -4. The time now is 04:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy