operating_systems:linux:debian:acdsn-a-fx
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
operating_systems:linux:debian:acdsn-a-fx [2012/11/26 16:45] – sbolay | operating_systems:linux:debian:acdsn-a-fx [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ACDSN-AC-FX ====== | ||
- | The following line shows how to address and | ||
- | communicate with a NiX1 slave over a RS485 line. | ||
- | <code bash> | ||
- | 1Qw3 | ||
- | ^^^^ | ||
- | |||| | ||
- | |||- option | ||
- | ||-- argument | ||
- | |--- command | ||
- | ---- address | ||
- | </ | ||
- | |||
- | ===== Commands ===== | ||
- | ^ Label ^ Command ^ | ||
- | |[[# | ||
- | |[[# | ||
- | |[[#query]] | Q | | ||
- | |||
- | ===== Arguments ===== | ||
- | ==== Delete ==== | ||
- | ^ Label ^ Arguments ^ Options ^ Comments ^ | ||
- | | format | ||
- | | delete key | k ||| | ||
- | | delete right | r ||| | ||
- | | restart | ||
- | | delete unit | u ||| | ||
- | | delete user | x ||| | ||
- | |||
- | ==== New ==== | ||
- | ^ Label ^ Arguments ^ Options | ||
- | | new address | ||
- | | new bad access timeout | ||
- | | new valid access timeout | c | < | ||
- | | new key | k | < | ||
- | | new lock | l | < | ||
- | | new mode | m | < | ||
- | | new rights | ||
- | | new status & log rotation| s | - || | ||
- | | new timestamp | ||
- | | new unit | u | <> | ||
- | | new overdrive speed | v | < | ||
- | | new wire | w | - || | ||
- | | new user | x | < | ||
- | | new baudrate | ||
- | |||
- | ==== Query ==== | ||
- | ^ Label ^ Arguments ^ Options ^ Comments | ||
- | | query general status | ||
- | | query bad access timeout | ||
- | | query valid access timeout | c ||| | ||
- | | query entry | e ||| | ||
- | | query family | ||
- | | query secret key | k ||| | ||
- | | query lock | l ||| | ||
- | | query mode | m | ||
- | | query rights | ||
- | | query status | ||
- | | query timestamp | ||
- | | query unit | u ||| | ||
- | | query overdrive speed | v ||| | ||
- | | query wire | w ||| | ||
- | | query user | x ||| | ||
- | |||
- | ===== Options ===== | ||
- | ^ Options | ||
- | |< | ||
- | |< | ||
- | |< | ||
- | |< | ||
- | |< | ||
- | |< | ||
- | |< | ||
- | |< | ||
- | |< | ||
- | |< | ||
- | |||
- | ===== Configuration Files ===== | ||
- | |||
- | The configuration files are flat text file where each fields are separated by a tabulation. | ||
- | |||
- | ==== keys.txt ==== | ||
- | |||
- | Contains the list of the key used to hash the credentials on the iButton key. You can generate a new key every day and add it to this file, the most recent key comming first. | ||
- | |||
- | ^ Field Name ^ Description | ||
- | | timestamp | ||
- | | key | The value of the secret key | [Z}4V; | ||
- | |||
- | <file txt demo_keys.txt> | ||
- | 1350028169 | ||
- | 1349094539 | ||
- | 1349085044 | ||
- | 1349085044 | ||
- | 1349085044 | ||
- | </ | ||
- | |||
- | ==== units.txt ==== | ||
- | |||
- | Provides a link beetween the unit id and a human readable label. | ||
- | |||
- | ^ Field Name ^ Description | ||
- | | id | The unique identifier of the unit, as used in slaves.conf | 2 | | ||
- | | label | A human description of the unit | Main Office | | ||
- | |||
- | <file txt demo_units.txt> | ||
- | 1 | ||
- | 2 Main Office | ||
- | 3 | ||
- | </ | ||
- | |||
- | ==== users.txt ==== | ||
- | |||
- | Contains the list of all users, the timestamp of the last key read from the user and a value which can be incremented | ||
- | when an iButton key is lost or if the data on the iButton key has been copied by some nasty people. | ||
- | |||
- | ^ Field Name ^ Description | ||
- | | id | The unique identifier the the user, as used in cron.txt | ||
- | | timestamp | ||
- | | increment | ||
- | |||
- | <file txt demo_users.txt> | ||
- | Arthur Dent | ||
- | Ford Prefect | ||
- | Zaphod Beeblebrox | ||
- | </ | ||
- | |||
- | ==== cron.txt ==== | ||
- | |||
- | Contains the rights to access on some unit for a user during a specified time interval (specified as a cron). | ||
- | |||
- | ^ Field Name ^ Description | ||
- | | unit_id | ||
- | | user_id | ||
- | | cron | The cron value of the accessible periods for this rule | 0 8-17 * * * | | ||
- | |||
- | <file txt demo_cron.txt> | ||
- | 1 | ||
- | 2 | ||
- | 1 Ford Prefect | ||
- | </ | ||
- | |
operating_systems/linux/debian/acdsn-a-fx.1353948329.txt.gz · Last modified: 2012/11/26 16:45 by sbolay