Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
fonz wrote:
DNS-323 Talker wrote:
I THINK THIS PRETTY MUCH MEANS SUCCESS!!!!
You didn't think of giving up, did you!?
Never! I was just worried that you guys might, and then I would have been sunk.
Offline
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
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
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.
Things are working fine w/the 15s sleep, but it's the weekend and I'll need something to futz with...
Offline
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! That's way too simple and direct...
Offline
Thats me - "KISS" - Keep It Simple Stupid
Myk
Offline
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
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
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
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
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
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
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.
Offline
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
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
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)
Offline
Guess I won't be touchin' that with a 10 foot pole. Thanks.
Offline
Consider using EXT2 and then using a module for windows to mount it. That seems to work good for a lot of us.
Offline
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
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.
Offline
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
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
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
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