Setting up USB 2TB NTFS Samba share

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2
Author Message
Masterman
DD-WRT Guru


Joined: 24 Aug 2009
Posts: 2070
Location: South Florida

PostPosted: Sat May 15, 2010 17:18    Post subject: Reply with quote
reverson1 wrote:
This may work:

Telnet into the router
login
Enter the following:
service samba on
service samba start

hth


More like

service xinetd on
service xinetd start

This will handle the SWAT web interface. Samba is enabled by default and can be accessed via My Network Places in Windows using the \\192.168.1.1\share address

_________________
Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
Sponsor
reverson1
DD-WRT User


Joined: 21 Apr 2010
Posts: 60

PostPosted: Sat May 15, 2010 18:23    Post subject: Reply with quote
bhall7 wrote:
http://routerip:901


Afaik, this is SWAT - so xinetd is starting. But not samba....
bhall7
DD-WRT Novice


Joined: 13 May 2010
Posts: 6

PostPosted: Sat May 15, 2010 22:01    Post subject: Reply with quote
Yeah, I was hoping that "ipkg-opt install samba35-swat" would add samba as a service, however, I only have the following services (see attached screenshot). I need to be able to do both file and printer sharing. I'm seriously considering rolling back to the ASUS firmware because NTFS file sharing and printer sharing just worked right out of the box (although I'm clearly making major tradeoffs by abandoning DD-WRT until these issues get fixed).


Services.png
 Description:
 Filesize:  42.86 KB
 Viewed:  17285 Time(s)

Services.png


reverson1
DD-WRT User


Joined: 21 Apr 2010
Posts: 60

PostPosted: Sat May 15, 2010 22:10    Post subject: Reply with quote
Don't know what to tell you, I installed optware and samba came with it.
crashfly
DD-WRT Guru


Joined: 24 Feb 2009
Posts: 2026
Location: Sol System > Earth > USA > Arkansas

PostPosted: Sat May 15, 2010 23:28    Post subject: Reply with quote
frater's "Optware the Right Way" installs the ntfs module for 2.4 kernels only. Because the module is currently not working with the 2.6 kernels, I do not think the ntfs module gets installed.

One thing that could possibly be done is to "downgrade" your firmware to the 2.4 kernel (if your router supports it). I am not entirely sure what you gain by using the 2.6 kernel, but it appears the compatibility is a bit better with the 2.4 kernel.

_________________
E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]

Try Dropbox for syncing files - get 2.5gb online for free by signing up.

Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
fggs
DD-WRT Guru


Joined: 28 Jan 2008
Posts: 1741

PostPosted: Sat May 15, 2010 23:44    Post subject: Reply with quote
The ntfs module will only give read permission and it's deprecated in k2.6, which is why people use ntfs-3g and it uses fuse module, giving read/write permissions.
bhall7
DD-WRT Novice


Joined: 13 May 2010
Posts: 6

PostPosted: Sun May 16, 2010 0:30    Post subject: Reply with quote
I just loaded up Tomato USB on my Asus RT-N16 (https://sourceforge.net/projects/tomatousb/)...seriously amazing! It just works, and is so clean and simple to use! I am very impressed with Tomato so far! DD-WRT has some serious competition, which is a good thing, make no mistake. :-)

Check out the USB storage and file sharing options available in the screenshot.



tomato.png
 Description:
 Filesize:  35.98 KB
 Viewed:  17256 Time(s)

tomato.png


crashfly
DD-WRT Guru


Joined: 24 Feb 2009
Posts: 2026
Location: Sol System > Earth > USA > Arkansas

PostPosted: Sun May 16, 2010 3:43    Post subject: Reply with quote
Not impressed. I will stick with DD-WRT. While you may think it has deficiencies, at least *I* can help keep it getting better.
_________________
E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]

Try Dropbox for syncing files - get 2.5gb online for free by signing up.

Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
stuntsy99
DD-WRT User


Joined: 04 Aug 2009
Posts: 79

PostPosted: Sun May 16, 2010 6:25    Post subject: Reply with quote
crashfly wrote:
frater's "Optware the Right Way" installs the ntfs module for 2.4 kernels only. Because the module is currently not working with the 2.6 kernels, I do not think the ntfs module gets installed.



Frater's Optware Script (Latest) wrote:

if [ $k26 == 1 ] ; then
wget -O /opt/etc/init.d/S01fixparts http://wd.mirmana.com/S01fixparts
chmod +x /opt/etc/init.d/S01fixparts

ipkg-opt install ntfs-3g
ipkg-opt install ntfsprogs

mkdir -p /opt/lib/modules/$KERNEL

wget -O /opt/lib/modules/$KERNEL/fuse.ko ftp://ftp.dd-wrt.com/others/eko/Public/modules/$KERNEL/fuse.ko
chmod +x /opt/lib/modules/$KERNEL/fuse.ko
fi
fggs
DD-WRT Guru


Joined: 28 Jan 2008
Posts: 1741

PostPosted: Sun May 16, 2010 6:33    Post subject: Reply with quote
Like I said, ntfs module is deprecated on K2.6, now they use fuse module and ntfs-3g.

Thanks for confirming that stuntsy99
Masterman
DD-WRT Guru


Joined: 24 Aug 2009
Posts: 2070
Location: South Florida

PostPosted: Sun May 16, 2010 13:25    Post subject: Reply with quote
I had NO problems hooking up my 1 TB NTFS drive to My RT-N16 and having it recognized and R/W. Fraters script took care of it perfectly.


You just have to make sure you umount the /mnt drive that is already there before you do so Wink

_________________
Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
jayjay
DD-WRT Novice


Joined: 29 May 2010
Posts: 1

PostPosted: Sun May 30, 2010 0:56    Post subject: Reply with quote
Hi folks, i am looking for some help here please,

i have a linksys wrt-610n v2 with DD WRT build 14311 Mega

I am trying to achieve what i see as a basic task, yet it has become so annoyingly overcomplicated, i am considering reverting to linksys firmware.

The firmware looks to have a million options all of which look pretty useless to me, yet a simple drive mount and i gotta jump through hoops? it is no suprise linux is not more used commercially.... as i know from having linux on my laptop that it is just not user friendly at all.

Anyway, I have read everything in this thead, and still getting nowhere

i need to mount an ntfs drive, so it can be used over my network by all clients and accessible in windows 7 without having to use 3rd party software, is this possible? if not please save me from this and tell me and i will get shot of dd wrt.

Here is where i am so far,

i have enabled all the usb options, and get the same output that someone else had here, along the lines of Status: Not mounted - Unsupported file system or disk not formated

i followed the link to optware, and then tried some things here such as..

1) choose opt as my mounmt point..
2) Telnet into the router and issued the command 'Mount' which produces the following


root@DD-WRT:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
devpts on /proc/bus/usb type usbfs (rw)


which clearly is missing the usb drive, i assume due to the fact it said it wasn't mounted.

So, more reading, i learn i have k24 so think ok i need this ntfs-3g, so i try to install that.

ERROR: File not found: /jffs/usr/lib/ipkg/lists/whiterussian
You probably want to run `ipkg update'
ERROR: File not found: /jffs/usr/lib/ipkg/lists/non-free
You probably want to run `ipkg update'
ERROR: File not found: /jffs/usr/lib/ipkg/lists/backports
You probably want to run `ipkg update'
/bin/ipkg: line 1189: can't open /jffs/usr/lib/ipkg/status: no such file
/bin/ipkg: line 1189: can't create /jffs/usr/lib/ipkg/status: nonexistent direct
ory
/bin/ipkg: line 1189: can't create /jffs/usr/lib/ipkg/status: nonexistent direct
ory
ERROR: File not found: /jffs/usr/lib/ipkg/lists/whiterussian
You probably want to run `ipkg update'
ERROR: File not found: /jffs/usr/lib/ipkg/lists/non-free
You probably want to run `ipkg update'
ERROR: File not found: /jffs/usr/lib/ipkg/lists/backports
You probably want to run `ipkg update'
ipkg_get_install: ERROR: Cannot find package ntfs-3g in /jffs/usr/lib/ipkg/lists
ipkg_get_install: Check the spelling and maybe run `ipkg update'.
/bin/ipkg: line 1189: can't open /jffs/usr/lib/ipkg/status: no such file

so, i try ipkg update

and nothing happens....... just like if i were to press enter without typing anything at all,.... nice and helpful!!

btw, i tested ping yahoo.com so i have internet access from telnet..

also, if i try service.. anything i get -sh: service: not found

What on earth do i have to do to get this working? this feels more of a downgrade than upgrade, i have lost features i need, and gained a host of features i may never use...

i am actually amazed i don't need to run things in the command just to get it to give me internet..

Thanks for reading, and sorry for the mini rant, it is just so frustrating
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum