LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-22-2009, 01:23 AM   #1
Princy Rohit
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Hardare Lock Through Parallel Port For Client-Server Access


Hello!
This is my first post.
Well,am fairly new to linux and its applications

Presently,I've been assigned a project on Linux(Fedora 6)

The steps of the project are as follows:

Step 1:
Prepare a hardware lock using microcontroller 8051.
The PC's Parallel Port has to read the password,
compare it with the program password and if same should
run the C code else reject and refuse to open the
program----SUCCESSFULLY COMPLETED!!!

Step 2:
While the C code is running, simultaneously a C code should
run on the background every few seconds to check if the hardware
lock is still connected and the password has not been changed.
If either of the two happens,then the running program should
be abruptly stopped.----NOT YET ABLE TO FIND OUT THE SOLUTION!!!

Step 3:
Now one more condition is that,the hardware lock is to be
connected to the server only. The other systems in the LAN
should request access to the server,assuming the harware
is connected and password is correct,the C code thats is to
be executed should be tansferred to the client and the execution
should be carried out,but once the hardware has been either removed
or password has been changed,excution on the client should be abruptly
disabled.There is another catch to this,i.e.,only 15 clients at
a time can access the server at a time,any other requests
should be rejected by the server!----NO CLUE AS TO HOW TO EVEN START
THIS STEP!!!NO IDEA ABOUT TRANSFERRING AN EXECUTABLE FILE TO THE CLIENT
SIDE AND EXECUTING IT!!!CLIENT SERVER!!!

KINDLY REQUEST YOUR HELP!ANY MATERIAL TO READ, OR PSEUDO CODES
WOULD BE GREAT HELP..........
AS OF NOW AM TOTALLY CLUELESS AS TO HOW TO PROCEED.........
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I access parallel port through C in Linux ? tirtha Programming 1 07-24-2006 03:24 PM
C functions to access parallel port. nethunter Linux - Networking 4 03-22-2006 01:56 AM
Parallel Port Access BorgKiller Programming 1 12-22-2005 04:46 PM
Parallel port pin access Robert0380 Linux - Hardware 5 07-29-2003 04:11 PM
urgent help please (parallel port access) yahya Programming 1 08-12-2002 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration