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-08-12 16:35:55

timofej
Member
Registered: 2008-03-14
Posts: 27

To run fun_plug from an USB-stick

Hi,

I have dug the whole forum up and down but I cannot find any instructions about how to make fun_plug running from an USB flash drive. As I can see many of you have made it but no tutorial about it is available.

I have found some general steps in some threads but they are too general. Since I'm a newbie in Linux I need step by step instructions.

I'm running ffp 0,3 now but I'm planning to move to 0,5 during the upgrade of the HDDs. So, I want to do everything in one sweep.

Can somebody please provide detailed instructions on how to move ffp onto an USB stick or may be just give me a link if I've missed them somehow.

Thanks in advance!

Offline

 

#2 2008-08-12 17:26:16

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: To run fun_plug from an USB-stick

timofej wrote:

So, I want to do everything in one sweep.

Just at word of caution, it might be preferable to do your changes one at a time,
with a small period of time between each change to evaluate whether your DNS-323
is still functioning the way you want.

Trying to change many things all at once and obscure the root cause of a problem,
if you start to experience undesirable behavior of you DNS-323 during the modifications.


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#3 2008-08-12 17:31:34

timofej
Member
Registered: 2008-03-14
Posts: 27

Re: To run fun_plug from an USB-stick

mig wrote:

timofej wrote:

So, I want to do everything in one sweep.

Just at word of caution, it might be preferable to do your changes one at a time,
with a small period of time between each change to evaluate whether your DNS-323
is still functioning the way you want.

Trying to change many things all at once and obscure the root cause of a problem,
if you start to experience undesirable behavior of you DNS-323 during the modifications.

Thank you for the advice, mig. :-) I will keep it in mind.

However, I think that to move the fun_plug on the USB-stick is the first step to do, since all other services should have proper paths. That's why I started with this one. :-) Hope somebody can give me a hand.

Offline

 

#4 2008-08-12 17:39:19

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

Re: To run fun_plug from an USB-stick

timofej wrote:

However, I think that to move the fun_plug on the USB-stick is the first step to do

Won't work with 0.3, needs 0.5.

Offline

 

#5 2008-08-12 17:49:49

timofej
Member
Registered: 2008-03-14
Posts: 27

Re: To run fun_plug from an USB-stick

fonz wrote:

timofej wrote:

However, I think that to move the fun_plug on the USB-stick is the first step to do

Won't work with 0.3, needs 0.5.

Thank you for the notation, I didn't know that. I believe I've seen people installing the fun_plug on USB-stick long before 0.5 release. And before v0.4 for that matter. But may be I'm wrong and just imagine things.

But since I've decided to move to v0.5 anyway of cause I will install 0.5 first and THEN move it on the USB-stick. :-) But installing the fun_plug is easy - just unpack it. The only control that everything went fine is to establish a telnet connection. The problems usually start during installation of the services. That's why I need some help here.

Offline

 

#6 2008-08-12 17:55:19

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

Re: To run fun_plug from an USB-stick

timofej wrote:

Thank you for the notation, I didn't know that. I believe I've seen people installing the fun_plug on USB-stick long before 0.5 release. And before v0.4 for that matter. But may be I'm wrong and just imagine things.

You're not. People did put it on USB sticks. But it had problems that are solved in 0.5.

Offline

 

#7 2008-08-12 17:59:17

timofej
Member
Registered: 2008-03-14
Posts: 27

Re: To run fun_plug from an USB-stick

fonz wrote:

timofej wrote:

Thank you for the notation, I didn't know that. I believe I've seen people installing the fun_plug on USB-stick long before 0.5 release. And before v0.4 for that matter. But may be I'm wrong and just imagine things.

You're not. People did put it on USB sticks. But it had problems that are solved in 0.5.

Nice! :-) Now it's just to wait for a nice tutorial to implement the advantages of 0.5. :-D

Offline

 

#8 2008-08-13 15:26:17

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: To run fun_plug from an USB-stick

have look here, for me it worked very well:

http://bfg100k.blogspot.com/search/label/NAS%20Project

Last edited by knireis (2008-08-13 15:26:57)

Offline

 

#9 2008-08-13 15:41:22

timofej
Member
Registered: 2008-03-14
Posts: 27

Re: To run fun_plug from an USB-stick

knireis wrote:

have look here, for me it worked very well:

http://bfg100k.blogspot.com/search/label/NAS%20Project

Thank you knireis! Looks as a pretty detailed tutorial. Exactly what I was looking for. :-) Will try when I come home!

Offline

 

#10 2008-08-16 17:43:05

JackShepard
Member
Registered: 2007-10-03
Posts: 37

Re: To run fun_plug from an USB-stick

Hi!

I have some problems following this instruction. I thought that the whole ffp is loaded from the usb stick. So I deleted the folder on the hard disk. Afterwards ffp isn't executed anylonger.... How do I manage it that the ffp is completly loaded from the usb stick? Do I need to change the FFP_PATH inside the script?

BR,

JackShepard

Last edited by JackShepard (2008-08-16 17:49:15)

Offline

 

#11 2008-08-16 21:35:10

RunaR
Member
Registered: 2008-08-14
Posts: 49

Re: To run fun_plug from an USB-stick

The only thing that is still used in the HD fun_plug directory is the usb-storage.ko. You could leave the ffp directory on the HD as a backup. In case the USB stick fails for what ever reason.

Last edited by RunaR (2008-08-16 22:05:19)

Offline

 

#12 2008-08-17 00:51:01

timofej
Member
Registered: 2008-03-14
Posts: 27

Re: To run fun_plug from an USB-stick

Hmm. I'm in trouble trying following the instructions.

Here is what I did:

- installed fun_plug 0.5 (on fw 1.05).
- attached the USB stick (2 GB, FAT16)
- copied usb-storage.ko to /ffp/lib/modules/[kernel_version]/ as described in the article
- ran ". ./usbdisk.sh" and got:

Code:

Usage: sh start|stop|restart|status
Connection closed by foreign host.

No good. Tried the approach to mount USB drive as described in wiki:

Code:

/mnt/HD_a2/lnx_bin # insmod usb-storage.ko
/mnt/HD_a2/lnx_bin # dmesg

and got a loooong message that ended with:

Code:

Initializing USB Mass Storage driver...
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
  Vendor: Kingston  Model: DataTraveler 2.0  Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sdc: 3930112 512-byte hdwr sectors (2012 MB)
sdc: Write Protect is off
sdc: Mode Sense: 23 00 00 00
sdc: assuming drive cache: write through
SCSI device sdc: 3930112 512-byte hdwr sectors (2012 MB)
sdc: Write Protect is off
sdc: Mode Sense: 23 00 00 00
sdc: assuming drive cache: write through
 sdc:<6>SCSI error : <4 0 0 0> return code = 0x70000
end_request: I/O error, dev sdc, sector 0
Buffer I/O error on device sdc, logical block 0
SCSI error : <4 0 0 0> return code = 0x70000
end_request: I/O error, dev sdc, sector 0
Buffer I/O error on device sdc, logical block 0
 unable to read partition table
Attached scsi removable disk sdc at scsi4, channel 0, id 0, lun 0
Attached scsi generic sg2 at scsi4, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete

The USB stick seems have not been mounted. "SCSI error", whatever it means. What is the problem? Can somebody help me out please?

My questions are:

1. Why didn't it work in the first place (when I ran ". ./usbdisk.sh")?
2. Why does the USB stick have these SCSI errors? What should I do to move on?
3. The unpacked ffp directory seems to be 6.12(!) GB (see the attached screen shot). I downloaded just a small 9.9 MB package fun_plug.tz and got 6.12 GB unpacked data. Is it possible? If this is correct it will never get enough space on my stick. Or have I misunderstood all of it?

*edit* used Preview and the attachment disappeared.

Last edited by timofej (2008-08-17 01:08:17)


Attachments:
Attachment Icon Bild 1.png, Size: 47,736 bytes, Downloads: 134

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB