OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • os-ddclient
« previous next »
  • Print
Pages: 1 ... 16 17 [18] 19 20 ... 23

Author Topic: os-ddclient  (Read 65494 times)

skyeci2018

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #255 on: June 13, 2022, 02:33:35 pm »
All very odd. I did a full rebuild up to the latest version. Same issue after reboot. File and timestamp changed back to original file. Not sure what else I can do. Something is replacing the file upon a reboot.....annoyingly it works how I need but can't get it to keep the contents of the file...

Surely I can't be the only one with this issue..
Logged

CGrisamore

  • Newbie
  • *
  • Posts: 24
  • Karma: 1
    • View Profile
Re: os-ddclient
« Reply #256 on: June 13, 2022, 02:43:08 pm »
Yes, very confusing.  Have you considered using chmod to set permissions of ddclient.conf to read only? 
Logged

skyeci2018

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #257 on: June 13, 2022, 03:01:39 pm »
That sounds like a plan. I will try that tonight when I get home and report back...
Logged

tofflock

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
    • View Profile
Re: os-ddclient
« Reply #258 on: June 13, 2022, 03:36:50 pm »
Quote from: skyeci2018 on June 13, 2022, 03:01:39 pm
That sounds like a plan. I will try that tonight when I get home and report back...

I would also be inclined to create another file in that directory (/usr/local/etc I believe) with your own file name and contents.  Do this before rebooting, and check that it survives the boot process.  This would help to eliminate a file system etc problem/feature - because I don't think we know anything about your test system.

Just a thought...

PeterF
Logged

skyeci2018

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #259 on: June 13, 2022, 04:03:32 pm »
Hi Peter
I will do this too but the build is literally a fresh build with no changes by myself to the config.
Logged

skyeci2018

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #260 on: June 14, 2022, 01:49:45 pm »
Hi Peter.

I can confirm a random file in the same folder survives a reboot. So far no luck in resolving it.
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 850
  • Karma: 163
    • View Profile
Re: os-ddclient
« Reply #261 on: June 14, 2022, 01:58:30 pm »
if you want to use ddclient without the gui components, just install ddclient (and not os-ddclient), Any plugin will always flush the configuration files on disk with the contents as configured.....

Code: [Select]
pkg install ddclient

Should probably do the trick.

Best regards,

Ad
Logged

skyeci2018

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #262 on: June 14, 2022, 02:02:07 pm »
Thank you. I will try this later tonight.
Logged

skyeci2018

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #263 on: June 19, 2022, 07:43:08 pm »
thanks to all for your help. I have now got it working with no deletion of the contents of my ddclient.conf config.
installed the package manually and then set it up using a free host name from dynu. They provided some basic script examples for ddclient which I have replicated into my conf file. Its updating every 5 minutes  as expected with confirmation in the sys log

ddclient[7427]   55641 - [meta sequenceId="1"] SUCCESS: mydomain.ddnsfree.com: skipped: IP address was already set to my address
Logged

CGrisamore

  • Newbie
  • *
  • Posts: 24
  • Karma: 1
    • View Profile
Re: os-ddclient
« Reply #264 on: June 23, 2022, 04:26:07 pm »
I performed the upgrade this morning to 22.1.9 (which included an update to the ddclient plugin).  After rebooting I found that my existing ddclient.conf file had been replaced with a newly generated version which contained the content previously entered in the OPNsense web interface.  I had manually edited my ddclient.conf file as my provider uses a token which contains an ampersand and the OPNsense web form would not allow entry of an ampersand so had I not spotted this I would have been left with a nonworking configuration.

Heads up to all who have manually customized ddclient.conf, after upgrading  check your ddclient.conf  file located in /usr/local/etc directory.  Lucky I had a copy saved elsewhere that I could transfer to the OPNsense box.
Logged

xboarder56

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #265 on: June 26, 2022, 03:31:33 am »
Hi All,

Edit: solution was to disable force ssl

Trying to configure DDclient on 22.1.9 but running into the following error (replaced IP):

Code: [Select]
2022-06-25T18:29:04-07:00 Notice ddclient[82993] 84797 - [meta sequenceId="4"] WARNING: Wait at least 5 minutes between update attempts.
2022-06-25T18:29:04-07:00 Notice ddclient[82993] 84797 - [meta sequenceId="3"] WARNING: last updated <never> but last attempt on Sat Jun 25 18:28:53 2022 failed.
2022-06-25T18:29:04-07:00 Notice ddclient[82993] 84797 - [meta sequenceId="2"] WARNING: skipping update of example.com from <nothing> to 111.111.111.111.
2022-06-25T18:29:04-07:00 Notice ddclient[82993] 84222 - [meta sequenceId="1"] WARNING: file /var/tmp/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
« Last Edit: June 26, 2022, 05:05:16 am by xboarder56 »
Logged

jondoe

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #266 on: June 27, 2022, 04:18:45 am »
I have updated to 22.1.9 with ddclient 3.9.1. GoDaddy is still not available in the GUI. How Do I configure GoDaddy in /usr/local/etc/ddclient.conf?
Logged

skyeci2018

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #267 on: June 27, 2022, 10:18:49 pm »
I upgraded and encountered no issues with my conf file after the process completed. Will we get a widget sometime like was possible before?

thanks
Logged

andersgo@gmail.com

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #268 on: June 28, 2022, 07:39:27 pm »
I finally managed to get my DynDNS to work with ddclient

checkip -t 1/0 did not provide any reply. Removing it completely worked

# /usr/local/opnsense/scripts/ddclient/checkip -i re0 -s dyndns
xxx.xxx.xxx.xxx
Logged

TrueType

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #269 on: July 10, 2022, 08:03:30 pm »
It shouldn't be this hard to get it working when the last plugin was working flawlessly, please someone with developing skills look into this thread..
Logged

  • Print
Pages: 1 ... 16 17 [18] 19 20 ... 23
« previous next »
  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • os-ddclient
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2