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

#51 2007-05-26 01:35:40

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

Re: Mount a USB disc...need just a little help to finish, please!

DNS-323 Talker wrote:

I THINK THIS PRETTY MUCH MEANS SUCCESS!!!!   big_smile

You didn't think of giving up, did you!?

Offline

 

#52 2007-05-26 04:13:47

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: Mount a USB disc...need just a little help to finish, please!

fonz wrote:

DNS-323 Talker wrote:

I THINK THIS PRETTY MUCH MEANS SUCCESS!!!!   big_smile

You didn't think of giving up, did you!?

smile 

Never!  I was just worried that you guys might, and then I would have been sunk.  wink


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#53 2007-06-02 01:39:50

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

Re: Mount a USB disc...need just a little help to finish, please!

DNS-323 Talker wrote:

I might set the delay to 60 and see what happens...I can wait a minute or two for USB drive access if that's all it will take.

I've been thinking about this and created a replacement for the fixed sleep time. It's a loop that checks /proc/partitions every other second until it finds the partition (or a 60 seconds timeout expires). I've attached the script. Edit options, disk and mountp (mountpoint). Uncomment ntfs if you need. It expects the kernel modules in fun_plug.d/bin/modules/ (instead of lnx_bin).

Since I don't have an external USB disk, I tested with a USB memory stick.

Last edited by fonz (2007-06-02 01:40:03)

Offline

 

#54 2007-06-02 02:53:17

mykroft
Member
Registered: 2007-05-12
Posts: 83

Re: Mount a USB disc...need just a little help to finish, please!

my suggestion is to load the modules in the funplug.... that is what I do

then by the time you get around to wanting to access the drive(s) the modules will be finished detecting the drive/partitions etc on it and mout up instantly....

Offline

 

#55 2007-06-02 10:31:44

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: Mount a USB disc...need just a little help to finish, please!

fonz wrote:

DNS-323 Talker wrote:

I might set the delay to 60 and see what happens...I can wait a minute or two for USB drive access if that's all it will take.

I've been thinking about this and created a replacement for the fixed sleep time. It's a loop that checks /proc/partitions every other second until it finds the partition (or a 60 seconds timeout expires). I've attached the script. Edit options, disk and mountp (mountpoint). Uncomment ntfs if you need. It expects the kernel modules in fun_plug.d/bin/modules/ (instead of lnx_bin).

Since I don't have an external USB disk, I tested with a USB memory stick.

Thanks, fonz..I'll download it and take a look at it.  smile 

Things are working fine w/the 15s sleep, but it's the weekend and I'll need something to futz with...


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#56 2007-06-02 10:34:35

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: Mount a USB disc...need just a little help to finish, please!

mykroft wrote:

my suggestion is to load the modules in the funplug.... that is what I do

then by the time you get around to wanting to access the drive(s) the modules will be finished detecting the drive/partitions etc on it and mout up instantly....

Awww, mykroft, where's your sense of fun!  wink  That's way too simple and direct...


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#57 2007-06-02 11:50:49

mykroft
Member
Registered: 2007-05-12
Posts: 83

Re: Mount a USB disc...need just a little help to finish, please!

Thats me - "KISS" - Keep It Simple Stupid smile

Myk

Offline

 

#58 2007-07-08 23:00:06

ischg
Member
Registered: 2007-06-22
Posts: 8

Re: Mount a USB disc...need just a little help to finish, please!

fonz wrote:

I've been thinking about this and created a replacement for the fixed sleep time. It's a loop that checks /proc/partitions every other second until it finds the partition (or a 60 seconds timeout expires). I've attached the script. Edit options, disk and mountp (mountpoint). Uncomment ntfs if you need. It expects the kernel modules in fun_plug.d/bin/modules/ (instead of lnx_bin).

Since I don't have an external USB disk, I tested with a USB memory stick.

I had the exact same problem as DNS-talker: mounting my USB stick using a fun_plug just didn't seem to work. Your script saved me a lot of headaches. Awesome!

Last edited by ischg (2007-07-08 23:03:20)

Offline

 

#59 2008-08-31 20:18:31

cash0
New member
Registered: 2008-08-31
Posts: 1

Re: Mount a USB disc...need just a little help to finish, please!

hi,

can somebody pls help. i have follow the instructions and i could not install the module. this is the error i got, but i do not know what it means.

/ # insmod /mnt/HD_a2/lnx_bin/usb-storage.ko
insmod: chdir(2.6.12.6-arm1): No such file or directory
/ # cd /mnt/HD_a2/lnx_bin/
/mnt/HD_a2/lnx_bin # insmod usb-storage.ko
insmod: chdir(2.6.12.6-arm1): No such file or directory

Offline

 

#60 2008-08-31 20:35:12

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

