unable to change administrator web access

unable to change administrator web access

Postby Am1980 » Thu Jul 27, 2023 9:40 pm

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
You do not have the required permissions to view the files attached to this post.
Am1980
Donator VIP
Donator VIP
 
Posts: 7
Joined: Sat Dec 16, 2017 10:57 pm

Re: unable to change administrator web access

Postby Am1980 » Sat Jul 29, 2023 10:40 am

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 ?
Am1980
Donator VIP
Donator VIP
 
Posts: 7
Joined: Sat Dec 16, 2017 10:57 pm

Re: unable to change administrator web access

Postby Jocko » Sun Jul 30, 2023 2:43 pm

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
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: unable to change administrator web access

Postby Am1980 » Tue Aug 01, 2023 3:59 pm

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
Am1980
Donator VIP
Donator VIP
 
Posts: 7
Joined: Sat Dec 16, 2017 10:57 pm

Re: unable to change administrator web access

Postby Jocko » Wed Aug 02, 2023 10:05 am

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
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: unable to change administrator web access

Postby Am1980 » Fri Aug 04, 2023 3:32 pm

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
Am1980
Donator VIP
Donator VIP
 
Posts: 7
Joined: Sat Dec 16, 2017 10:57 pm


Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 3 guests

cron