WLANCFG(8) System Manager's Manual WLANCFG(8)NAME
wlancfg - manupulate linux-wlan-ng MIB values
SYNOPSIS
wlancfg query dev
wlancfg show dev [all]
wlancfg set dev
wlancfg list
wlancfg version
DESCRIPTION
The wlancfg utility program provides an alternative method to wlanctl-ng (1) , for manipulating MIB values. It was designed to provide an
easier mechanism for saving and restoring the complete wireless configuration (i.e. when re-starting the device driver) and to provide a
more efficient mechanism for GUI's to query multiple MIB's.
OPTIONS
dev The name of the device (e.g., wlan0).
query Read MIB names (separated by whitespace) from stdin and output their values (separated by carriage returns) to stdout. The MIB's
may be either read/write or read-only.
show Query the values of all supported read/write MIB's and output their values (separated by carriage returns) to stdout. The syntax of
the output will be:
name=value
If the "all" parameter is specified, then all supported MIB's (i.e. read-only MIB's as well) are output.
set Read MIB name/value pairs (separated by carriage returns) from stdin and set the values of the specified MIB's. The pairs must have
the same syntax as above. The MIB's must be read/write.
list Display a list of all supported MIB's.
version
Display the compiled version of wlancfg.
SEE ALSO
/usr/share/doc/linux-wlan-ng/README and README.Debian.
AUTHOR
This minimal man page was written by Joey Hess.
WLANCFG(8)
Check Out this Related Man Page
SNMPREALWALK(3) 1 SNMPREALWALK(3)snmprealwalk - Return all objects including their respective object ID within the specified oneSYNOPSIS
array snmprealwalk (string $host, string $community, string $object_id, [int $timeout = 1000000], [int $retries = 5])
DESCRIPTION
The snmprealwalk(3) function is used to traverse over a number of SNMP objects starting from $object_id and return not only their values
but also their object ids.
PARAMETERS
o $host
-The hostname of the SNMP agent (server).
o $community
-The read community.
o $object_id
-The SNMP object id which precedes the wanted one.
o $timeout
-The number of microseconds until the first timeout.
o $retries
-The number of times to retry if timeouts occur.
RETURN VALUES
Returns an associative array of the SNMP object ids and their values on success or FALSE on error. In case of an error, an E_WARNING mes-
sage is shown.
EXAMPLES
Example #1
Using snmprealwalk(3)
<?php
print_r(snmprealwalk("localhost", "public", "IF-MIB::ifName"));
?>
The above will output something like:
Array
(
[IF-MIB::ifName.1] => STRING: lo
[IF-MIB::ifName.2] => STRING: eth0
[IF-MIB::ifName.3] => STRING: eth2
[IF-MIB::ifName.4] => STRING: sit0
[IF-MIB::ifName.5] => STRING: sixxs
)
SEE ALSO snmpwalk(3).
PHP Documentation Group SNMPREALWALK(3)
hi guys, I'have a question 4 u.
Why this code give me the right output (an integer on the stdout):
read(fd,&mpid,sizeof(pid_t));
printf("%d\n",mpid);
Instead this code give me only a blank line:
read(fd,&mpid,sizeof(pid_t));
write(STDOUT_FILENO,&mpid,sizeof(pid_t));
... (2 Replies)
Hi,
I need help to discovery the correct MIB to monitoring CPU, Memory and Hard Disc in Unix. I get any MIB in the internet, but donīt work. Anybody help-me?
Thanks.
Marcio Dunder Perin (2 Replies)
Is there any way to remove carriage retuns between the records?
We have input records separated by TABS and have carriage returns as below:
123 456 789 ABC "1952.00" 678 "abcdef
ghik
lmno"
Above we... (10 Replies)
hi there
I'm getting a string from a sqlplus query, and I need to compare it with another string
Problem here, is that the string i get from query brings a 'carriage return' with it, and comparing throws always false value.
i need to delete all carriage retun charactres in string.
how... (6 Replies)
Hi,
I have a file which contains comma separated values ex: abc, bdc
I need to read this file and provide each value(one by one) as a input to other function.
Can some one helpme...
-Vinodh' Kumar (1 Reply)
I have a file containing multiple values, some of them are pipe separated which are to be read as separate values and some of them are single value all are these need to store in variables.
I need to read this file which is an input to my script
Config.txt
file name, first path, second... (7 Replies)