Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Help with Ubuntu server 12.04 installation Post 302729345 by naghazky on Friday 9th of November 2012 12:54:20 PM
Old 11-09-2012
Help with Ubuntu server 12.04 installation

hello,
i have been try installing Ubuntu server 12.04 and receiving a message: no network interface card detected. can someone help me to locate where my interface card is
 

9 More Discussions You Might Find Interesting

1. Solaris

Solaris installation with Ubuntu and XP there..

Hi, i have for this moment Ubuntu 8.04 and XP SP2 and of course the grub loader for starting them. I donwloaded Solaris 10.5 and intend to install it but i want to know if it will rewrite the grub loader i use now (and if, it will detect all OS?) or just append the new Solaris - any case would be... (11 Replies)
Discussion started by: Cosmin B
11 Replies

2. Ubuntu

Sybase Installation on Ubuntu

Hi, Can any one please suggest me which version of Sybase 15.x I need to dowload for installing on my laptop(Dell Inspiron 1525) having Ubuntu8.1? Thanks & Regards, Siba Sankar Nayak (0 Replies)
Discussion started by: siba.s.nayak
0 Replies

3. UNIX for Dummies Questions & Answers

Would like to install x86 desktop Ubuntu over AMD64 Ubuntu server

My intention was to build a dual boot XP Pro 64 and Ubuntu media server. I had installed the AMD64 version of Ubuntu 8.10 server and thought that I would be able to install Apache server. I need a GUI to work in. I tried to boot and install Mythbuntu 32 bit 8.10, but my machine now won't recognize... (0 Replies)
Discussion started by: docflyboy
0 Replies

4. Ubuntu

Globus 5.0.0 installation error in ubuntu 9.1

I am installing globus toolkit 5 on ubuntu, i am getting error regarding openssl build. Unable to build Openssl. I am giving the whole installer.log file below. globus@naveen-laptop:~/gt4.0.6-all-source-installer$ make | tee istaller.log /usr/local/globus//sbin/gpt-build ... (0 Replies)
Discussion started by: naveencse
0 Replies

5. Solaris

Open Solaris Installation on XP and Ubuntu

I have installed windows XP and Ubuntu 8.10 in my PC. Now I need to install Solaris 10. I have planned to install it in a separate partition. I don't know whether the installation affect my existing OSs anyway (such as deleting the current GRUB loader). I would be very greateful if anyone reply. (0 Replies)
Discussion started by: Virtual-Friend
0 Replies

6. UNIX for Dummies Questions & Answers

Installation problem in Ubuntu

ins this a common problem , whenever i try installing a new package or software i usually get this failure msg: Setting up dsc-statistics-collector (201203250530-1) ... Adding system user Warning: The home dir /home/Debian-dsc-statistics you specified already exists. The system user... (3 Replies)
Discussion started by: toshanshu
3 Replies

7. Web Development

PHP installation on Ubuntu 12.04

Dear all I am new to php, I have already running tomcat web server on port 80, following are the details of tomcat /usr/local/www/html/TOMCAT_DEMO/tomcat whether it is possible to install and configure php without using sudo apt-get install php5 ??? please someone guide me to start php (1 Reply)
Discussion started by: Akshay Hegde
1 Replies

8. Ubuntu

Problems with Ubuntu installation

I recently bought a new HP Spectre x360 laptop and installed Linux (Ubuntu 16.04 LTS 64 bit) for the first time. I am seeing various bugs. I don't know if the problems are due to: (a) Hardware problems with the new laptop. (b) Software issues, i.e. Ubuntu not working with the other... (1 Reply)
Discussion started by: twelth_hour
1 Replies

9. UNIX for Beginners Questions & Answers

Bugs in my new Ubuntu installation

I recently bought a new HP Spectre x360 laptop and installed Linux (Ubuntu 16.04 LTS 64 bit) for the first time. I am seeing various bugs. I don't know if the problems are due to: (a) Hardware problems with the new laptop. (b) Software issues, i.e. Ubuntu not working with the other... (7 Replies)
Discussion started by: twelth_hour
7 Replies
SCF_Card_lock(3SMARTCARD)				    Smartcard Library Functions 				 SCF_Card_lock(3SMARTCARD)

NAME
SCF_Card_lock, SCF_Card_unlock - perform mutex locking on a card SYNOPSIS
cc [ flag... ] file... -lsmartcard [ library...] #include <smartcard/scf.h> SCF_Status_t SCF_Card_lock(SCF_Card_t card, unsigned int timeout); SCF_Status_t SCF_Card_unlock(SCF_Card_t card); PARAMETERS
card The card (from SCF_Terminal_getCard(3SMARTCARD)) to be locked. timeout The maximum number of seconds SCF_Card_lock() should wait for a card locked by another application to become unlocked. A value of 0 results in SCF_Card_lock() returning immediately if a lock cannot be immediately obtained. A value of SCF_TIME- OUT_MAX results in SCF_Card_lock() waiting forever to obtain a lock. DESCRIPTION
Locking a card allows an application to perform a multi-APDU transaction (that is, multiple calls to SCF_Card_exchangeAPDU(3SMARTCARD)) without interference from other smartcard applications. The lock is enforced by the server, so that other applications that attempt to call SCF_Card_exchangeAPDU() or SCF_Card_reset(3SMARTCARD) will be denied access to the card. Applications should restrict use of locks only to brief critical sections. Otherwise it becomes difficult for multiple applications to share the same card. When a lock is granted to a specific SCF_Card_t card object, only that object can be used to access the card and subsquently release the lock. If a misbehaving application holds a lock for an extended period, the lock can be broken by having the user remove and reinsert the smartcard. It is an error to attempt to lock a card when the caller already holds a lock on the card (that is, calling SCF_Card_lock() twice in a suc- cession). Unlocking a card that is not locked (or was already unlocked) can be performed without causing an error. An application might find that it is unable to lock the card, or communicate with it because SCF_Card_exchangeAPDU() keeps returning SCF_STATUS_CARDLOCKED. If this situation persists, it might indicate that another application has not released its lock on the card. The user is able to forcably break a lock by removing the card and reinserting it, after which the application must call SCF_Terminal_get- Card(3SMARTCARD) to access the "new" card. In this situation an application should retry for a reasonable period of time, and then alert the user that the operation could not be completed because the card is in use by another application and that removing or reinserting the card will resolve the problem. RETURN VALUES
If the card is successfully locked or unlocked, SCF_STATUS_SUCCESS is returned. Otherwise, the lock status of the card remains unchanged and an error value is returned. ERRORS
The SCF_Card_lock() and SCF_Card_lock() functions will fail if: SCF_STATUS_BADHANDLE The specified card has been closed or is invalid. SCF_STATUS_CARDLOCKED There is a lock present on the card, but it is not held by the specified card object. For example, the caller is attempting to unlock a card locked by another application. SCF_STATUS_CARDREMOVED The card object cannot be used because the card represented by the SCF_Card_t has been removed. SCF_STATUS_COMMERROR The connection to the server was lost. SCF_STATUS_DOUBLELOCK The caller has already locked this card and is attempting to lock it again. SCF_STATUS_FAILED An internal error occured. SCF_STATUS_TIMEOUT The timeout expired before the call was able to obtain the lock. EXAMPLES
Example 1: Use a card lock. SCF_Status_t status; SCF_Card_t myCard; /* (...call SCF_Terminal_getCard to open myCard...) */ status = SCF_Card_lock(myCard, 15); if (status == SCF_STATUS_TIMEOUT) { printf("Unable to get a card lock, someone else has a lock. "); exit(0); } else if (status != SCF_STATUS_SUCCESS) exit(1); /* Send the first APDU */ SCF_Card_exchangeAPDU(myCard, ...); /* Send the second APDU */ SCF_Card_exchangeAPDU(myCard, ...); status = SCF_Card_unlock(myCard); /* ... */ 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_Card_exchangeAPDU(3SMARTCARD), SCF_Card_reset(3SMARTCARD), SCF_Terminal_getCard(3SMARTCARD), attributes(5) SunOS 5.10 15 May 2002 SCF_Card_lock(3SMARTCARD)
All times are GMT -4. The time now is 06:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy