03-10-2011
Interface
Hi All,
How to check whether a Interface has a single port or dual port.Thanks in advance.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi !
Does anyone know how can i get information about my network interface ... if it works in half or full duplex mode !!
Thx in adivance !
Witt (4 Replies)
Discussion started by: witt
4 Replies
2. Solaris
Dear ALL,
my server give me messages like below:
Apr 20 21:33:09 TAISERVER in.routed: interface bge3 to 192.168.11.22 turned off
I check with ifconfig,but nothing error that,how can make it solve...thanks for your help. (7 Replies)
Discussion started by: fredginting
7 Replies
3. Solaris
Hi Community,
I've a problem with an interface of my Sun Workstation: when I try to plumb hme0 interface I see this output:
# ifconfig hme0 <ip_address> netmask <mask> plumb
#ifconfig: plumb: hme0: no such interface
I've the same thing with dhcp service.
could you provide any solution... (1 Reply)
Discussion started by: Sunb3
1 Replies
4. IP Networking
Hi,
ifconfig -a return:
eth0 Link encap:Ethernet HWaddr 00:09:3D:12:9D:5A
inet addr:172.19.208.7 Bcast:172.19.208.63 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:211478649 errors:0 dropped:0 overruns:0 frame:0
... (5 Replies)
Discussion started by: djbuly
5 Replies
5. UNIX for Advanced & Expert Users
hi all,
i have problem with my box,
until now i can't investigate the root cause of my issue at my box.
here the problem.
i have a box as a squid server just forward all request packet from one interface and receive the packet then forward to client at the same interface. but after 5 hours i... (1 Reply)
Discussion started by: tindasz
1 Replies
6. Solaris
Dear all,
I am a newbie in solaris and I need your advice.
I have a Solaris version 5.9 installed on Sunfire V240.
I am able to ssh the machine from putty remotely.
My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies
7. SCO
Hi all
I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface?
If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies
8. IP Networking
This is my situation
DOS pc serial cable (sl0) Linux Pc eth1
192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router)
I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface.
... (3 Replies)
Discussion started by: mghis
3 Replies
9. UNIX for Dummies Questions & Answers
I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
Discussion started by: westmoreland
1 Replies
LEARN ABOUT DEBIAN
port_alert
port_alert(3C) Standard C Library Functions port_alert(3C)
NAME
port_alert - set a port in alert mode
SYNOPSIS
#include <port.h>
int port_alert(int port, int flags, int events, void *user);
DESCRIPTION
The port_alert() function transitions a port into or out of alert mode. A port in alert mode immediately awakens all threads blocked in
port_get(3C) or port_getn(3C). These threads return with an alert notification that consists of a single port_event_t structure with the
source PORT_SOURCE_ALERT. Subsequent threads trying to retrieve events from a port that is in alert mode will return immediately with the
alert notification.
A port is transitioned into alert mode by calling the port_alert() function with a non-zero events parameter. The specified events and
user parameters will be made available in the portev_events and the portev_user members of the alert notification, respectively. The flags
argument determines the mode of operation of the alert mode:
o If flags is set to PORT_ALERT_SET, port_alert() sets the port in alert mode independent of the current state of the port. The
portev_events and portev_user members are set or updated accordingly.
o If flags is set to PORT_ALERT_UPDATE and the port is not in alert mode, port_alert() transitions the port into alert mode. The
portev_events and portev_user members are set accordingly.
o If flags is set to PORT_ALERT_UPDATE and the port is already in alert mode, port_alert() returns with an error value of EBUSY.
PORT_ALERT_SET and PORT_ALERT_UPDATE are mutually exclusive.
A port is transitioned out of alert mode by calling the port_alert() function with a zero events parameter.
Events can be queued to a port that is in alert mode, but they will not be retrievable until the port is transitioned out of alert mode.
RETURN VALUES
Upon succesful completion, 0 is returned. Otherwise, -1 is returned and errno is set to indicate the error.
ERRORS
The port_alert() function will fail if:
EBADF The port identifier is not valid.
EBADFD The port argument is not an event port file descriptor.
EBUSY The port is already in alert mode.
EINVAL Mutually exclusive flags are set.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |all |
+-----------------------------+-----------------------------+
|Availability |SUNWcsr, SUNWhea |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
port_associate(3C), port_create(3C), port_get(3C), port_send(3C), attributes(5)
SunOS 5.10 1 Oct 2003 port_alert(3C)