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-04-16 20:23:40

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

browse files on usb stick

I mounted an usb stick on the nas and can check the contents via telnet. But it would be easier if i can browse the files on the stick with the windows explorer. Is this possible? The stick is formatted in ext2, and i checked with the ifs driver, but this one only sees harddrives and not usb sticks.

Offline

 

#2 2008-04-16 20:59:45

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

Re: browse files on usb stick

You can map the USB stick to a folder and then browse that folder with Windows, just as if it was any other drive on the NAS - is that what you wish to do, or do you specifically want to read the ext2 formatted USB stick directly connected to the Windows PC?

Offline

 

#3 2008-04-16 21:03:24

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

Re: browse files on usb stick

fordem wrote:

You can map the USB stick to a folder and then browse that folder with Windows, just as if it was any other drive on the NAS - is that what you wish to do, or do you specifically want to read the ext2 formatted USB stick directly connected to the Windows PC?

No i want to read it while connected to the nas, how do i map it to a folder?

Offline

 

#4 2008-04-17 00:39:05

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

Re: browse files on usb stick

The USB stick is recognized and mounted as a disk drive, you need to know the mount point - which unfortunately can be called anything that you choose to call it.

If you're using Fonz fun_plug, hold tight and he'll probably answer your question - if you've created your own fun_plug - take a look at this thread - http://dns323.kood.org/forum/t524-Mount … se%21.html - where DNS-323 Talker & I muddle our way through to success.

Offline

 

#5 2008-04-17 01:56:11

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

Re: browse files on usb stick

To find out the mount point, telnet to the DNS-323 and type "df -h"

This is from a DNS-323, FWv1.04, HWvB1, ffpv0.4, with a single 80Gb drive and a 2Gb USB stick

Code:

/ # df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/ram0                 9.7M      7.1M      2.1M  77% /
/dev/sda2                72.4G      4.2M     72.4G   0% /mnt/HD_a2
/dev/sda4               486.2M     21.0k    486.2M   0% /mnt/HD_a4
/dev/sdb1                 1.8G      2.8M      1.7G   0% /mnt/HD_a2/sdb1

Last edited by mig (2008-04-17 01:57:07)


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

 

#6 2008-04-18 03:42:27

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

Re: browse files on usb stick

Assuming you have mounted the USB device to a directory on the shared Hard Drive as in Mig's example above, you can just go to that folder in windows and you will see it.  If you map it to it's own location, then you will need to stop samba and edit the smb.conf file to include the USB device as a samba share.  Attached is a script I have in my funplug start directory to do this for me on start-up.

Here is an excerpt from a file I use called usb_smb.conf.  It is essentially the information I want to add to the smb.conf file on startup to add the USB device to my smaba shares.

Code:

[ USB_1 ]
comment =
path = /mnt/USB_1
valid users = jimmy
read only = no
guest ok = no
oplocks =  yes
map archive = yes

I keep this file in the /ffp/etc directory (in ffp ver 0.5) and he attached smb.sh script just uses the cat command to append it into the smb.conf file for the unit on startup.


Attachments:
Attachment Icon smb.sh, Size: 461 bytes, Downloads: 430

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

 

#7 2012-10-09 12:37:34

GiannisAth
Member
Registered: 2012-04-30
Posts: 9

Re: browse files on usb stick

Hello

Very usefull all that are said.
I can see the usb drive on my windows explorer (samba client)

But I cannot see usb at the web page of the dns 323.  I want to share usb using the internal ftp server.

There is any way to do this??

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB