summaryrefslogtreecommitdiff
path: root/accel-cmd
AgeCommit message (Collapse)Author
2018-02-20accel-cmd: add -P/--password supportVladislav Grishenko
2014-11-17accel-cmd: improve help messageGuillaume Nault
New users typically use the -h or --help parameters to figure out how to use accel-cmd. But this only displays accel-cmd options, so users have no way to learn which accel-ppp commands are available. This patch improves the help message to introduce the "help" command which users can use to learn about other accel-ppp commands. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-02-06Integrate accel-cmd with accel-ppp's build processGuillaume Nault
Create a CMakeLists.txt file for accel-cmd so that it gets compiled and installed like accel-pppd. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-02-06Add manpage for accel-cmdGuillaume Nault
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-02-06New client for the cli module (tcp)Guillaume Nault
accel-cmd is a small program that reads commands from its command line or standard input and sends them to accel-ppp (using the tcp interface of the cli module). It displays accel-ppp's result on standard output. accel-cmd automatically appends the "exit" command to its command list, so that accel-pppd will disconnect after sending its replies. By default accel-cmd connects to localhost:2001. Examples: Send the "show sessions" command to accel-ppp and display the result: $ accel-cmd show sessions Execute commands from file "cmds" and display the results to stdout: $ accel-cmd < cmds Same as above, but use a different host and timeout after 1.5 seconds of inactivity: $ accel-cmd --timeout 1500ms --host accelppp.example.com < cmds Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>