DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-01-12 19:46:23

cinergi
Member
Registered: 2011-01-02
Posts: 14

Web interface bugs?

I've noticed a few minor bugs in the DNS-323's Web interface with FFP, twonky, cleanboot, fsck, and USB drive support installed on my unit:

- In the Tools > RAID > Auto-Rebuild Configuration section, there is a line of text above the Enable/Disable Auto-Rebuild buttons with information regarding the connected USB drive (name, size, etc.).  This text doesn't seem to belong there, and wasn't there before.

- In the Status > Device Info > Physical Disk Info section, there is only 1 drive listed although I have 2 HDDs running in RAID 1.  The Hard Drive Info section on the same page correctly shows 2 drives with RAID 1, and seem to be working properly.

Are these glitches normal with the above mods installed?

Thanks
cinergi

Offline

 

#2 2011-01-12 20:35:31

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: Web interface bugs?

Yes, when you install non-standard apps, then you must expect alternative behaviour. The Web Admin console is very crude in its operation and essentially parses text files to populate its content. When you alter the data so that the text is no longer in the expected locations, the UI displays strange values.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#3 2011-01-12 20:38:08

rsd76
Member
Registered: 2010-04-18
Posts: 47

Re: Web interface bugs?

I wouldn't call it a bug/glitch.

I just tested it with my own dns-323.
If I do not use a usb stick. All pages of the web interface are OK.
Loading the usb module(usb-storage.ko) and using blkid and mounting the stick I get your described "strangeness".
So I believe your usage of the usb drive is the culprit.

I do not believe this is a "bug" as the dns-323 doesn't support usb drives from the firmware.
This is added using ffp and other software.
So the programmers of the webinterface did not take this into account programming the interface.
Somehow the "extra" disk/drive "corrupts" the info shown.

Call it a feature...! smile Unwanted, but not dangereous (I believe).

So yeah what you see is correct. If I umount the drive and rmmod the usb module I get all "normal" pages again.


Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. (Calvin & Hobbes)

Offline

 

#4 2011-01-12 20:47:54

cinergi
Member
Registered: 2011-01-02
Posts: 14

Re: Web interface bugs?

Thanks, that's good to know.  I don't mind the glitches, but I thought they were symptomatic of a real problem.

On a related note, if I use the Web interface to change some settings, would it screw up the configuration text files since they're no longer in the standard format expected by the Web UI due to the additional software running on the box?

-cinergi

Offline

 

#5 2011-01-14 20:36:01

rsd76
Member
Registered: 2010-04-18
Posts: 47

Re: Web interface bugs?

There might be some problems, but may also not. Not sure. You need to know the coding of the web interface and script/programs used to change the configuration files.

Maybe it is an option to "overwrite" the config files after startup. The originals should still be in the flash.
There are some files located in /usr/sbin for changing settings. The might be run by the web interface.
For binary files you can try to run "strings /usr/sbin/config_set| less" to see readible strings in the code.

You could check some programs what they might do..

Might be also an useful program "/usr/sbin/config_set -b" created a tar-gzipped file /tmp/backup.tgz with important config files.

Keep in mind the programmers of the firmware probably did not really take into account the FFP, while they did make it possible with the fun_plug file.


Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. (Calvin & Hobbes)

Offline

 

#6 2011-01-15 06:09:02

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: Web interface bugs?

I'm pretty sure adding a USB drive screwed up the Samba page enough that I couldn't use it any more. I build it manually now.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#7 2011-01-15 16:01:34

bound4h
Member
Registered: 2010-04-12
Posts: 209

Re: Web interface bugs?

FunFiler wrote:

I'm pretty sure adding a USB drive screwed up the Samba page enough that I couldn't use it any more. I build it manually now.

What samba page are you referring to?  The status page on the web interface?

Offline

 

#8 2011-01-16 03:20:21

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: Web interface bugs?

The one where you setup shares. The list of existing shares and permissions is not correct.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#9 2011-01-16 04:22:14

bound4h
Member
Registered: 2010-04-12
Posts: 209

Re: Web interface bugs?

This must be a windows thing, with the Easy Setup/Share tool by DLINK?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB