EasyManuals Logo
Home>Digi>Network Router>Connect IT 4

Digi Connect IT 4 User Manual

Digi Connect IT 4
964 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #640 background imageLoading...
Page #640 background image
Applications Configure scripts to run manually
Digi Connect IT® 4 User Guide
640
> scp host hostname-or-ip user username remote remote-path local local-
path to local
where:
n hostname-or-ip is the hostname or IP address of the remote host.
n username is the name of the user on the remote host.
n remote-path is the path and filename of the file on the remote host that will be
copied to the Connect IT 4 device.
n local-path is the location on the Connect IT 4 device where the copied file will be
placed.
For example:
To upload a script from a remote host with an IP address of 192.168.4.1 to the
/etc/config/scripts directory on the Connect IT 4 device, issue the following command:
> scp host 192.168.4.1 user admin remote /home/admin/bin/test.py local
/etc/config/scripts/ to local
admin@192.168.4.1's password: adminpwd
test.py 100% 36MB 11.1MB/s 00:03
>
c. Type exit to exit the Admin CLI.
Depending on your device configuration, you may be presented with an Access selection
menu. Type quit to disconnect from the device.
Note You can also create scripts by using the vi command when logged in with shell access.
2. Select a device in Remote Manager that is configured to allow shell access to the admin user,
and click Actions > Open Console. Alternatively, log into the Connect IT 4 local command line
as a user with shell access.
Depending on your device configuration, you may be presented with an Access selection
menu. Type shell to access the device shell.
3. Use the python command to run the Python application. In the following example, the Python
application, test.py, takes 3 parameters: 120, ports and storage:
# python /etc/config/scripts/test.py 120 ports storage
Configure scripts to run manually
You can configure an scripts to be manually run.
Required configuration items
n Upload or create the script.
n Enable the script.
n Set the script to run manually.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Digi Connect IT 4 and is the answer not in the manual?

Digi Connect IT 4 Specifications

General IconGeneral
BrandDigi
ModelConnect IT 4
CategoryNetwork Router
LanguageEnglish

Related product manuals