01-12-2008
1. Check the dns and netmask settings on the server.
2. If that doesn't work, try forcing the network interface to the spedd and duplex settings of the network using ndd.
Usually 1 above is the culprit for this.
9 More Discussions You Might Find Interesting
1. Solaris
When I ssh to my box, an Ultra 5. I get prompted for password immediately. I enter it and have to wait sometimes a full minute for it to prompt for a password.
The same thing happens when i try to ftp to the box, it will say connected, but it takes forever to prompt for password, and... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
2. UNIX for Dummies Questions & Answers
Running open solaris on a e420 that I recently picked up. Having issues sshing to it from either of my Linux boxes as its very slow to login (from the solaris box to the linux box it connects just fine.
Here is the output of ssh -vvv. I have hightlighted where it seems the slowdown is. Does... (0 Replies)
Discussion started by: creedog
0 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Quick question, I'm messing about with a test box at work (system v)
Basically I telnet to the server.
Get the following :
SunOS 5.9
login: (my name)
Password: (my password)
Last login: Thu Feb..... yada yada
(At this stage it takes over a minute to come to display the... (5 Replies)
Discussion started by: kenny123m
5 Replies
4. Solaris
Hi Guys and Girls, I know this is a common question but I've searched and we've tried the suggestions without luck. When I log into the box via SSH from a windows machine I get a 1 min 20 sec delay. If we add my IP address and machine name to /etc/hosts then I get an instant login. I would be happy... (12 Replies)
Discussion started by: MikeKulls
12 Replies
5. Shell Programming and Scripting
I have some sample code that's supposed to ssh to another machine using Net::SSH::Perl, execute a command, and print
the output of that command. It's very basic, and it works. However, I noticed that upon logging in:
$ssh->login('username','password');
It takes roughly 10-13 seconds to... (2 Replies)
Discussion started by: mrwatkin
2 Replies
6. Solaris
Hi, I have the following issue, when I tried to login to an Openindiana remote server through ssh It takes to long to ask me for the password. So i tried -v and I realize that sshd hangs here " debug1: SSH2_MSG_SERVICE_ACCEPT received " for at least 2 minutes. Then I can log in and everything is... (2 Replies)
Discussion started by: piukeman
2 Replies
7. UNIX for Advanced & Expert Users
Version: Oracle Enterprise Linux 6.3
Running on VMWare Workstation
When I login to my Linux VM from putty, the third line prompting for password comes only after few seconds.
login as: root
Access denied
root@192.168.0.235's password: ---> It takes around 5 seconds to get this prompt
I... (1 Reply)
Discussion started by: John K
1 Replies
8. AIX
Hello I have a LPAR AIX 6.1 on Power VM, Vio 2.2.3 and when I execute a rcp to this machine, I cant, simultaneosly, rlogin, telnet, rsh to this same LPARt. This commands stay hanged till the copy end, and Imeddiatlely the comand is executed (rlogin, telnet, rhs, etc).
Someone can give me... (1 Reply)
Discussion started by: artur_dietrich
1 Replies
9. Red Hat
Hi all,
I´m replacing an old linux enterprise redhat 4.5 by a new one linux enterprise redhat 6.
In both I use rexec as a communication between the front end and the user.
In the old one, when the user connects, the communication establishes quickly (less than 3 sec). But in the new one, the... (1 Reply)
Discussion started by: mig28mx
1 Replies
LEARN ABOUT DEBIAN
sg_get_network_iface_stats
sg_get_network_iface_stats(3) Library Functions Manual sg_get_network_iface_stats(3)
NAME
sg_get_network_iface_stats - get network interface statistics
SYNOPSIS
#include <statgrab.h>
sg_network_iface_stats *sg_get_network_iface_stats(int *entries);
DESCRIPTION
The sg_get_network_iface_stats function takes a pointer to an int, entries, which is filled with the number of network interfaces the
machine has. This is needed to know how many sg_network_iface_stats structures have been returned. A pointer is returned to the first
sg_network_iface_stats.
sg_get_network_iface_stats returns statistics about the network interfaces in the machine. Specifically, it returns the speed of the inter-
face, the duplex state, and whether it is currently up.
RETURN VALUES
The sg_get_network_iface_stats returns a pointer to a structure of type sg_network_iface_stats.
typedef enum{
SG_IFACE_DUPLEX_FULL,
SG_IFACE_DUPLEX_HALF,
SG_IFACE_DUPLEX_UNKNOWN
}sg_iface_duplex;
Note: The SG_IFACE_DUPLEX_UNKNOWN value could mean that duplex hasn't been negotiated yet.
typedef struct{
char *interface_name;
int speed;
sg_iface_duplex duplex;
int up;
}sg_network_iface_stats;
interface_name
The name known to the operating system. (eg. on linux it might be eth0)
speed The speed of the interface, in megabits/sec.
duplex The duplex state the interface is in. See sg_iface_duplex for permitted values.
up Whether the interface is up.
SEE ALSO
statgrab(3)
WEBSITE
http://www.i-scream.org/libstatgrab/
i-scream $Date: 2005/07/13 09:31:53 $ sg_get_network_iface_stats(3)