How to Execute Linux Commands on Sputnik-Powered Devices, from the Cloud
How to execute basic Unix commands on Sputnik-powered devices using SputnikNet's built-in pseudo-shell.
Select the Sputnik-powered device you want to manage.
Execute Command page.
The Execute Command page provides a pseudo-shell window where you can view the results of the most recent command sent to the Sputnik-powered device, but which does not preserve "state" as a regular shell or terminal window would. You can enter a command manually or choose from a pre-defined list of commands.
You can also choose whether or not to view the results of the command. Click the "No" button next to "Output?" if you do not want to see results. You would do this, for example, to send a "reboot" command to the Sputnik-powered device; otherwise your browser would get stuck waiting for results that the device would not return.
Pre-defined commands include:
- DHCP Config: tells you how many DHCP leases you have, how long they are valid for, how many clients the router will support
- DHCP Clients: lists active DHCP leases
- DHCP Configs: similar to DHCP Config, but provides raw values, more data
- Dynamic DNS config: parameters used for dynamic DNS registration
- Dynamic DNS log: latest results of dynamic DNS registration
- WAN Details: WAN interface configuration settings
- LAN Details: LAN interface configuration settings
- Custom DDNS Details: similar to Dynamic DNS config, but provides raw values, more data
- All DDNS Details: same as above, but for all Dynamic DNS settings, not just custom
- Interface Details: shows IP addresses assigned to various interfaces on the Sputnik-powered device
- Uptime (chosen in this example): how long the device has been up and load averages
- Hosts File: lists entries in Sputnik-powered device's host database (IP addresses and domain names)
- Hostname: Sputnik-powered device hostname
- Iptables List: firewall rules
- Iptables List No Lookup: firewall rules listed as IP addresses, not domain names
- Iptables NAT: firewall NAT listing
- Iptables NAT No Lookup: firewall NAT listing shown as IP addresses, not domain names
- Iptables MANGLE: firewall mangle listing
- Iptables MANGLE No Lookup: firewall mangle listing shown as IP addresses, not domain names
- Iptables FILTER No Lookup: firewall filter listing
- NVRAM Show All Sorted: show all Sputnik-powered device settings
- NVRAM Show Sputnik: show all Sputnik Agent configuration settings