10 More Discussions You Might Find Interesting
1. Solaris
Hi Group,
I Have just installed quad card in my V440 machine,
I am facing problem I cn just ping its ce0 card only rest of the cards are not ping able,
here is details of my machine.
ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index
1
... (2 Replies)
Discussion started by: sameergrover
2 Replies
2. UNIX Desktop Questions & Answers
Does Red Hat Fedora support Nvidia card 8800GTX and 260 card?
Does any Linux OS support Nvidia card? (1 Reply)
Discussion started by: sito
1 Replies
3. HP-UX
how can I determine which NIC card is virtual NIC Card
which condition can make a decision
Does HP UX have Virtual Network Adapter Concept
if ,it has
where I can Find if I Install Virutal Network Adapter
or which command that i can get it
or which software can generate
thanks (2 Replies)
Discussion started by: alert0919
2 Replies
4. IP Networking
I'm not what this is called so I don't exactly know what to search for to do my homework.:D But I have two IBM T40's and only one wireless internet card. I don't have to money to buy another wireless card, so my question is this: Can I use the card on one system and use an ethenet cable linked... (2 Replies)
Discussion started by: Texasone
2 Replies
5. Linux
Ive been fooling around on my spare laptop and put different cores of Fedora on
and the computer uses an ibm a/b/g card
but the os wont recognize the card and doesnt have the software fore it
is there anyway to get the software for the card on the comp or should i buy a card that the os knows? (7 Replies)
Discussion started by: Texasone
7 Replies
6. IP Networking
What command do I use to show mw the ethernet card, I have tried ipconfig -a (1 Reply)
Discussion started by: dhlopomo
1 Replies
7. Solaris
I am trying to configure dual IP each on different interfaces (ce0, ce2) with one logical/virtual IP. I can ping all three IP but can not TELNET to any of them. Here is all the information:
*********************************************************
root@osssvr # more /etc/hosts
#
# Internet host... (2 Replies)
Discussion started by: dr.adnan.sarwar
2 Replies
8. UNIX for Advanced & Expert Users
I have been having trouble with my sis900 neytwork card in slacwkare linux. I tried to modprobe the sis900, it didnt give me any errors but it didnt load it. so I put in a realtek 8139 network card and tried it too. These are the errors i get with the two cards when trying to do insmod on either of... (3 Replies)
Discussion started by: The Fridgerator
3 Replies
9. UNIX for Dummies Questions & Answers
http://adsl.027game.com/uploadImages/200211122321064403.jpg
Help, please!!! :confused: :confused: :confused: (7 Replies)
Discussion started by: HOUSCOUS
7 Replies
10. UNIX for Dummies Questions & Answers
Hie,
Im using Linux Kernel 2.2.16-22 (Linux Ver7.0), My problem is My sound Card is not detected and configured properly, i tried many ways but still cant configured it out. Heres my detail problem. Whenever i tried to configure my sound card which i newly purchased ( Creative Vibra 128 Audio... (2 Replies)
Discussion started by: killerserv
2 Replies
SCF_Terminal_waitForCardPresent(3SMARTCARD) Smartcard Library Functions SCF_Terminal_waitForCardPresent(3SMARTCARD)
NAME
SCF_Terminal_waitForCardPresent, SCF_Terminal_waitForCardAbsent, SCF_Card_waitForCardRemoved - wait for a card to be inserted or removed
SYNOPSIS
cc [ flag... ] file... -lsmartcard [ library...]
#include <smartcard/scf.h>
SCF_Status_t SCF_Terminal_waitForCardPresent(SCF_Terminal_t terminal, unsigned int timeout);
SCF_Status_t SCF_Terminal_waitForCardAbsent(SCF_Terminal_t terminal, unsigned int timeout);
SCF_Status_t SCF_Card_waitForCardRemoved(SCF_Card_t card, unsigned int timeout);
PARAMETERS
card A card that was returned from SCF_Terminal_getCard(3SMARTCARD).
terminal A terminal that was returned from SCF_Session_getTerminal(3SMARTCARD).
timeout The maximum number or seconds to wait for the desired state to be reached. If the timeout is 0, the function will immedi-
ately return SCF_STATUS_TIMEOUT if the terminal or card is not in the desired state. A timeout of SCF_TIMEOUT_MAX can be
specified to indicate that the function should never timeout.
DESCRIPTION
These functions determine if a card is currently available in the specified terminal.
The SCF_Card_waitForCardRemoved() function differs from SCF_Terminal_waitForCardAbsent() in that it checks to see if a specific card has
been removed. If another card (or even the same card) has since been reinserted, SCF_Card_waitForCardRemoved() will report that the old
card was removed, while the SCF_Terminal_waitForCardAbsent() will instead report that there is a card present.
If the desired state is already true, the function will immediately return SCF_STATUS_SUCCESS. Otherwise it will wait for a change to the
desired state, or for the timeout to expire, whichever occurs first.
Unlike an event listener (SCF_Terminal_addEventListener(3SMARTCARD)), these functions return the state of the terminal, not just events. To
use an electronics analogy, event listeners are edge-triggered, while these functions are level-triggered.
RETURN VALUES
If the desired state is reached before the timeout expires, SCF_STATUS_SUCCESS is returned. If the timeout expires, SCF_STATUS_TIMEOUT is
returned. Otherwise, an error value is returned.
ERRORS
These functions will fail if:
SCF_STATUS_BADHANDLE The specified terminal or card has been closed or is invalid.
SCF_STATUS_COMMERROR The server closed the connection.
SCF_STATUS_FAILED An internal error occured.
EXAMPLES
Example 1: Determine if a card is currently inserted.
int isCardCurrentlyPresent(SCF_Terminal_t myTerminal) {
SCF_Status_t status;
/*
* The timeout of zero makes sure this call will always
* return immediately.
*/
status = SCF_Terminal_waitForCardPresent(myTerminal, 0);
if (status == SCF_STATUS_SUCCESS) return (TRUE);
else if (status == SCF_STATUS_TIMEOUT) return (FALSE);
/*
* For other errors, this example just assumes no card
* is present. We don't really know.
*/
return (FALSE);
}
Example 2: Remind the user every 5 seconds to remove their card.
SCF_Status_t status;
SCF_Terminal_t myTerminal;
/* (...call SCF_Session_getTerminal to open myTerminal...) */
status = SCF_Terminal_waitForCardAbsent(myTerminal, 0);
while (status == SCF_STATUS_TIMEOUT) {
printf("Please remove the card from the terminal!
");
status = SCF_Terminal_waitForCardAbsent(myTerminal, 5);
}
if (status == SCF_STATUS_SUCCESS)
printf("Thank you.
");
else
exit(1);
/* ... */
Example 3: Demonstrate the difference between the card-specific and terminal-specific calls.
SCF_Status_t status;
SCF_Terminal_t myTerminal;
SCF_Card_t myCard;
/* (...call SCF_Session_getTerminal to open myTerminal...) */
status = SCF_Terminal_getCard(myTerminal, &myCard);
if (status != SCF_STATUS_SUCCESS) exit(1);
/*
* While we sleep, assume user removes the card
* and inserts another card.
*/
sleep(10);
status = SCF_Terminal_waitForCardAbsent(myTerminal, 0);
/*
* In this case, status is expected to be SCF_STATUS_TIMEOUT, as there
* is a card present.
*/
status = SCF_Card_waitForCardRemoved(myCard, 0);
/*
* In this case, status is expected to be SCF_STATUS_SUCCESS, as the
* card returned from SCF_Terminal_getCard was indeed removed (even
* though another card is currently in the terminal).
*/
/* ... */
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
libsmartcard(3LIB), SCF_Session_getTerminal(3SMARTCARD), SCF_Terminal_addEventListener(3SMARTCARD), SCF_Terminal_getCard(3SMARTCARD),
attributes(5)
SunOS 5.10 15 May 2002 SCF_Terminal_waitForCardPresent(3SMARTCARD)