Change DCA and Cloud Connector agent communication on Linux
After installing the DCA and Cloud Connector agent, the communication method can be inserted, changed or removed.
Warning
If the address or port where the Gateway Connector is installed is changed, this information must also be updated in the DCA and Cloud Connector agent to ensure continued communication.
Instructions
Open the terminal
There are several change scenarios. Identify your current situation and the change you want to make to determine the action required.
Current situation
Desired change
Action required
Direct communication
Proxy communication
Run the command below in the terminal to configure the proxy:
sudo ndd-proxy-config
In Insert proxy address, enter the IP address or hostname of the proxy and press Enter
In Insert proxy port, enter the proxy port and press Enter
In Use authentication?, type y if you want to use authentication or n if you don't, and press Enter
If you want to use authentication:
In Insert proxy user, enter the proxy's authentication user and press Enter
In Insert proxypassword, enter the proxy's authentication password and press Enter
If you don't want to use authentication, just press Enter in both fields
Run the command below in the terminal to enable the proxy:
sudo ndd-proxy-config --enable
Run the command below in the terminal to restart the NDD - DCA and Cloud Connector service:
sudo systemctl restart NDDDCAandCloudConnector
Run the command below in the terminal to restart the NDD - Printer Monitor service:
sudo systemctl restart NDDPrinterMonitor
Run the command below in the terminal to restart the NDD - Printer Monitor USB service:
sudo systemctl restart NDDPrinterMonitorUSB
Direct communication
Gateway communication
Run the command below in the terminal to configure the gateway:
sudo ndd-gateway-config
In Insert Gateway Connector host, enter the IP address or hostname of the computer/server where the Gateway Connector was installed, and press Enter
In Insert Gateway Connector port, enter the gateway port and press Enter The default gateway port is 9635, but you can enter another port if you wish.
Run the command below in the terminal to enable the gateway:
sudo ndd-gateway-config --enable
Run the command below in the terminal to restart the NDD - DCA and Cloud Connector service:
sudo systemctl restart NDDDCAandCloudConnector
Run the command below in the terminal to restart the NDD - Printer Monitor service:
sudo systemctl restart NDDPrinterMonitor
Run the command below in the terminal to restart the NDD - Printer Monitor USB service:
sudo systemctl restart NDDPrinterMonitorUSB
Proxy communication
Direct communication
Run the command below in the terminal to disable the proxy:
sudo ndd-proxy-config --disable
Run the command below in the terminal to restart the NDD - DCA and Cloud Connector service:
sudo systemctl restart NDDDCAandCloudConnector
Run the command below in the terminal to restart the NDD - Printer Monitor service:
sudo systemctl restart NDDPrinterMonitor
Run the command below in the terminal to restart the NDD - Printer Monitor USB service:
sudo systemctl restart NDDPrinterMonitorUSB
Proxy communication
Gateway communication
Run the command below in the terminal to disable the proxy:
sudo ndd-proxy-config --disable
Run the command below in the terminal to configure the gateway:
sudo ndd-gateway-config
In Insert Gateway Connector host, enter the IP address or hostname of the computer/server where the Gateway Connector was installed, and press Enter
In Insert Gateway Connector port, enter the gateway port and press Enter The default gateway port is 9635, but you can enter another port if you wish.
Run the command below in the terminal to enable the gateway:
sudo ndd-gateway-config --enable
Run the command below in the terminal to restart the NDD - DCA and Cloud Connector service:
sudo systemctl restart NDDDCAandCloudConnector
Run the command below in the terminal to restart the NDD - Printer Monitor service:
sudo systemctl restart NDDPrinterMonitor
Run the command below in the terminal to restart the NDD - Printer Monitor USB service:
sudo systemctl restart NDDPrinterMonitorUSB
Gateway communication
Direct communication
Run the command below in the terminal to disable the gateway:
sudo ndd-gateway-config --disable
Run the command below in the terminal to restart the NDD - DCA and Cloud Connector service:
sudo systemctl restart NDDDCAandCloudConnector
Run the command below in the terminal to restart the NDD - Printer Monitor service:
sudo systemctl restart NDDPrinterMonitor
Run the command below in the terminal to restart the NDD - Printer Monitor USB service:
sudo systemctl restart NDDPrinterMonitorUSB
Gateway communication
Proxy communication
Run the command below in the terminal to disable the gateway:
sudo ndd-gateway-config --disable
Run the command below in the terminal to configure the proxy:
sudo ndd-proxy-config
In Insert proxy address, enter the IP address or hostname of the proxy and press Enter
In Insert proxy port, enter the proxy port and press Enter
In Use authentication?, type y if you want to use authentication or n if you don't, and press Enter
If you want to use authentication:
In Insert proxy user, enter the proxy's authentication user and press Enter
In Insert proxypassword, enter the proxy's authentication password and press Enter
If you don't want to use authentication, just press Enter in both fields
Run the command below in the terminal to enable the proxy:
sudo ndd-proxy-config --enable
Run the command below in the terminal to restart the NDD - DCA and Cloud Connector service:
sudo systemctl restart NDDDCAandCloudConnector
Run the command below in the terminal to restart the NDD - Printer Monitor service:
sudo systemctl restart NDDPrinterMonitor
Run the command below in the terminal to restart the NDD - Printer Monitor USB service: