11-21-2006
C and hardware !
Hello !
I have a friend , in one day he tell me this : some guy made a cool program in C , for some sort or hardware control . I say : wow !
Maybe someone , can give me an example , how can C control hardware so good ( as I hear ) , and maybe some cool information , where to learn the idea , and who knows , write new funny aplications in C .
I'm not an expert , so I cannot tell to much . But if anyone has some tutorials / information I can read about interaction withing C coding and harware stuff , it will be welcomed !
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I have a problem to start up my Solaris Ultra 5. When it boots up I get a strange clicking sound, sounds like the hard drive that is "thinking" very hard. On the screen I get these messages:
Boot device: Files and Args:
Please check cable and try again
Network link setup fail
Time out... (8 Replies)
Discussion started by: Orange
8 Replies
2. UNIX Desktop Questions & Answers
How do I check my system to see if the graphics are using hardware 3d suport or not. I have a TNT2 on RH 7.1 kernel 2.4.9-?(can't remember off top of my head)I'm running all the latest updates from RH. Also I now have a dvd drive and I am trying to find a player that will play all movies and not... (1 Reply)
Discussion started by: MaxCat
1 Replies
3. UNIX for Dummies Questions & Answers
Is it possible to use Perl to work with hardware? Or is it strictly for text processing. (1 Reply)
Discussion started by: Luftwaffe
1 Replies
4. Filesystems, Disks and Memory
Does anyone know a good script/tool for remote identification of hardware on a linux-based system (RH9/NLD) ?
I'd like to know all the specifics like amount of memory, motherboard vendor, chipset and so on.... (0 Replies)
Discussion started by: patrickb
0 Replies
5. HP-UX
My J-Class system seems to have killed its onboard NIC. Does anyone have any good suggestions for a *cost effective* :p NIC for this machine? I am currently running 11i v1 on it, and have available PCI-X 5v slots.
Alternatively, perhaps someone knows of where I might find a list of supported... (1 Reply)
Discussion started by: ipaddict
1 Replies
6. UNIX Benchmarks
CPU: 1 x PA8600, 440MHz
RAM: 1GB
Hardware model: 9000/800/N4000-44
BYTE UNIX Benchmarks (Version 3.11)
System -- HP-UX xxx B.11.11 U 9000/800 615379343 unlimited-user license
Start Benchmark Run: Tue Apr 4 05:43:42 IST 2006
1 interactive users.
Dhrystone 2 without register... (0 Replies)
Discussion started by: blowtorch
0 Replies
7. Programming
How would I write a program in C that prints out the hardware the current computer has? And what about information about it?
Thank you for your time. (4 Replies)
Discussion started by: cubics
4 Replies
8. Solaris
Hi,
I'm looking to run Sun Solaris 8 or 9, but have been running windows :mad: .can anyone give me advice about the hardware needed for solaris and possably any software i may need, the type of model and where i may be able to buy these within the uk. :confused:
... (3 Replies)
Discussion started by: franz
3 Replies
9. AIX
Can someone help me with what I am guessing is a simple job for an AIX admin. However I am 100% HP-UX and not touched AIX before the start of this week.
I am trying to connect an IBM Blade (JS22) to our HP Enterprise Tape Library. I have done all the SAN zoning and this appears to be happy... (5 Replies)
Discussion started by: Andyp2704
5 Replies
10. Solaris
Hi folk,
I have this hardware faunty message, but dont know which hardware is this ? can you guide me ?
--------------- ------------------------------------ -------------- ---------
TIME EVENT-ID MSG-ID SEVERITY
---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies
SNMPCONF(1) Net-SNMP SNMPCONF(1)
NAME
snmpconf - creates and modifies SNMP configuration files
SYNOPSIS
snmpconf [OPTIONS] [fileToCreate]
Start with:
snmpconf -g basic_setup
Or even just:
snmpconf
DESCRIPTION
snmpconf is a simple Perl script that walks you through setting up a configuration file step by step. It should be fairly straight forward
to use. Merely run it and answer its questions.
In its default mode of operation, it prompts the user with menus showing sections of the various configuration files it knows about. When
the user selects a section, a sub-menu is shown listing of the descriptions of the tokens that can be created in that section. When a
description is selected, the user is prompted with questions that construct the configuration line in question.
Finally, when the user quits the program any configuration files that have been edited by the user are saved to the local directory, fully
commented.
A particularly useful option is the -g switch, which walks a user through a specific set of configuration questions. Run:
snmpconf -g basic_setup
for an example.
OPTIONS
-f Force overwriting existing files in the current directory without prompting the user if this is a desired thing to do.
-i When finished, install the files into the location where the global system commands expect to find them.
-p When finished, install the files into the users home directory's .snmp subdirectory (where the applications will also search for
configuration files).
-I DIRECTORY
When finished, install the files into the directory DIRECTORY.
-a Don't ask any questions. Simply read in the various known configuration files and write them back out again. This has the effect
of "auto-commenting" the configuration files for you. See the NEAT TRICKS section below.
-rall|none
Read in either all or none of the found configuration files. Normally snmpconf prompts you for which files you wish to read in.
Reading in these configuration files will merge these files with the results of the questions that it asks of you.
-R FILE,...
Read in a specific list of configuration files.
-g GROUPNAME
Groups of configuration entries can be created that can be used to walk a user through a series of questions to create an initial
configuration file. There are no menus to navigate, just a list of questions. Run:
snmpconf -g basic_setup
for a good example.
-G List all the known groups.
-c CONFIGDIR
snmpconf uses a directory of configuration information to learn about the files and questions that it should be asking. This
option tells snmpconf to use a different location for configuring itself.
-q Run slightly more quietly. Since this is an interactive program, I don't recommend this option since it only removes information
from the output that is designed to help you.
-d Turn on lots of debugging output.
-D Add even more debugging output in the form of Perl variable dumps.
NEAT TRICKS
snmpconf -g basic_setup
Have I mentioned this command enough yet? It's designed to walk someone through an initial setup for the snmpd(8) daemon. Really,
you should try it.
snmpconf -R /usr/local/snmp/snmpd.conf -a -f snmpd.conf
Automatically reads in an snmpd.conf file (for example) and adds comments to them describing what each token does. Try it. It's
cool.
NOTES
snmpconf is actually a very generic utility that could be easily configured to help construct just about any kind of configuration file.
Its default configuration set of files are SNMP based.
SEE ALSO
snmpd(8), snmp_config(5), snmp.conf(5), snmpd.conf(5)
V5.6 25 Feb 2003 SNMPCONF(1)