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 2008-09-02 17:07:06

rooney
Member
Registered: 2008-09-02
Posts: 6

Fun_Plug: ROM, RAM or HDD

Where will the fun_plug be installed? In RAM, ROM or HDD?

Will there be done any changes on the firmware that is located in ROM? I'm a little bit confused as in the wiki it is sometimes mentioned that I can easily brick my unit... but that may only be possible if I change something in the ROM,.

Can I uninstall fun_plug if don't want to use it?

Regards
Rooney

Offline

 

#2 2008-09-02 17:48:58

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

Re: Fun_Plug: ROM, RAM or HDD

rooney wrote:

Where will the fun_plug be installed? In RAM, ROM or HDD?

Will there be done any changes on the firmware that is located in ROM? I'm a little bit confused as in the wiki it is sometimes mentioned that I can easily brick my unit... but that may only be possible if I change something in the ROM,.

Can I uninstall fun_plug if don't want to use it?

ffp is installed on hard disk. On startup, it will make some changes to the ramdisk (see /ffp/etc/fun_plug.init). These are:
- create missing /dev/random
- create missing /dev/ptmx and mount /dev/pts
- fix permission bits of /dev/null and /dev/tty
- add utmp group for accounting files, and create accounting files /var/log/{utmp,btmp,lastlog,wtmp}
- add /ffp/bin/sh and /ffp/bin/bash to /etc/shells
As the changes are made to the ramdisk, they will not persist across reboots. If you remove ffp and reboot, everything will be back to normal (exception: store-passwd.sh).

The only permanent changes are made by store-passwd.sh which you need to invoke yourself manually (see wiki howto:ffp).

Offline

 

#3 2008-09-02 18:04:36

rooney
Member
Registered: 2008-09-02
Posts: 6

Re: Fun_Plug: ROM, RAM or HDD

Thanks a lot, so I don't have to be afraid to "kill" my firmware and losing warranty...

Offline

 

#4 2008-09-02 18:15:36

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: Fun_Plug: ROM, RAM or HDD

Just make sure to stay away from things that talk about changing the backup configuration file that cam be saved from within the web interface.  That is a sure fire way to be in a real world of hurt, real fast.


DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

#5 2008-09-02 18:26:59

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

Re: Fun_Plug: ROM, RAM or HDD

I hope you enjoy ffp. Contributions are welcome.

Offline

 

#6 2008-09-02 19:16:00

rooney
Member
Registered: 2008-09-02
Posts: 6

Re: Fun_Plug: ROM, RAM or HDD

I've just installed the ffp and it works great.

You said that store-passwd.sh will do some changes in ROM. Can those changes be reversed if necessary? By a firmware update?

Offline

 

#7 2008-09-02 20:34:46

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

Re: Fun_Plug: ROM, RAM or HDD

rooney wrote:

I've just installed the ffp and it works great.

You said that store-passwd.sh will do some changes in ROM. Can those changes be reversed if necessary? By a firmware update?

store-passwd.sh copies the linux and samba password files to flash. You can, of course, save the current versions and restore them manually, later. Also, there are tools to modify these files, so you can reverse any changes you make. Finally, a reset (that button at the back side) might restore default versions of these files.

The files saved to flash are /etc/passwd, /etc/group, /etc/shadow, /etc/samba/smbpasswd
Look at the contents of store-passwd.sh for details.

Offline

 

#8 2008-10-15 21:06:49

rooney
Member
Registered: 2008-09-02
Posts: 6

Re: Fun_Plug: ROM, RAM or HDD

Sorry for begging, but as I'm not really familiar to linux, I don't know how to restore them manually.

Where to find store-passwd.sh?

Are any changes lost during a firmware update?

Offline

 

#9 2008-10-15 21:25:44

luusac
Member
Registered: 2008-04-29
Posts: 360

Re: Fun_Plug: ROM, RAM or HDD

rooney wrote:

Where to find store-passwd.sh?
Are any changes lost during a firmware update?

ffp/sbin/store-passwd.sh (in ffp 0.5 that is)
no

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB