After installing the DCA and Cloud Connector agent, the communication method can be inserted, changed or removed.
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:
BASH
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 proxy password, 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:
BASH
sudo ndd-proxy-config --enable
Run the command below in the terminal to restart the NDD - DCA and Cloud Connector service:
BASH
sudo systemctl restart NDDDCAandCloudConnector
Run the command below in the terminal to restart the NDD - Printer Monitor service:
BASH
sudo systemctl restart NDDPrinterMonitor
|
Direct communication | Gateway communication | Run the command below in the terminal to configure the gateway:
BASH
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:
BASH
sudo ndd-gateway-config --enable
Run the command below in the terminal to restart the NDD - DCA and Cloud Connector service:
BASH
sudo systemctl restart NDDDCAandCloudConnector
Run the command below in the terminal to restart the NDD - Printer Monitor service:
BASH
sudo systemctl restart NDDPrinterMonitor
|
Proxy communication | Direct communication | Run the command below in the terminal to disable the proxy:
BASH
sudo ndd-proxy-config --disable
Run the command below in the terminal to restart the NDD - DCA and Cloud Connector service:
BASH
sudo systemctl restart NDDDCAandCloudConnector
Run the command below in the terminal to restart the NDD - Printer Monitor service:
BASH
sudo systemctl restart NDDPrinterMonitor
|
Proxy communication | Gateway communication | Run the command below in the terminal to disable the proxy:
BASH
sudo ndd-proxy-config --disable
Run the command below in the terminal to configure the gateway:
BASH
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:
BASH
sudo ndd-gateway-config --enable
Run the command below in the terminal to restart the NDD - DCA and Cloud Connector service:
BASH
sudo systemctl restart NDDDCAandCloudConnector
Run the command below in the terminal to restart the NDD - Printer Monitor service:
BASH
sudo systemctl restart NDDPrinterMonitor
|
Gateway communication | Direct communication | Run the command below in the terminal to disable the gateway:
BASH
sudo ndd-gateway-config --disable
Run the command below in the terminal to restart the NDD - DCA and Cloud Connector service:
BASH
sudo systemctl restart NDDDCAandCloudConnector
Run the command below in the terminal to restart the NDD - Printer Monitor service:
BASH
sudo systemctl restart NDDPrinterMonitor
|
Gateway communication | Proxy communication | Run the command below in the terminal to disable the gateway:
BASH
sudo ndd-gateway-config --disable
Run the command below in the terminal to configure the proxy:
BASH
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 proxy password, 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:
BASH
sudo ndd-proxy-config --enable
Run the command below in the terminal to restart the NDD - DCA and Cloud Connector service:
BASH
sudo systemctl restart NDDDCAandCloudConnector
Run the command below in the terminal to restart the NDD - Printer Monitor service:
BASH
sudo systemctl restart NDDPrinterMonitor
|
{{component-feedback-article}}