Hi all,
I can't connect between openwisp agent and controller. I installed openwisp-config on agent and In /etc/config/openwisp on the device is
/etc/config/openwisp
config controller 'http'
option url 'https://xxx.xx.x.xx'
#option interval '120'
#option management_interval '10'
#option registration_interval '30'
option verify_ssl '0'
option shared_secret ''
#option consistent_key '1'
#option mac_interface 'eth0'
option management_interface 'up0v0'
#option merge_config '1'
#option tags ''
#option test_config '1'
#option test_script '/usr/sbin/mytest'
#option hardware_id_script '/usr/sbin/read_hw_id'
#option hardware_id_key '1'
#option bootup_delay '0'
option uuid 'f4efbb2e-082e-44b4-93fe-9e43cxxxxxxx'
option key 'ed9f7fc488672b601ed827e59xxxxxxx'
# curl options
#option connect_timeout '15'
#option max_time '30'
#option capath '/etc/ssl/certs'
#option cacert '/etc/ssl/certs/ca-certificates.crt'
#option checksum_max_retries '5'
#option checksum_retry_delay '6'
# hooks
#option pre_reload_hook '/usr/sbin/my_pre_reload_hook'
#option post_reload_hook '/usr/sbin/my_post_reload_hook'
i am little bit confused about uuid and key in openwisp controller. i am sharing some command outputs that are we getting ..
:~# /etc/init.d/openwisp_config restart
openwisp: OpenWISP config agent stopping
openwisp: OpenWISP config agent started
:~# logread | grep openwisp
Tue Feb 6 09:24:40 2024 daemon.err openwisp: Failed to connect to controller while getting checksum: curl exit code 28
Tue Feb 6 09:26:55 2024 daemon.err openwisp: Failed to connect to controller while getting checksum: curl exit code 28
Tue Feb 6 09:29:10 2024 daemon.err openwisp: Failed to connect to controller while getting checksum: curl exit code 28
Tue Feb 6 09:31:25 2024 daemon.err openwisp: Failed to connect to controller while getting checksum: curl exit code 28
:~# ps | grep openwisp
7569 root 1148 S /bin/sh /usr/sbin/openwisp_config --url https://172.
7601 root 1104 S grep openwisp
please let me know how can we fix this problem..?
thanks
with kind regards,