New Build - 11/02/2022 - r50786

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3, 4, 5  Next
Author Message
MLandi
DD-WRT Guru


Joined: 04 Dec 2007
Posts: 1008

PostPosted: Sat Nov 05, 2022 13:26    Post subject: Reply with quote
RobrPatty wrote:
BTW you should be able to up your MTU to 1480


I don't remember why I had it set the way it was. I'll try 1480. Thanks for noticing that.

_________________
Netgear R9000
DD-WRT v3.0-r55460 std (03/25/24)
Linux 4.9.337 #715 SMP Mon Mar 25 06:15:53 +07 2024 armv7l
Gateway, AP, DNSMasq, Clock 2000MHz
VAP on wlan1 for internet devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
CloudFlare, no SFE, SmartDNS, no QoS
2.4GHz: Vanilla, Airtime Fairness, NG-Mixed, ACK Timing 3150, WPA2 w/AES & WPA3
5GHz: Vanilla, Airtime Fairness, AC/N Mixed, ACK Timing 3150, WPA2 w/AES & WPA3
2 Netgear AX1800 WiFi Mesh Extenders
Xfinity 1.2Gbps/35Mbps
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sat Nov 05, 2022 13:32    Post subject: Reply with quote
the-joker wrote:
nyddwrtuser330 wrote:
Added the after, screenshot above.

It MAY be working correctly, but in previous it woul actually say "IP updated Succcessfully" or IP update failed" or something to the effect of No change, IP not updated.

Seems like its either hanging or not looging results


If you're talking about the old inadyn forget it, the new one is nothing like the old.


For the new inadynv2 DDWRT has set the standard logging at "notice" that means no logging of the 10/15 minute update only of the forced update.

As I also was curious if it worked I had set the logging at "info" and then you will see much more:
Code:
Thu Jan 1 01:00:21 1970 In-a-dyn version 2.9.1 -- Dynamic DNS update client.
Thu Jan 1 01:00:21 1970 Startup delay: 90 sec ...
Sat Nov 5 13:54:28 2022 Cached IP# xx.xx.xxx.xxx for egcpn.hopto.org from previous invocation.
Sat Nov 5 13:54:28 2022 Last update of egcxxx.xxx.xxx on Sat Nov 5 13:54:28 2022

Sat Nov 5 13:54:29 2022 Checking for IP# change, connecting to ip1.dynupdate.no-ip.com([xx.xx.xxxx.xx]:80)
Sat Nov 5 13:54:29 2022 No IP# change detected for default@no-ip.com, still at xxx.xxx.xxx.xxx
Sat Nov 5 13:54:29 2022 Update forced for alias egcxxx.xxx.xxx, new IP# xxx.xxx.xxx.xxx
Sat Nov 5 13:54:29 2022 Sending IP# update to DDNS server, connecting to dynupdate.no-ip.com([xx.x.x.x]:80)
Sat Nov 5 13:54:29 2022 Successful alias table update for egcpn.hopto.org => new IP# xxx.xxx.xxx.xxx
Sat Nov 5 13:54:29 2022 Updating cache for egcxxx.xxx.xxx
Sat Nov 5 14:04:35 2022 Checking for IP# change, connecting to ip1.dynupdate.no-ip.com([xx.xx.xx.xx]:80)
Sat Nov 5 14:04:35 2022 No IP# change detected for default@no-ip.com, still at xx.xx.xx.xx
Sat Nov 5 14:14:41 2022 Checking for IP# change, connecting to ip1.dynupdate.no-ip.com([xx.xx.xx.xx]:80)
Sat Nov 5 14:14:41 2022 No IP# change detected for default@no-ip.com, still at xx.xx.xx.xx

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
RobrPatty
DD-WRT User


Joined: 06 Jun 2016
Posts: 174

PostPosted: Sat Nov 05, 2022 16:44    Post subject: Reply with quote
Yep my 2nd router has this firmware installed and also no IPv6 protocol. Its a Netgear R8500
I'm sure if I downgraded to 50595 IPv6 would work then
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sat Nov 05, 2022 16:54    Post subject: Reply with quote
RobrPatty wrote:
Yep my 2nd router has this firmware installed and also no IPv6 protocol. Its a Netgear R8500
I'm sure if I downgraded to 50595 IPv6 would work then


I saw it mentioned a couple of times but it appears RADVD is broken.
Should be fixed in next build.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
RobrPatty
DD-WRT User


Joined: 06 Jun 2016
Posts: 174

PostPosted: Sat Nov 05, 2022 18:25    Post subject: Reply with quote
egc wrote:
RobrPatty wrote:
Yep my 2nd router has this firmware installed and also no IPv6 protocol. Its a Netgear R8500
I'm sure if I downgraded to 50595 IPv6 would work then


I saw it mentioned a couple of times but it appears RADVD is broken.
Should be fixed in next build.


Thx much for the feedback egc.
MLandi
DD-WRT Guru


Joined: 04 Dec 2007
Posts: 1008

PostPosted: Sat Nov 05, 2022 20:43    Post subject: Reply with quote
RobrPatty wrote:
BTW you should be able to up your MTU to 1480


No luck. 1452 is my maximum.

_________________
Netgear R9000
DD-WRT v3.0-r55460 std (03/25/24)
Linux 4.9.337 #715 SMP Mon Mar 25 06:15:53 +07 2024 armv7l
Gateway, AP, DNSMasq, Clock 2000MHz
VAP on wlan1 for internet devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
CloudFlare, no SFE, SmartDNS, no QoS
2.4GHz: Vanilla, Airtime Fairness, NG-Mixed, ACK Timing 3150, WPA2 w/AES & WPA3
5GHz: Vanilla, Airtime Fairness, AC/N Mixed, ACK Timing 3150, WPA2 w/AES & WPA3
2 Netgear AX1800 WiFi Mesh Extenders
Xfinity 1.2Gbps/35Mbps
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Sun Nov 06, 2022 8:02    Post subject: Reply with quote
egc wrote:
I saw it mentioned a couple of times but it appears RADVD is broken.
Should be fixed in next build.

We are trying to resolve https://github.com/radvd-project/radvd/issues/182 and merged https://github.com/radvd-project/radvd/pull/193 to test, that was reverted since it caused new issues.

That patch needs reviewing properly by someone that understands radvd, it is also likely that such patch if not handled properly will not be backwards compatible, so existing setups will suffer.

And that's where my motivation/interest ends, I dont need or use IPv6.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
asavage
DD-WRT Novice


Joined: 06 Jun 2020
Posts: 22
Location: Oak Harbor, Washington, USA

PostPosted: Mon Nov 07, 2022 0:34    Post subject: Reply with quote
ho1Aetoo wrote:
@asavage

https://svn.dd-wrt.com/changeset/50813


OK, that fixes the web UI being unwilling to save user-entered Hostname info.

The problem that remains: if I have the hostname field populated with more than one hostname (using the '-a' parameter), I receive the "400 Bad Request" response from (I assume) DynDNS.

I have confirmed that /tmp/ddns/inadyn.conf contains inadyn 2.9.1 compliant format/info. For testing, I have simplified to update only two of my five sites, "site1" and "site2":

Code:
period = 600
forced-update = 864000
provider default@dyndns.org {
username = "[redacted]"
password = "[redacted]"
hostname = "site1.dyndns.org -a site2.dyndns.org "
ssl = false
checkip-command = "/sbin/service checkwanip main"
}


If I remove the trailing "-a site2.dyndns.org", a successful update is (kind of) reported.

If I again add site2, "400 Bad Request".

With multiple sites configured in hostname:

50595 = works (1.96-ADV), and has very good user feedback on Status screen; the 2.9.1 version is much less clear about what it's reporting.

50671 = does not work (stalls at "Connecting to server") (2.9.1)

50755, 50786, 50814 = does not work ("400 Bad Request" from server)

It appears that either the multiple DDNS hostname functionality is broken, or the syntax to use it ('-a') it has changed, with the wiki being out of date. Should I open a ticket for this?

Meanwhile, I'm staying with 50595, which continues to update all five of my sites.

---

Also, the UI hostname field's 99-char limit I ran into two years ago is still extant. While I can use alternate means to be able to populate hostname with more than 99 char, I think it would be a better user experience if that limitation was raised to a higher value. For my use case, I'm about 15 chars too many to be able to use the UI to update any of my sites.

_________________
Regards,
Al Savage
----------------
R7800 x2
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Mon Nov 07, 2022 6:05    Post subject: Reply with quote
https://github.com/troglobit/inadyn/blob/master/README.md#configuration

https://svn.dd-wrt.com/browser/src/router/inadynv2/README.md#L108
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Mon Nov 07, 2022 10:10    Post subject: Reply with quote
asavage wrote:
50595 = works (1.96-ADV), and has very good user feedback on Status screen; the 2.9.1 version is much less clear about what it's reporting.

It's clear enough on the updates logging, its not as verbose but its clear when updates succeed or fail. If you're not happy about it keep reading.
asavage wrote:
It appears that either the multiple DDNS hostname functionality is broken, or the syntax to use it ('-a') it has changed, with the wiki being out of date. Should I open a ticket for this?

No tickets here please. Like blkt pointed above, you need to read the configuration details on the inadyn project upstream, the configuration from 1.96ADV from 2005 is incompatible with new inadyn 2.9.1 from 2022, you need to read the new supported configuration methods on their documentation, if anything is unclear on their documentation, you ask upstream how to do this. seems answer is hostname = ( fo.o, foob.ar, foo.bar }

DD-WRT is not responsible for inadyn development bug fixing or adding features, for such you need to make any requests or bug reports upstream at https://github.com/troglobit/inadyn/issues/new taking care to search if a current similar report exists. Generally speaking no one likes duplicate reports.

DD-WRT's responsibility is only to ensure the implementation in DD-WRT works as per what they (inadyn) support currently, which is a priority to our lead developer.
asavage wrote:
Also, the UI hostname field's 99-char limit I ran into two years ago is still extant. While I can use alternate means to be able to populate hostname with more than 99 char, I think it would be a better user experience if that limitation was raised to a higher value. For my use case, I'm about 15 chars too many to be able to use the UI to update any of my sites.

I can make a pull request to increase the character limit on the hostname, however cant guarantee it will be accepted by head developer or that 5 sites are supported by current inadyn anyway, and in that case loop back to my above reply.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)


Last edited by the-joker on Mon Nov 07, 2022 17:30; edited 1 time in total
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Mon Nov 07, 2022 17:29    Post subject: Reply with quote
@asavage https://github.com/mirror/dd-wrt/pull/432/commits/a693ba4c3812b26a5aad406e6d633068ca044362#diff-673d30507be88fdadfe3976d0f4ee550f3a4dbe86114e513066e404bfbb847b3 but that was not merged, so I tried.
_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
asavage
DD-WRT Novice


Joined: 06 Jun 2020
Posts: 22
Location: Oak Harbor, Washington, USA

PostPosted: Mon Nov 07, 2022 17:35    Post subject: Reply with quote
Thanks for that. Increasing that input field to 255 should cover the majority of use cases. In my case, I need about 104 chars.

I'm unfamiliar with the review/merge process here; can you expand on "was not merged"? It was only committed 3 hours ago; are commits accepted/rejected that fast?

_________________
Regards,
Al Savage
----------------
R7800 x2


Last edited by asavage on Mon Nov 07, 2022 18:03; edited 1 time in total
asavage
DD-WRT Novice


Joined: 06 Jun 2020
Posts: 22
Location: Oak Harbor, Washington, USA

PostPosted: Mon Nov 07, 2022 18:01    Post subject: Reply with quote
Thanks, both of you, that was very helpful.

Using the info at those links, the DDNS wiki provides outdated info that applies to the previous version of inadyn; the '-a' parameter is no longer needed.

https://github.com/troglobit/inadyn/blob/master/examples/dyndns.conf
shows inadyn.conf sample using this parameter syntax & format:
Code:
# Inadyn v2.0 configuration file format
period          = 300
#verify-address  = false

provider default@dyndns.org {
    ssl         = true
    username    = user
    password    = secret
    hostname    = example.dyndns.org
}


And the links blkt provided show two examples of how inadyn 2.x expects multiple DDNS hostnames to be provided, using braces:

Code:
provider dyn {
    ssl         = false
    username    = charlie
    password    = snoopy
    hostname    = { peanuts, woodstock }
    user-agent  = Mozilla/4.0
}


That's not what dd-wrt's interface is writing to inadyn.conf :
Code:
root@R7800-1:~# cat /tmp/ddns/inadyn.conf
period = 600
forced-update = 864000
provider default@dyndns.org {
username = "[redacted]"
password = "[redacted]"
hostname = "site1.dyndns.org  site2.dyndns.org  site3.org"
ssl = false
checkip-command = "/sbin/service checkwanip main"
}


Adding the braces and insulating spaces "{ " and " }" (either by editing /tmp/ddns/inadyn.conf directly, or by using the UI's input field) yields this:

Code:
hostname = "{ site1.dyndns.org  site2.dyndns.org  site3.dyndns.org }"


and the corresponding output when inadyn processes it remains "400 Bad Request" (see screenshot below).

I was thinking that possibly inadyn won't parse the quotes, so I next tried removing them. When I remove the quotes, the next boot they're back, so I'm not editing correctly. This is the process I've used:
Code:
stopservice inadyn
vi /tmp/ddns/inadyn.conf
reboot


I see that default inadyn is expecting /usr/etc/inadyn.conf but dd-wrt locates it /tmp/ddns/inadyn.conf .

Code:
root@R7800-1:~# inadyn --check-config -f /tmp/ddns/inadyn.conf
reveals no errors, so it's not complaining about the quotes.

Thoughts?

_________________
Regards,
Al Savage
----------------
R7800 x2
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Mon Nov 07, 2022 18:49    Post subject: Reply with quote
asavage wrote:
I'm unfamiliar with the review/merge process here; can you expand on "was not merged"? It was only committed 3 hours ago; are commits accepted/rejected that fast?


I made a pull request including the maxlength="255" however The head developer elected to ignore the change without any reason given.

As for config for multiple serer I have mentioned it with PR that inadyn supports multiple hostname entries, so its unclear why the merge was refused or if dd-wrt supports that scenario as of yet.

Soon as I know more, I will update here. For any doubts how to enter the multiple hostanme entries config, ask upstream.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1899

PostPosted: Mon Nov 07, 2022 19:05    Post subject: Reply with quote
It's possible that it is how the DD-WRT implementation parses the multiple servers to the config file, not anything to do with inadyn, and not necessarily a character length problem. The DDNS provider is expecting one thing, which is not being correctly parsed and provided from DD-WRT, or is being entered incorrectly by the user.
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
Goto page Previous  1, 2, 3, 4, 5  Next Display posts from previous:    Page 4 of 5
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum