HELP! Cant enter the web-interface after upgrading to xfvdw!

HELP! Cant enter the web-interface after upgrading to xfvdw!

Postby roman1000 » Sat Sep 07, 2013 10:37 am

Hello, NAS-upgraders!

I have a Philips SPD8020 NAS and installed the bin "xfvdw-sl-14-0-phn-23dec2012.bin" via the
web interface. The previous firmware was the original Philips-Firmware.

After installation, the device rebooted. I can access my files via the windows 7-Explorer normally.
I can connect to the NAS by ssh (putty terminal emulator) via user=root and pass = giveit2me

But when i try to open the web interface, there is a dialog popup wich asks for the username and
password. I never changed the password, the login was always user = admin, pass = admin.

I tried to login with user = admin-nas and pass = admin, or user = admin pass = admin, nothing
does work. I tried to emptying my browser cache, i tried a restart of the computer and restart of
the NAS, then i tried a "Hard Reset" (turn NAS off, unplug the power, hold reset, plug power in
again, you know the game...). But this didnt help.

Now i need help here on the forums!

Thanks in advance,

Roman
roman1000
 
Posts: 7
Joined: Sat Sep 07, 2013 9:33 am

Re: HELP! Cant enter the web-interface after upgrading to xf

Postby Jocko » Sat Sep 07, 2013 11:02 am

Hi Roman

Sorry for this inconvenience.

First, since version 13.0, login for the web interface has been changed and now you must : 'admin-nas' as login and 'admin' as password with version 14.0

But it seems that you have another issue.

Please, could you post the output of these commands :
Code: Select all
cat /boot.log

and
Code: Select all
ls -al /rw_fs/tmp/var/run


If a file '.htpasswd' exists, please check if it contains this line :
Code: Select all
admin-nas:$xxxxxxxxx....xxx
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: HELP! Cant enter the web-interface after upgrading to xf

Postby roman1000 » Sat Sep 07, 2013 11:08 am

Wow, this is a fast reply!

this is from cat /boot.log:

Code: Select all
root@NAS:/ # cat /boot.log
start boot log
make dev node for buttons...
make dev node for tun device...
enable IP forwarding...
start buttons control daemon
buttons-spd daemon started
start fan control daemon
fan-spd T daemon started
initializing date
Wed Nov 16 12:00:00 GMT+1 2011
booting using  root file system...
run udevstart to update dev nodes when necessary
inserting kernel modules:
configure loopback netwerk interface
export reset gpio pin
starting php based setup routines step 1



 * Initial XML configuration file...     [ OK ]

Restoring factory default settings...
 * Configuring Disks...                                  [ OK ]
 * Configuring System Users...
        Root password: use default password
        Set users, linux and samba accounts      [ OK ]
 * Starting mount of volumes...
   - Mounting volume Default:                    [ OK ]
 * Finishing mount of volumes...                 [ OK ]
 * Generating Hosts File...                      [ OK ]
 * Configuring System Hostname...                [ OK ]
 * Configuring Samba...                                  [ OK ]
 * Configuring LAN interface...                  [ OK ]
 * Starting udevd...                                     [ OK ]
 * Starting web server...
Warning: Illegal string offset 'user' in /etc/finc/sysfunc_password_configure.finc on line 34

Warning: Invalid argument supplied for foreach() in /etc/finc/sysfunc_password_configure.finc on line 35
                                 [ OK ]
 * Initializing Timezone...                      [ OK ]
 * Starting NTP client...                                [ OK ]
 * Configuring Samba...                                  [ OK ]
 * Starting syncawayd...                                 [ OK ]
 * Starting FTP Service...                               [ FAIL ]
start portmap service
starting php based setup routines step 2


 * Starting dropbear...                                  [ OK ]
 * Kill temporary dropbear...                    [ OK ]
 * Starting daemon update Hosts File...  [ OK ]
starting php based setup routines step banner


*** fvdw-sl NAS firmware
    This is fvdw-sl version: fvdw-sl 14.0
    built on: December 23 2012

    LAN IP address: 192.168.178.10 (static)

    Port configuration:

    LAN   -> eth0
php based setup routines finished
web permission on resolv.conf
set device tuning for dms performance
move smbd en nmbd db files to ramdisk to enable disk spin down
rcS finished


ls -al /rw_fs/tmp/var/run

Code: Select all
root@NAS:/ # ls -al /rw_fs/tmp/var/run
total 7
drwxrwxrwx  3 nobody nobody 1024 2013-09-07 11:10 .
drwxr-xr-x  8 root   root   1024 2011-11-16 12:00 ..
-rw-r--r--  1 root   root      4 2013-09-07 11:10 dropbear.pid
-rw-------  1 nobody root     45 2011-11-16 12:00 .htpasswd
-rw-r--r--  1 root   root      4 2013-09-07 11:10 httpd.pid
drwxr-xr-x  2 nobody nobody 1024 2013-09-07 11:10 lock
-rw-r--r--  1 root   root      4 2011-11-16 12:00 noflushd.pid
-rw-------  1 root   root      0 2013-09-07 11:10 portmap_mapping



The file .htpasswd has the line admin-nas:$somesignslooklikeamixoflettersandnumbers
roman1000
 
Posts: 7
Joined: Sat Sep 07, 2013 9:33 am

Re: HELP! Cant enter the web-interface after upgrading to xf

Postby Jocko » Sat Sep 07, 2013 11:31 am

Ok,

The two warnings in boot.log are nothing but it's why FTP failed to start :
You upgraded directly the firmware from Philips version and several FTP settings are missing in the NAS database.

But about web access I don't yet understand why you can't access it. So two new outputs :
Code: Select all
cat /rw_fs/tmp/var/log/httpd/error_log
and
Code: Select all
cat /usr/htdocs/.htaccess



But you are sure that you have never changed the password of the web interface :scratch
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: HELP! Cant enter the web-interface after upgrading to xf

Postby roman1000 » Sat Sep 07, 2013 2:52 pm

I never changed the password, i am 100% sure.

Here is the first output of the httpd error log:

Code: Select all
login as: root
root@192.168.178.10's password:
root@NAS:/ # cat /rw_fs/tmp/var/log/httpd/error_log
[Wed Nov 16 12:00:34.834345 2011] [auth_digest:notice] [pid 605] AH01757: generating secret for digest authentication ...
[Sat Sep 07 11:10:04.375295 2013] [mpm_prefork:notice] [pid 605] AH00163: Apache/2.4.3 (Unix) OpenSSL/0.9.7m PHP/5.4.7 configured -- resuming normal operations
[Sat Sep 07 11:10:04.834770 2013] [core:notice] [pid 605] AH00094: Command line: '/usr/bin/httpd -f httpd.conf -d /etc'
[Sat Sep 07 11:11:36.129830 2013] [auth_basic:error] [pid 634] [client 192.168.178.29:53072] AH01617: user admin-nas: authentication failure for "/global/xslObjects.xml": Password Mismatch, referer: http://192.168.178.10/
[Sat Sep 07 11:11:41.623411 2013] [auth_basic:error] [pid 793] [client 192.168.178.29:53073] AH01618: user admin not found: /global/xslObjects.xml, referer: http://192.168.178.10/
[Sat Sep 07 11:14:12.615696 2013] [auth_basic:error] [pid 634] [client 192.168.178.29:53096] AH01618: user admin not found: /global/xslObjects.xml, referer: http://192.168.178.10/
[Sat Sep 07 11:14:19.903203 2013] [auth_basic:error] [pid 793] [client 192.168.178.29:53101] AH01617: user admin-nas: authentication failure for "/global/xslObjects.xml": Password Mismatch, referer: http://192.168.178.10/
[Sat Sep 07 11:14:34.797640 2013] [mpm_prefork:error] [pid 605] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
[Sat Sep 07 11:19:43.765048 2013] [auth_basic:error] [pid 793] [client 192.168.178.29:49189] AH01618: user admin not found: /
[Sat Sep 07 11:19:50.313141 2013] [auth_basic:error] [pid 634] [client 192.168.178.29:49190] AH01617: user admin-nas: authentication failure for "/": Password Mismatch
[Sat Sep 07 11:23:09.438751 2013] [auth_basic:error] [pid 793] [client 192.168.178.29:49223] AH01617: user admin-nas: authentication failure for "/": Password Mismatch
[Sat Sep 07 11:23:14.471986 2013] [auth_basic:error] [pid 634] [client 192.168.178.29:49225] AH01618: user admin not found: /
[Sat Sep 07 11:24:16.915311 2013] [auth_basic:error] [pid 793] [client 192.168.178.29:49229] AH01618: user admin not found: /
[Sat Sep 07 11:24:23.278360 2013] [auth_basic:error] [pid 634] [client 192.168.178.29:49230] AH01617: user admin-nas: authentication failure for "/": Password Mismatch
[Sat Sep 07 11:38:12.507312 2013] [auth_basic:error] [pid 793] [client 192.168.178.29:49276] AH01617: user admin-nas: authentication failure for "/": Password Mismatch
[Sat Sep 07 11:39:52.611410 2013] [auth_basic:error] [pid 793] [client 192.168.178.29:49300] AH01617: user admin-nas: authentication failure for "/": Password Mismatch
[Sat Sep 07 11:39:56.763265 2013] [auth_basic:error] [pid 634] [client 192.168.178.29:49301] AH01618: user admin not found: /
[Sat Sep 07 12:09:44.559214 2013] [auth_basic:error] [pid 793] [client 192.168.178.29:49529] AH01617: user admin-nas: authentication failure for "/": Password Mismatch
[Sat Sep 07 12:09:52.998150 2013] [auth_basic:error] [pid 634] [client 192.168.178.29:49531] AH01617: user admin-nas: authentication failure for "/": Password Mismatch
[Sat Sep 07 12:12:58.206000 2013] [auth_basic:error] [pid 634] [client 192.168.178.29:49573] AH01617: user admin-nas: authentication failure for "/public/test.php": Password Mismatch
[Sat Sep 07 12:18:00.841509 2013] [auth_basic:error] [pid 634] [client 192.168.178.29:49606] AH01617: user admin-nas: authentication failure for "/": Password Mismatch



So the NAS seems to find the user admin-nas. only the password seems to be "wrong".
The message with the /public/test.php was a test for the php on the nas, which i made...

And the htaccess-File:

Code: Select all
root@NAS:/ # cat /usr/htdocs/.htaccess
##
##   This .htaccess file makes authentication happen
##
AuthType        Basic
AuthName        "fvdw-sl NAS Management"
AuthUserFile    /var/run/.htpasswd
Require         valid-user

DirectoryIndex home.phproot@NAS:/ #
roman1000
 
Posts: 7
Joined: Sat Sep 07, 2013 9:33 am

Re: HELP! Cant enter the web-interface after upgrading to xf

Postby Jocko » Sat Sep 07, 2013 3:14 pm

Yes, it seems that there is a problem with the password. :scratch

I will send you a php script to restore the default password.
So wait a short time : I must write some php lines... and test them
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: HELP! Cant enter the web-interface after upgrading to xf

Postby roman1000 » Sat Sep 07, 2013 3:15 pm

This is really cool!
roman1000
 
Posts: 7
Joined: Sat Sep 07, 2013 9:33 am

Re: HELP! Cant enter the web-interface after upgrading to xf

Postby Jocko » Sat Sep 07, 2013 3:45 pm

I just sent you a pm

---edit---
file available here :http://www.plugout.net/viewtopic.php?f=7&t=1971
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: HELP! Cant enter the web-interface after upgrading to xf

Postby roman1000 » Sat Sep 07, 2013 3:52 pm

Thank you for your pm!

...aaaaaand: i am in the web interface!

Thank you so much Jocko for this lightning-fast help!
roman1000
 
Posts: 7
Joined: Sat Sep 07, 2013 9:33 am

Re: HELP! Cant enter the web-interface after upgrading to xf

Postby Jocko » Sat Sep 07, 2013 3:56 pm

Glad to hear this Roman.

About some settings missing in the NAS database.
You must create at least one user account and for the FTP feature, stop firstly the server and restart it to generate its default settings.
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Next

Return to Philips SPD8020

Who is online

Users browsing this forum: No registered users and 1 guest

cron