Re: Mount a USB disc...need just a little help to finish, please!

cash0 wrote:

can somebody pls help. i have follow the instructions and i could not install the module. this is the error i got, but i do not know what it means.

Current version of insmod is broken. Try /usr/sbin/insmod, or see the workaround mentioned here: http://dns323.kood.org/forum/p19914-Tod … tml#p19914

PS: I decided it's best to downgrade busybox to 1.11.2. I'll upload a new package and a new tarball within an hour.

Last edited by fonz (2008-08-31 21:03:24)

Offline

 

#61 2008-09-02 11:14:47

timezlicer
Member
Registered: 2008-09-02
Posts: 51
Website

Re: Mount a USB disc...need just a little help to finish, please!

insmod is not broken just that it is looking for modules in /lib/modules/2.6.12.6-arm1

do the following

mkdir /lib/modules/2.6.12.6-arm1
cp usb-storage.ko /lib/modules/2.6.12.6-arm1
depmod
modprobe usb-storage

Offline

 

#62 2008-09-02 11:23:16

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

Re: Mount a USB disc...need just a little help to finish, please!

timezlicer wrote:

it is looking for modules in /lib/modules/2.6.12.6-arm1

That's what modprobe is for. modprobe takes a module name and searches /lib/modules. But insmod is supposed to take a _file_ name. insmod in busybox 1.12.0 is broken. I have downgraded busybox to 1.11.2. Supposedly, there's a patch for insmod coming soon. We'll see if it fixes the problem.

Offline

 

#63 2008-09-20 19:17:46

dahlj
Member
Registered: 2008-06-21
Posts: 5

Re: Mount a USB disc...need just a little help to finish, please!

Hi, I'm trying to install funplug on the USB (acc to http://bfg100k.blogspot.com/search?q=ffp) and after having added the new funplug script and rebooted I can't even telnet any longer. The ffp.log says:

**** fun_plug script for DNS-323 (2008-04-13 tp@fonz.de) ****
Sat Sep 20 12:04:44 GMT 2008
Found usb-storage.ko module. Copying...
insmod usb-storage.ko
ln -snf /mnt/HD_a2/ffp /ffp
Waiting for 029a8b01-8b4d-41f8-a97a-27192170b6f4 (up to 30 seconds) ...
/dev/sdc1: UUID="029a8b01-8b4d-41f8-a97a-27192170b6f4" TYPE="ext2"
/dev/sdc1: UUID="029a8b01-8b4d-41f8-a97a-27192170b6f4" TYPE="ext2"
Success. Found 029a8b01-8b4d-41f8-a97a-27192170b6f4.
Mounting /dev/sdc1 on /mnt/USB
USB stick mounted
* Found FFP on USB device
ln -snf /mnt/USB/ffp /ffp
cp: /mnt/USB/ffp/etc/smb.conf: No such file or directory
$Shutting down SMB services:
$Shutting down NMB services:
$Starting SMB services:
$Starting NMB services:
* Running /ffp/etc/rc ...
* /ffp/start/rcS.sh ...
utmp:x:22:
* /ffp/start/adjtimex.sh inactive
* /ffp/start/passwd.sh ...
Saving /etc/passwd to /etc/passwd.orig ...
Changing shells: /bin/sh -> /ffp/bin/sh ...
Updating /etc/shadow ...
* /ffp/start/shells.sh ...
* /ffp/start/syslogd.sh inactive
* /ffp/start/SERVERS.sh inactive
* /ffp/start/usbdisk.sh inactive
* /ffp/start/portmap.sh inactive
* /ffp/start/unfsd.sh inactive
* /ffp/start/nfsd.sh inactive
* /ffp/start/ntpd.sh inactive
* /ffp/start/smartd.sh inactive
* /ffp/start/LOGIN.sh inactive
* /ffp/start/telnetd.sh inactive
* /ffp/start/svnserve.sh inactive
* /ffp/start/sshd.sh ...
Starting /ffp/sbin/sshd
* /ffp/start/samba.sh inactive
* /ffp/start/rsyncd.sh inactive
* /ffp/start/mysqld.sh inactive
* /ffp/start/mediatomb.sh inactive
* /ffp/start/kickwebs.sh inactive
* /ffp/start/lighttpd.sh inactive
* /ffp/start/inetd.sh inactive
* /ffp/start/dnsmasq.sh inactive
* /ffp/start/btpd.sh inactive
*  OK

Any ideas of what goes wrong? Should the bits between "#MS" and "# run commands" in the script have been removed?

Offline

 

#64 2008-09-20 21:58:04

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

Re: Mount a USB disc...need just a little help to finish, please!

Well, first, telnet is inactive. 

* /ffp/start/telnetd.sh inactive

I assume you are trying to use ssh?  That I cannot help with, but if you set telnetd.sh to executable, yo can then telnet in and see what's going on.


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

 

#65 2008-09-28 12:41:25

player
New member
Registered: 2008-09-28
Posts: 1

Re: Mount a USB disc...need just a little help to finish, please!

I am curious if someone was actually able to mount NTFS USB drive. I am using 1.05 firmware and ntfs.ko from http://dev.skcserver.de/dns323/, and I am getting segmentation fault every time I am trying to mount NTFS drive. And after that, I have to recycle the power to bring the system back.

Offline

 

#66 2008-11-09 17:52:54

andyss
Member
Registered: 2008-10-30
Posts: 9

Re: Mount a USB disc...need just a little help to finish, please!

player wrote:

I am curious if someone was actually able to mount NTFS USB drive. I am using 1.05 firmware and ntfs.ko from http://dev.skcserver.de/dns323/, and I am getting segmentation fault every time I am trying to mount NTFS drive. And after that, I have to recycle the power to bring the system back.

I am having the same problem with FW1.05/ntfs.ko quoted above. Was just wondering if anyone came up with a solution yet?

Offline

 

#67 2008-11-09 22:53:15

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

Re: Mount a USB disc...need just a little help to finish, please!

A warning.  I would let NTFS lie.  I did some playing around with it a year ago, and the module is either broken, of not compiled correctly for the newer DNS kernel.  I got it to mount a drive, however I lost 100% of the data on that drive within 10 minutes.  It is very unstable.

Last edited by bq041 (2008-11-09 22:53:45)


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

 

#68 2008-11-10 01:30:10

andyss
Member
Registered: 2008-10-30
Posts: 9

Re: Mount a USB disc...need just a little help to finish, please!

Guess I won't be touchin' that with a 10 foot pole.  Thanks.

Offline

 

#69 2008-11-11 00:35:27

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

Re: Mount a USB disc...need just a little help to finish, please!

Consider using EXT2 and then using a module for windows to mount it.  That seems to work good for a lot of us.


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

 

#70 2008-12-09 12:12:40

jonlad1
New member
Registered: 2008-12-09
Posts: 1

Re: Mount a USB disc...need just a little help to finish, please!

Hi,

This thread has been really helpful but I'm struggling writing anything to the USB drive. I have tried "umask=0" and "umask=0222" but i still cannot write anything to the drive. This is whats in my mountusb.sh:


#!/bin/sh
insmod /mnt/HD_a2/lnx_bin/usb-storage.ko
sleep 40
mount -t vfat -o umask=0 /dev/sdc1 /mnt/HD_a2/USB


I'm a bit stuck now! Can someone offer any assistance?

Cheers

Offline

 

#71 2008-12-10 05:36:42

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

Re: Mount a USB disc...need just a little help to finish, please!

Why do you want to use FAT32?  You may want to consider using EXT2 since it is native, and then use a module for Windows.  It work very well for me.


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

 

#72 2009-02-16 12:44:24

OverMaxx
New member
Registered: 2009-02-16
Posts: 2

Re: Mount a USB disc...need just a little help to finish, please!

all works fine, but im from Russia. and needed in folder and file name with Cyrillic symbol's.
but they not reading((
argument's codepage=866 and iocharset=koi8-r isn't helping((
please help me
sorry my English

Offline

 

#73 2009-05-21 17:57:14

Goldie
New member
Registered: 2009-05-21
Posts: 3

Re: Mount a USB disc...need just a little help to finish, please!

I already have fun_plug loaded from 2009-Jan-29.  I wanted to try getting a USB stick memory to mount.
I downloaded the " usb-storage.ko " and followed the directions.

I have had success in mounting the memory stick.  Thankyou for the directions posted here.

The memory stick that worked for me :
Kingston DataTraveler 4GB

My question is ... what is usbutils-0.73-1.tar  by fonz ? Should I have that loaded too, or is it already installed with
the fun_plug ?

Last edited by Goldie (2009-05-23 22:16:41)

Offline

 

#74 2009-05-21 18:05:09

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

Re: Mount a USB disc...need just a little help to finish, please!

Goldie wrote:

My question is ... what is usbutils-0.73-1.tar  by fonz ?

The package contains the lsusb program.

man lsusb

lsusb is a utility for displaying information about USB buses in the system and the devices connected to them.

Offline

 

#75 2009-05-22 07:45:35

Goldie
New member
Registered: 2009-05-21
Posts: 3

Re: Mount a USB disc...need just a little help to finish, please!

I would like to know if an " all-in-one " type card reader / writer can be made to work
on the USB port of the nas, and then making the card reader / writer a " network "
card reader / writer

Other similar name for all-in-one are 19-in-1 or 23-in-1

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB