$ addpc -h
Usage: addpc [options...] <action> [args...]
actions:
discover [device]
reboot <device> [passwd]
config <device> <ip> <netmask> <gateway> [passwd]
dhcp <device> <on|off> [passwd]
Generic options:
-h [ --help ] produce help message
-V [ --version ] program version
-v [ --verbose ] verbose
ADDP options:
-l [ --logfile ] arg (=/dev/stdout) logfile
-L [ --listen ] arg (=0.0.0.0) ip address to listen
-p [ --port ] arg (=2362) udp port
ADDP client options:
-m [ --multicast ] arg (=224.0.5.128) multicast address for discovery
-t [ --timeout ] arg (=2000) response timeout (in ms)
-c [ --max_count ] arg (=0) stop after receiving n responses
$ addpc discover
1.2.3.4 01:02:03:04:05:06 Digi Connect ME digi1
1.2.3.5 01:02:03:04:05:07 Digi Connect ME digi2
$ addpc discover -v 01:02:03:04:05:06
1.2.3.4:2362 Discovery Response
MAC address = 01:02:03:04:05:06
IP address = 1.2.3.4
Netmask = 255.255.255.0
Gateway IP = 1.2.3.1
Network Name = digi1
Device name = Digi Connect ME
DHCP enabled = true
DNS IP = 1.2.3.2
Hardware Revision = 0
Firmware = Version 82000856_F6 07/21/2006
Port = 771
Encrypted port = 1027
Serial port count = 1
$ addpc reboot 01:02:03:04:05:06
Authentication Failure
$ addpc reboot 01:02:03:04:05:06 wrong_pass
Authentication Failure
$ addpc reboot 01:02:03:04:05:06 secret_password
Operation Successful
$ addpc config 01:02:03:04:05:07 1.2.3.6 255.255.255.0 1.2.3.1
Operation Successful
$ addpc dhcp 01:02:03:04:05:07 on
Operation Successful
$ addpc dhcp 01:02:03:04:05:07 off
Operation Successful
addpc
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||