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 2010-02-18 10:55:24

djcult
Member
Registered: 2008-07-07
Posts: 12

Offline

 

#2 2010-02-18 13:20:49

Whistle Master
Member
Registered: 2010-01-21
Posts: 15

Re: Firmware v1.08 released

Installed this morning and everything is fine for the moment !

Offline

 

#3 2010-02-18 16:39:22

kdee
Member
Registered: 2007-05-27
Posts: 17

Re: Firmware v1.08 released

Installed. Working. No issues thus far.

Offline

 

#4 2010-02-18 17:31:45

rcblackwell
Member
From: Pickering, ON
Registered: 2008-05-19
Posts: 204
Website

Re: Firmware v1.08 released

Installed this morning. Although installation went okay I'm now unable to log into the root account using telnet or WinSCP.

I've tried using both the PW I set for the root account and no password. I'm able to login okay using another account however that account won't allow me access to the volumes. With this account I'm caught in the BusyBox shell and cannot get out.

Any pointers would be appreciated.


Bob Blackwell
Pickering, ON

Offline

 

#5 2010-02-18 18:34:03

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Firmware v1.08 released

Please post your ffp.log. Also, have you tried the 'recovery fun_plug' that reenables password-less telnet? (see root user section in the ffp howto)

Offline

 

#6 2010-02-19 01:01:26

7oby
Member
Registered: 2008-11-10
Posts: 12

Re: Firmware v1.08 released

Does the Vista gadget work with 1.08?
http://philwigglesworth.net/BlogEngine. … adget.aspx

Anything special regarding an existing fun plug 0.5 installation?

Anyone test that feature?
39. Normal to Raid1: Creates a new volume for the remaining disk space after creating the Raid partition.

Offline

 

#7 2010-02-19 04:21:43

rcblackwell
Member
From: Pickering, ON
Registered: 2008-05-19
Posts: 204
Website

Re: Firmware v1.08 released

fonz wrote:

Please post your ffp.log. Also, have you tried the 'recovery fun_plug' that reenables password-less telnet? (see root user section in the ffp howto)

I tried the 'recovery fun_plug' which at first didn't seem to work. I finally managed to restore access following a third reboot. Must have something to do with the way I have the environment set up; FFP on a USB stick. I need to do a little clean-up but otherwise things appear to be working correctly again.

Thanks for stepping in to help.


Bob Blackwell
Pickering, ON

Offline

 

#8 2010-03-09 21:37:24

En3rGy
Member
Registered: 2010-03-09
Posts: 6

Re: Firmware v1.08 released

The fanspeed command works with the 1.08 firmware as followed:

Code:

root@dlink:~# fanspeed w 1000
fanspeed - query and set the FAN Speed control

Usage: fanspeed [function]

Functions:
 h     high speed(7000rpm)
 l     low speed(2700rpm) 
 s     stop fan 
 g     get fan status
      the below option only support in a1 and b1 hardware board  
 w rpm,    set fan speed(rpm range:0 for stop, 2700~7000) 
root@dlink:~#

Look's like all fanspeed control skripts use the "fanspeed w" command. Any solution for hardware boards other than a1 or b1? Which other boards does exist?

Offline

 

#9 2010-03-10 15:50:00

Pejn
Member
Registered: 2007-12-17
Posts: 61

Re: Firmware v1.08 released

7oby wrote:

Does the Vista gadget work with 1.08?
http://philwigglesworth.net/BlogEngine. … adget.aspx

Works for me in Win 7 and 1.08.

Offline

 

#10 2010-03-11 16:53:05

erv2
New member
Registered: 2009-04-01
Posts: 4

Re: Firmware v1.08 released

i have been using the 1.08 firmware for a while, so far alright.

until today i put a new 1T seageat harddisk into the 2nd bay, it detects it, but no able to format it, had to downgrade back to 1.07 to format then upgraded it back.

Offline

 

#11 2010-03-11 17:08:43

obveron
Member
Registered: 2008-11-01
Posts: 36

Re: Firmware v1.08 released

I'm currently on FW 1.05 with ffp 0.5 and running only 2 apps, transmission and ushare.

should i remove ffp 0.5 and apps before flashing to FW 1.08 and then reinstall ffp and apps?
or will ffp and apps still work if I flash to fw 1.08 without doing anything else?

thanks for any info.

Offline

 

#12 2010-03-11 21:16:54

wortelsoft
Member
From: Netherlands
Registered: 2009-06-08
Posts: 52

Re: Firmware v1.08 released

I would rename the fun_plug file. Then reboot the nas. Then do the firmware upgrade, and then rename fun_plug file again to it's original.

Offline

 

#13 2010-03-11 21:44:03

obveron
Member
Registered: 2008-11-01
Posts: 36

Re: Firmware v1.08 released

thanks for the suggestion, i'll give that a go!

Offline

 

#14 2010-03-14 00:30:22

jesbo
Member
From: Falls Church, VA
Registered: 2008-08-28
Posts: 101

Re: Firmware v1.08 released

I noticed in the readme for 1.08 that EXT3 is now supported.  Any reason I should rebuild my RAID-1 array and restore all data on an EXT3 raid array?  Also, I plan to disable fun_plug, reboot, upgrade the firmware from 1.06 to 1.08 and then re-enable fun_plug. Is that safe? (The Raid-1 array will be backed up to tape first).


DNS-323 (H/W ver. B1) |  2 x 1 TB WD Caviar Black (Raid 1) | Corsair Flash Voyager - 16 GB USB | FW 1.08 | fun_plug 0.5

Offline

 

#15 2010-03-14 02:55:40

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Firmware v1.08 released

Perhaps you should research the advantages/disadvantages of the two file systems and then make an informed decision - theoretically ext3 provides additional reliability through the use of journalling, at the expense of performance.

Since the additional reliability centers around the reduced possibility of data loss in the event of a power failure (or similar abrupt shut down) in "mid-write", assuming you're not maintaining some sort of real-time transactional database on the DNS-323 (I'm not) and it's protected from a power failure by a UPS (mine is), I fail to see the need, and am therefore unwilling to sacrifice the performance (in my tests around 33% less throughput).

Your plans for an upgrade path appear to be sound.

Offline

 

#16 2010-03-14 05:13:12

jesbo
Member
From: Falls Church, VA
Registered: 2008-08-28
Posts: 101

Re: Firmware v1.08 released

Thanks... My first inclination regarding a change from EXT2 to EXT3 was to not mess with it.  The DNS has been rock solid running 2x 1TB in Raid-1 with EXT2 and I do have it on a UPS (although its not configured to auto-shutdown).  So I think for now just a simple upgrade to 1.08 is all I really need.

Last edited by jesbo (2010-03-14 22:49:59)


DNS-323 (H/W ver. B1) |  2 x 1 TB WD Caviar Black (Raid 1) | Corsair Flash Voyager - 16 GB USB | FW 1.08 | fun_plug 0.5

Offline

 

#17 2010-03-14 21:06:36

j.smith
Member
Registered: 2010-03-12
Posts: 10

Re: Firmware v1.08 released

The ext3 file system also provides considerable benefits when it comes to running file system checks (fsck) to check disk consistency and/or fix broken files.  The journal can be consulted for how the data should be and easily fixed - a fsck scan could take a lot less time compared to an ext2 filesystem.

Considering lots of people run various apps (bittorrent is a good example) that do hit the disk once in a while (or a lot), or even run custom linux programs (which may prevent the disks from being safely unmounted on a reboot), it's actually probably a good idea to switch to ext3.

I can't say with any proof, but I bet any performance gains you get from using ext2 over ext3 are quite likely completely nullified or insignificant when trying to copy files via SMB/CIFS.  I get about 10M/s if I'm lucky with jumbo frames on a GigE network, which isn't enough to stress the hdd's in the NAS.  Besides, if you use the NAS enough to make use of the potential performance benefits of ext2 (if there are any), chances are you're using the NAS in such a way that you would actually be safer using ext3.

On a completely unrelated topic of fw 1.08, it seems that they have finally encrypted (or done something) to the exported configuration data.  In 1.07, if you exported the configuration, it was a plain text file which could be edited.  In 1.08, it is now garbled binary data, no longer allowing us to tinker with the configuration data as easily.

Offline

 

#18 2010-03-14 21:36:23

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Firmware v1.08 released

j.smith wrote:

The ext3 file system also provides considerable benefits when it comes to running file system checks (fsck) to check disk consistency and/or fix broken files.  The journal can be consulted for how the data should be and easily fixed - a fsck scan could take a lot less time compared to an ext2 filesystem.

A matter of opinion that I am not prepared to debate - let me ask you this however - in your average linux system, how often do you run a file system check?  When & why is this necessary?

I can't say with any proof, but I bet any performance gains you get from using ext2 over ext3 are quite likely completely nullified or insignificant when trying to copy files via SMB/CIFS.  I get about 10M/s if I'm lucky with jumbo frames on a GigE network, which isn't enough to stress the hdd's in the NAS.  Besides, if you use the NAS enough to make use of the potential performance benefits of ext2 (if there are any), chances are you're using the NAS in such a way that you would actually be safer using ext3.

Do the tests - I have, there is a distinct drop in throughput - and since I see no benefit to using ext3, why should I give up any performance at all.

On a completely unrelated topic of fw 1.08, it seems that they have finally encrypted (or done something) to the exported configuration data.  In 1.07, if you exported the configuration, it was a plain text file which could be edited.  In 1.08, it is now garbled binary data, no longer allowing us to tinker with the configuration data as easily.

Yes - it is now a binary file - it also prevents the noobs amongst us from screwing up the configuration as easily.

Offline

 

#19 2010-03-14 23:21:47

jesbo
Member
From: Falls Church, VA
Registered: 2008-08-28
Posts: 101

Re: Firmware v1.08 released

Upgraded to 1.08. Seems to be working fine.  Went through all the config screens in the Web UI, and all settings seem to be in tact.  Unit appears to be working as before the upgrade. Does not appear that a reset to defaults/redo all configuration is necessary.


DNS-323 (H/W ver. B1) |  2 x 1 TB WD Caviar Black (Raid 1) | Corsair Flash Voyager - 16 GB USB | FW 1.08 | fun_plug 0.5

Offline

 

#20 2010-03-15 03:11:33

DaveN
Member
Registered: 2008-01-12
Posts: 21

Re: Firmware v1.08 released

fordem wrote:

j.smith wrote:

On a completely unrelated topic of fw 1.08, it seems that they have finally encrypted (or done something) to the exported configuration data.  In 1.07, if you exported the configuration, it was a plain text file which could be edited.  In 1.08, it is now garbled binary data, no longer allowing us to tinker with the configuration data as easily.

Yes - it is now a binary file - it also prevents the noobs amongst us from screwing up the configuration as easily.

Open the configuration file in 7-zip.  This will give you access to all the configuration items inside.  See the attached screenshot.

Cheers,
DaveN


Attachments:
Attachment Icon dns-323_New_CfgBackup.jpg, Size: 102,146 bytes, Downloads: 316

Offline

 

#21 2010-03-15 21:25:58

j.smith
Member
Registered: 2010-03-12
Posts: 10

Re: Firmware v1.08 released

DaveN wrote:

Open the configuration file in 7-zip.  This will give you access to all the configuration items inside.  See the attached screenshot.

Cheers,
DaveN

Very good to know - I had opened it notepad to see if I noticed anything in the first few bytes as to what file type it was, but didn't see anything, and I was too lazy to put it on a linux system to run "file" to see what it could turn up.  Nice to know it's only 7-zipped.

Offline

 

#22 2010-03-15 21:30:36

j.smith
Member
Registered: 2010-03-12
Posts: 10

Re: Firmware v1.08 released

fordem wrote:

A matter of opinion that I am not prepared to debate - let me ask you this however - in your average linux system, how often do you run a file system check?  When & why is this necessary?

I don't use linux as a workstation, only as servers, so the answer is actually, quite few (hopefully), however I do set my systems to force a fsck after some mounts/uptime... though that does honestly rarely ever get triggered since the systems stay up for a long time.  However... because they are servers, and I KNOW that if I ever reboot them or something happens and they have to power up, that the time to run an fsck would be a long time (had it happen in the past... wondered why a server took like 1hr to come up).  So for that reason, I really prefer to have it as ext3 so that my boots aren't overly delayed due to fscks.

fordem wrote:

Do the tests - I have, there is a distinct drop in throughput - and since I see no benefit to using ext3, why should I give up any performance at all.

I noticed that you had mentioned that after I posted - I admit I haven't done any tests, though for me personally I don't mind giving up some performance to use ext3.  I don't do transfer-heavy stuff to my NAS... it's just a backup system for me.

Offline

 

#23 2010-03-16 06:32:33

edmikeca
Member
Registered: 2010-03-16
Posts: 12

Re: Firmware v1.08 released

Good day,
I have a very little experience with this gizmo, so I was wondering what would be the safest way to upgrade firmware from 1.07 to 1.08? Currently I have 1 hdd in the box and I don’t have any spare room for backup. Should I remove hdd from the box during firmware upgrade or it is safe to leave it there.
Thanks

Offline

 

#24 2010-03-16 14:07:21

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Firmware v1.08 released

Let me put it this way - without a backup, your data is at risk - you could lose just as easily removing & replacing the disk as you can leaving it in place.  You could decide not to upgrade until you have backed it up and then lose it 30 seconds later in a power failure.

Having said that - the risk of losing it during a firmware upgrade from 1.07 to 1.08 is, in my opinion, minimal, the firmware changes do not require a reformat and should not cause one to occur, so your data should be safe whether the upgrade is done with the disk in situ or removed - so the question becomes, (and I paraphrase Microsoft here smile ) what chance do you want to take today ...

a) Loss of data due to inactivity?
b) Loss of data caused by disk removal?
c) Loss of data caused by disk replacement?
d) Loss of data caused by a firmware upgrade with the disk in place?
e) Loss of data caused by a firmware upgrade with the disk removed?

In case you're curious. the order of those options is based on the length of the line, nothing more sinister - the risk is the same for all - in my opinion slim to nil - so, do you feel lucky?  Well - do ya?

Offline

 

#25 2010-03-17 01:57:54

edmikeca
Member
Registered: 2010-03-16
Posts: 12

Re: Firmware v1.08 released

I agree with you in terms of backup/loosing data. I would like to upgrade to next version to take advantages of ext3 file system. So my plan is to: 1. upgrade to new firmware; 2 install second hdd and format it with ext3; 3 backup data; 4 possibly reformat first hdd with new files system and return data. Does it make sense or it makes sense for me only?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB