Web interface

Web interface

Postby langerak » Sun Sep 04, 2011 2:17 pm

I'm not a PHP expert, but I might be able to assist in working with the web interface. There were some issues I've found:

- On a NS1, the login greeter says "Philips SPD8020 NAS", instead of something like "LaCie NetworkSpace 1".
- Some of the web interface parts are not completely translated to Dutch and found some minor spelling errors.

Some additional features would be nice:
- Smartctl output (not sure if the NS1 etc correctly reads that information ad needs testing) Not working, NS1 does not support smart states, might be kernel related or just a drawback from the device itself.
- A simple "ipkg" fronted allowing simple software installation.

I can't do all, but I am able to assist with some parts and features.

I've tried to mess with the interface, but to find out it is read only. Is there a way to make it rw on a running NS1? Or is that only possible by mounting the disk in a USB drive and mount that?
langerak
Developer
 
Posts: 57
Joined: Sat Jun 25, 2011 12:30 pm
Location: Rotterdam

Re: Web interface

Postby fvdw » Mon Sep 05, 2011 6:37 pm

most of those old Philips text will be taken out in version 9-0

The web interface files are not readonly you only need to be root to edit them, its not so easy to explain how it works, but basically all web interface files are in the system folder /usr/htdocs and the php scripts used in /etc/finc
In principle you can edit them on a running ns1, but I use winscp to copy them over to my windows pc and write them back after editing. Be aware to use a unix editor and not a dos text editor (some script do not like <cr><lf> to work properly

ipkg is "installed" but filling the the /opt directory with all kind of packages will fill up the relative small system partition rapidly. The system partition is kept small to be able to have a relative small firmware package. If you want o use many ipkg packages better to replace the /opt folder by a sym link to a folder on you data partition, needles to say that you need to copy the current content of the /opt folder to keep features working like nfs server and some more like minidlna
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands


Return to Development

Who is online

Users browsing this forum: No registered users and 14 guests