Guide: NTFS Read/Write support now possible! (K2.4 & 2.6

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4 ... 11, 12, 13  Next
Author Message
fggs
DD-WRT Guru


Joined: 28 Jan 2008
Posts: 1741

PostPosted: Sun Jan 03, 2010 6:41    Post subject: Reply with quote
After some tests I'll put your files at the first post.
Sponsor
got_milk
DD-WRT User


Joined: 05 Dec 2009
Posts: 377
Location: Toronto, Canada

PostPosted: Sun Jan 03, 2010 6:42    Post subject: Reply with quote
fggs wrote:
After some tests I'll put your files at the first post.


Thanks fggs Very Happy

_________________
Peacock Thread | Wireless Drops/Slow? Got an Intel Card? Read this! | BrainSlayer Builds | Eko Builds

Netgear WNDR3700 - OpenWRT Kamikaze Bleeding Edge Trunk Builds
(retired) Linksys WRT310N v1 - DD-WRT v24-sp2 build 15693 std-nokaid-small NEWD2 K2.6
dr_d
DD-WRT Novice


Joined: 02 Jan 2010
Posts: 1

PostPosted: Sun Jan 03, 2010 10:36    Post subject: Reply with quote
Hi pokazene_maslo,

The clue for the failure in finding /opt might be in that it worked until the router restart. If the router has two USB ports, the problem might be that /opt was mounted on a different host, ie host1 and not host0.

ntfs-3g /dev/scsi/host0/bus0/target0/lun0/part1 /mnt

if you issue the command mount, you can see what is mounted.

If you don't see the /opt then you might consider not using the automount, and adding some startup commands as noted in the USB storage wiki:
http://www.dd-wrt.com/wiki/index.php/USB_storage#v24TNG_-_Step_3.A-C

this can also apply for NTFS storage device as well, as it could also be on the on host1 as well.


As for your other question, in terms of installing to an external disk and using NTFS. Since, NTFS is not native, it would be safer to partition your disk to have two partitions. One for optware (Ext3), and another for the NTFS. That way you could install more and more packages, as well as have access via Windows NT/XP/Vista etc. Or, you can simply format everthing as Ext3 and then run the opensource ext2fsd to access the ext3 partition under windows when you will be connecting the drive directly. Since that usually means unmounting it, it is more likely that you would like to use something like Samba and then get network access to the drive.



best D
_NemO_
DD-WRT User


Joined: 27 Sep 2009
Posts: 86
Location: Ukraine, Kiev

PostPosted: Sun Jan 03, 2010 18:53    Post subject: Reply with quote
Excellent! I connected the memory card, SanDisk 8 GB Class 4 through the card reader SanDisk MicroMate Mobile and received a reading speed of 4.5 MB / s and 1.5 MB / s write speed.
got_milk
DD-WRT User


Joined: 05 Dec 2009
Posts: 377
Location: Toronto, Canada

PostPosted: Sun Jan 03, 2010 19:05    Post subject: Reply with quote
Maybe someone could give me some insight here?

I've switched to Eko's K2.6 13562 build (newer). I've gotten FUSE to successfully load on every boot, and I've got ntfs-3g residing in /usr/sbin.

Problem is, when I telnet in, I always get:

-sh: ntfs-3g: not found

EVEN if I cd over to /usr/sbin.

I can even use tab complete and it won't work.

What am I overlooking here!? Very Happy

_________________
Peacock Thread | Wireless Drops/Slow? Got an Intel Card? Read this! | BrainSlayer Builds | Eko Builds

Netgear WNDR3700 - OpenWRT Kamikaze Bleeding Edge Trunk Builds
(retired) Linksys WRT310N v1 - DD-WRT v24-sp2 build 15693 std-nokaid-small NEWD2 K2.6
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Sun Jan 03, 2010 19:11    Post subject: Reply with quote
I don't know your problem, but the latest version of my automount script runs here with support for ntfs...
_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
got_milk
DD-WRT User


Joined: 05 Dec 2009
Posts: 377
Location: Toronto, Canada

PostPosted: Sun Jan 03, 2010 19:20    Post subject: Reply with quote
frater wrote:
I don't know your problem, but the latest version of my automount script runs here with support for ntfs...


What version of ntfs-3g are you using? Practically all I see are for version 2009.4.4 - which is outdated, and should be on to 2009.11.14 - what I'm implementing now.

_________________
Peacock Thread | Wireless Drops/Slow? Got an Intel Card? Read this! | BrainSlayer Builds | Eko Builds

Netgear WNDR3700 - OpenWRT Kamikaze Bleeding Edge Trunk Builds
(retired) Linksys WRT310N v1 - DD-WRT v24-sp2 build 15693 std-nokaid-small NEWD2 K2.6
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Sun Jan 03, 2010 19:51    Post subject: Reply with quote
I'm using 4.4.2009 and it's working...
What should I do to download the newer version and will it then still work?

_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
got_milk
DD-WRT User


Joined: 05 Dec 2009
Posts: 377
Location: Toronto, Canada

PostPosted: Sun Jan 03, 2010 19:54    Post subject: Reply with quote
I'm trying to download and compile from source but it's being very problematic for me.

I'm not sure how the older version was built but for whatever reason I keep on getting errors when I try to run under DD-WRT.

For example:

ntfs-3g: line 1: syntax error: "("

_________________
Peacock Thread | Wireless Drops/Slow? Got an Intel Card? Read this! | BrainSlayer Builds | Eko Builds

Netgear WNDR3700 - OpenWRT Kamikaze Bleeding Edge Trunk Builds
(retired) Linksys WRT310N v1 - DD-WRT v24-sp2 build 15693 std-nokaid-small NEWD2 K2.6
rhdcheme
DD-WRT User


Joined: 16 Jun 2007
Posts: 168
Location: Northern Virginia, USA

PostPosted: Sun Jan 03, 2010 20:45    Post subject: Reply with quote
Method1 posted here did not work for me (insmod command did not work), but I am able to access the NTFS partition using WinSCP in combination with Frater's optware, which seemed to install ntfs-3g by default.
_________________
E3000 (converted from WRT610NV2)
ASUS RT-N56U Firmware 1.0.1.4 (reverted from 1.0.1.5)
crashfly
DD-WRT Guru


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

PostPosted: Sun Jan 03, 2010 21:58    Post subject: Reply with quote
got_milk wrote:
Maybe someone could give me some insight here?

I've switched to Eko's K2.6 13562 build (newer). I've gotten FUSE to successfully load on every boot, and I've got ntfs-3g residing in /usr/sbin.

Problem is, when I telnet in, I always get:

-sh: ntfs-3g: not found

EVEN if I cd over to /usr/sbin.

I can even use tab complete and it won't work.

What am I overlooking here!? Very Happy

It may be a bit late for response to this post, but has the 'ntfs-3g' command been made executable ('chmod +x ntfs-3g')? There is no reason why it should not work unless it is not executable.

_________________
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: Sun Jan 03, 2010 21:59    Post subject: Reply with quote
@ got_milk: The problems you are having, I already had when I tried to built fuse module and ntfs-3g for K2.4, you will have to try multiple gcc versions.

@ rhdcheme: Please post your router model, build number and error you are getting.
got_milk
DD-WRT User


Joined: 05 Dec 2009
Posts: 377
Location: Toronto, Canada

PostPosted: Sun Jan 03, 2010 23:49    Post subject: Reply with quote
Any suggestions what version I should use? I'm currently falling back to 4.3.4 now.
_________________
Peacock Thread | Wireless Drops/Slow? Got an Intel Card? Read this! | BrainSlayer Builds | Eko Builds

Netgear WNDR3700 - OpenWRT Kamikaze Bleeding Edge Trunk Builds
(retired) Linksys WRT310N v1 - DD-WRT v24-sp2 build 15693 std-nokaid-small NEWD2 K2.6
fggs
DD-WRT Guru


Joined: 28 Jan 2008
Posts: 1741

PostPosted: Mon Jan 04, 2010 0:10    Post subject: Reply with quote
I think there's an option while compiling, can't remember it correctly like CC=gcc-3.2. And gcc-3.2 is what I would use.
got_milk
DD-WRT User


Joined: 05 Dec 2009
Posts: 377
Location: Toronto, Canada

PostPosted: Mon Jan 04, 2010 0:13    Post subject: Reply with quote
fggs wrote:
I think there's an option while compiling, can't remember it correctly like CC=gcc-3.2. And gcc-3.2 is what I would use.


Wow, going a long way back! Setting it all up now...

EDIT: Apparently Ubuntu has dropped all support for the GCC 3.X series awhile ago. Therefore, I need a new older distro to compile in, since gcc 4 won't compile gcc 3. Sad

_________________
Peacock Thread | Wireless Drops/Slow? Got an Intel Card? Read this! | BrainSlayer Builds | Eko Builds

Netgear WNDR3700 - OpenWRT Kamikaze Bleeding Edge Trunk Builds
(retired) Linksys WRT310N v1 - DD-WRT v24-sp2 build 15693 std-nokaid-small NEWD2 K2.6
Goto page Previous  1, 2, 3, 4 ... 11, 12, 13  Next Display posts from previous:    Page 3 of 13
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