Hi there. I’ve recently installed Alt-F on my DNS-320L Rev A3 and it works smoothly. The only issue I'm having right now is with the DDNS interface.
My country stablished the use of IPv6 at least as Dual Stack as a rule for all our ISP. So I really need inadyn-mt to update it, not only the IPv4 address. Once the IPv6 is the only way I can have remote access to my NAS.
I noticed that inadyn-mt is installed, instead of the old inadyn, that did not supported IPv6, but the Alt-F WEBUI, does not permit “IPv6 configuration”, and if I manually edit inadyn.conf, I can´t be sure if its working, once the WEBIU gives me this:
ddns.cgi: eval: line 1: --dyndns_system=dyn...@dyndns.org: not found ddns.cgi: eval: line 1: --retries=1: not found ddns.cgi: eval: line 1: --username=gxxxxs: not found ddns.cgi: eval: line 1: --password=XXXXX: not found ddns.cgi: eval: line 1: --alias=ralXXX.dnsXXXs.com: not found ddns.cgi: eval: line 1: --update_period_sec=3600: not found ddns.cgi: eval: line 1: --ip_server_name=ip6.me: not found
The configuration I need to be interpreted is like this:
--dyndns_system dyn...@dyndns.org
--retries 1
--username gxxxxs
--password XXXXX
--alias rXXX.dnXXXs.com ip6
--update_period_sec 3600
--ip_server_name ip6.me/
Any hints or ideas on how can I make it work properly and start on boot as well?
Thanks in advance, and by the way. Alt-F is awesome, way better than that slow stock firmware.
Congrats.
Hi there. I’ve recently installed Alt-F on my DNS-320L Rev A3 and it works smoothly. The only issue I'm having right now is with the DDNS interface.
My country stablished the use of IPv6 at least as Dual Stack as a rule for all our ISP. So I really need inadyn-mt to update it, not only the IPv4 address. Once the IPv6 is the only way I can have remote access to my NAS.
I noticed that inadyn-mt is installed, instead of the old inadyn, that did not supported IPv6, but the Alt-F WEBUI, does not permit “IPv6 configuration”, and if I manually edit inadyn.conf, I can´t be sure if its working, once the WEBIU gives me this:
ddns.cgi: eval: line 1: --dyndns_system=dyndns@dyndns.org: not found ddns.cgi: eval: line 1: --retries=1: not found ddns.cgi: eval: line 1: --username=gxxxxs: not found ddns.cgi: eval: line 1: --password=XXXXX: not found ddns.cgi: eval: line 1: --alias=ralXXX.dnsXXXs.com: not found ddns.cgi: eval: line 1: --update_period_sec=3600: not found ddns.cgi: eval: line 1: --ip_server_name=ip6.me: not found
By the way. I'm using RC6.Removing the "--" reduced the erros to:
alias <alias host name>[, hash] [ip type] [if] [addr pref] [ip server[:port] <ip server url> [ip server host]]'
Hi there. First of all, thanks for the time.
Your cgi files work perfectly, and as you said, I just have to avoid edit the inadyn-mt configuration with the WEBUI.
But, as you probably suspected Alt-F doesn't support IPv6. I have other devices that are completely accessible using IPv6 (so the router is fine), but all ports of my DNS-320L appear as “filtered” and no connection is possible. I tried enabling Avahi (Zeroconf) but just that did not solve the issue (it may need some configuration adjustment I don’t know yet, I have to read more about it).
Thank you very much fou your attention João.
On Friday, 28 April 2017 21:41:22 UTC+1, Rodrigo Aluizio wrote:By the way. I'm using RC6.Removing the "--" reduced the erros to:Yes, no leading '--' options should be used (but I have fixed it to be allowed).I have also allowed the "hostname" entry to contain arbitrary strings, such as 'your_host ipv6'. But it is not checked for correctness, as it translates to the 'alias' option which is very complex to parse (from the manual page):alias <alias host name>[, hash] [ip type] [if] [addr pref] [ip server[:port] <ip server url> [ip server host]]'I have also added an entry for the ip_server_name option, so you can use 'ipv6.me /' (notice the space before the /). By default "checkip.dyndns.org /" is used.Anyway, when configuration files are user edited, in general the webUI will not be able to use them, as most programs have many complex or conflicting options.But generally the init scripts that start or stop the actual service don't use the configuration files, so you can use 'rcddns start|stop' from the command line to test your configuration, and when it works the webUI StartNow/StopNow should work and if boot enabled it will also starts at boot. You only have to restrain yourself from using the webUI to edit it.Otherwise, is IPv6 working fine on Alt-F? Neither my ISP nor my home network is IPv6 ready, so I haven't test that.I attach the two webUI files so you can test them, just drop them at /usr/www/cgi-bin/ and make then executable. Works for you?
ddns.cgi: eval: line 1: ip6: not found ddns.cgi: eval: line 1: /: Permission deniedwhich seems to be a problem with the ipv6 request part.
Running inadyn-mt with this configuration using gives no error.
Em sexta-feira, 28 de abril de 2017 17:39:58 UTC-3, Rodrigo Aluizio escreveu:
Hi there. I’ve recently installed Alt-F on my DNS-320L Rev A3 and it works smoothly. The only issue I'm having right now is with the DDNS interface.
My country stablished the use of IPv6 at least as Dual Stack as a rule for all our ISP. So I really need inadyn-mt to update it, not only the IPv4 address. Once the IPv6 is the only way I can have remote access to my NAS.
I noticed that inadyn-mt is installed, instead of the old inadyn, that did not supported IPv6, but the Alt-F WEBUI, does not permit “IPv6 configuration”, and if I manually edit inadyn.conf, I can´t be sure if its working, once the WEBIU gives me this:
ddns.cgi: eval: line 1: --dyndns_system=dyn...@dyndns.org: not found ddns.cgi: eval: line 1: --retries=1: not found ddns.cgi: eval: line 1: --username=gxxxxs: not found ddns.cgi: eval: line 1: --password=XXXXX: not found ddns.cgi: eval: line 1: --alias=ralXXX.dnsXXXs.com: not found ddns.cgi: eval: line 1: --update_period_sec=3600: not found ddns.cgi: eval: line 1: --ip_server_name=ip6.me: not found
Hi there. First of all, thanks for the time.
Your cgi files work perfectly, and as you said, I just have to avoid edit the inadyn-mt configuration with the WEBUI.
But, as you probably suspected Alt-F doesn't support IPv6.
IPv6 is enabled under Host settings and modules are laded. I got a global IPv6, which is the one I need to remotely connect to the NAS, but connections are closed.
I'll fool around (carefully) with some config files and options here, and read some stuff on the Internet. If I reach some progress, I let you know.
Till now, the only thing I got came from here but I found no /etc/nsswitch.conf file.
Regards.
IPv6 is enabled under Host settings and modules are laded. I got a global IPv6, which is the one I need to remotely connect to the NAS,
but connections are closed.
#ssh stream tcp nowait root /usr/sbin/dropbear dropbear -i # Light SSH/SFTP serverssh stream tcp6 nowait root /usr/sbin/dropbear dropbear -i # Light SSH/SFTP server
silver:~ # ssh -6 fe80::9294:e4ff:fe05:6774%eth0root@fe80::9294:e4ff:fe05:6774%eth0's password:COLUMNS=89;LINES=47;export COLUMNS LINES;
May 1 19:28:30 DNS-320L authpriv.info dropbear[3496]: Child connection from fe80::beae:c5ff:fede:c06d:56443May 1 19:28:36 DNS-320L authpriv.notice dropbear[3496]: Password auth succeeded for 'root' from fe80::beae:c5ff:fede:c06d:56443
I'll fool around (carefully) with some config files and options here, and read some stuff on the Internet. If I reach some progress, I let you know.
Till now, the only thing I got came from here but I found no /etc/nsswitch.conf file.
Regards.
Before I do some mess with my NAS, :).
Do you know if Alt-F inetd service accepts "kill HUP" signal? It should make it reloads its configuration without really restarting. If so, I'll probably lose my SSH connection over local IPv4, but be capable to reestablish it over IPv6, at least locally as you did.
I want to be careful and avoid killing all connections to the NAS, if that happens, there will be no way to restore its original configuration (at least without a serial console), I suppose.
Also, I found some interesting information regarding inetd and IPv6 here! Is that true for inedt on Alt-F?
Before I do some mess with my NAS, :).
Do you know if Alt-F inetd service accepts "kill HUP" signal?
It should make it reloads its configuration without really restarting. If so, I'll probably lose my SSH connection over local IPv4, but be capable to reestablish it over IPv6, at least locally as you did.
I want to be careful and avoid killing all connections to the NAS, if that happens, there will be no way to restore its original configuration (at least without a serial console), I suppose.
Also, I found some interesting information regarding inetd and IPv6 her(basicalyeverything listed in /etc/settings will e! Is that true for inedt on Alt-F?
Well, for now openssh solved my problems. I completely forgot that embedded devices normally use dropbear. Once I read your message I realized that. Installing openssh (server mode) gave me the access I needed over global IPv6 (ssh, scp and sftp). HTTP would be good, but now necessary.
Thanks very much João. Sorry to bother you that much, with such a simple task as installing a new package.
Any way, I may test your suggestion later and report back what I found out.