Page 1 of 1
unable to change administrator web access

Posted:
Thu Jul 27, 2023 9:40 pm
by Am1980
Dear forum,
I want to change my administrator web access password.
(reason: security + I want to configure ssh access)
My Understanding is that I should be able to change the password via menu (system management => setup => firmware interface)
However the box where I should be able to change the password is grayed out (see picture)
apparently there is a failsave mechanism "Administrator (you can change the settings only from your LAN)"
My laptop and NAS are on the same lan, I'm not sure if this could be the issue.
Any suggestions on what I could try next ?
If necessairy I have ssh access.
thx for your support.
Best regards,
Arnold
Re: unable to change administrator web access

Posted:
Sat Jul 29, 2023 10:40 am
by Am1980
does anyone have an idea on how to update the shell from the command line ?
I have tried
(1) updating the passwd-file with replacing /bin/nologin by /bin/sh,
however after rebooting the passwd file again states /bin/nologin.
I have tried usermod and chsh command but they are recognised.
Any tips on this ?
Re: unable to change administrator web access

Posted:
Sun Jul 30, 2023 2:43 pm
by Jocko
Hi
What ip do not note from "System Information" menu (tab : Php & Apache status) on the fields "REMOTE_ADDR" and "SERVER_ADDR" ? They have to belong to the same subnet
Re: unable to change administrator web access

Posted:
Tue Aug 01, 2023 3:59 pm
by Am1980
Hi Jacko,
I have :
- SERVER_ADDR = 191.168.20.3
- REMOTE_ADDR = 191.168.50.2
The ranges are wide, but I believe they are on the same subnet (i'm learning on networking )
I get, if I do a "ifconfig" on the
- NAS (server adres): inet addr:191.168.20.3 Bcast:191.168.255.255 Mask:255.255.0.0
- laptop (remote adres): inet 191.168.50.2 netmask 255.255.0.0 broadcast 191.168.255.255
Does this help ? Any other suggestions ?
Thx already for your support.
Best regards,
Arnold
Re: unable to change administrator web access

Posted:
Wed Aug 02, 2023 10:05 am
by Jocko
Hi
So I understand why you got this issue. The firmware check assumes you use a standard subnet so all host IP are 192.168.20.xx for example.
You use a very extended lan what is useless if you have less than 254 hosts on your lan. In this case you have to set as subnet mask : 255.255.255.0 on your router (or ISP box).
Basically on a standard lan, settings are if your router ip is 192.168.20.1 : broadcast 192.168.20.255 (send tcpip requests on all hosts 192.168.20.xxx) and mask: 255.255.255.0
Re: unable to change administrator web access

Posted:
Fri Aug 04, 2023 3:32 pm
by Am1980
Hi Jocko,
I have temporary access to a different/ smaller network and I was able to change the password.
Thanks for your support.
Best regards,
Arnold