OUR NETWORK:TiVo Community TechLore Explore3DTV DVRplayground Dijit Community See all... About UsAdvertiseContact Us

Need Assistance with USB and Samba

 
Learn about scoring Download Discussion's Raw Score: 179822.0
November 9, 2010 10:30 PM
Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

geah70

Member

Hello,

I just recently installed build 15510 on my ASUS RT-N16 router.  I attached a 2TB USB HD with 4 partitions and configured SAMBA but can only see a read-only "Public" folder.

The 4 partitions are:

1) Optware ext3

2) SwapFile swapfile

3) JFFS ext3

4) Data ext3

I am expecting to have most of my shared files (documents and media) in the Data partition.  Below is my USB Support screen (note I don't seem to see the ext2/ext3 support)



The Disk Info is as follows:

--- /dev/discs/disc0/disc 
Block device, size 1.819 TiB (2000396746752 bytes) 
DOS/MBR partition map 
Partition 1: 512 MiB (536870912 bytes, 1048576 sectors from 2048) 
Type 0x83 (Linux) 
Ext3 file system 
Volume name "Optware" 
UUID CBA2C1CC-A163-49E0-A354-7B71289B767B (DCE, v4) 
Volume size 512 MiB (536870912 bytes, 131072 blocks of 4 KiB) 
Partition 2: 64 MiB (67108864 bytes, 131072 sectors from 1050624) 
Type 0x82 (Linux swap / Solaris) 
Linux swap, version 2, subversion 1, 4 KiB pages, little-endian 
Swap size 63.99 MiB (67100672 bytes, 16382 pages of 4 KiB) 
Partition 3: 256 MiB (268435456 bytes, 524288 sectors from 1181696) 
Type 0x83 (Linux) 
Ext3 file system 
Volume name "JFFS" 
UUID A9BA4F14-4574-401F-B0E3-6DD5514DFAA6 (DCE, v4) 
Volume size 256 MiB (268435456 bytes, 262144 blocks of 1 KiB) 
Partition 4: 1.819 TiB (1999523282944 bytes, 3905318912 sectors from 1705984) 
Type 0x83 (Linux) 
Ext3 file system 
Volume name "Data" 
UUID 06E97EAC-FCFA-4782-853F-147997296F56 (DCE, v4) 
Volume size 1.819 TiB (1999523282944 bytes, 488164864 blocks of 4 KiB) 
Status: Mounted on /opt 

Below is the configuration of the NAS.

What am I doing wrong that I can only see a read-only Public folder?

Please note that will also be enabling miniDLNA soon and will point to some folders in the Data partition.  Thank you for help.

Regards,

Jeffrey

Discussion:    Add a Comment | Comments 1-5 of 5 | Latest Comment

November 10, 2010 1:16 AM

Hi Jeffrey, you have to set Sambas "PATH to Files" to /opt in your case. Ext2/ext3 is not needed anymore, the new hotplug system loads the appropriate fs drivers on demand.

November 10, 2010 8:02 AM

Hi Kong,

Thanks for the quick reply.  I will try that when I get the Samba service working again.  I think I messed it up by installing Optware.  Do you know if your mod is compatiable with Optware?  I believe the Optware package has Samba also included.

Also, I assume that the Samba version is 3 but when I did a verison on it it said version 2.  I thought Windows 7/Vista had authenication issues with Samba versions lower than 3.  I actually attempted to upgrade the Optware Samba to version 3.5 (?) but that didn't work.

Thanks.

November 10, 2010 9:31 AM

The included version is samba 3.0.24. In general it is compatible with optware packages, but some optware packages will not work due to differences in dd-wrt/openwrts toolchain. Once I find the time for it I'll update my ipkg repository again and include the url in the ipkg.conf in the firmware.

November 10, 2010 10:38 PM

Hi Kong

changing the path to /opt worked.  Unfortunately I can only see that partition.  How do I go about mounting the other partitions (especially partition 4)

I attempted to mount part4 to a new directory under /tmp but that doesn't seem to work.  It mounts something but not the part 4

mkdir /tmp/dat 

mount /dev/discs/disc0/part4 /tmp/dat 

Thanks.

November 11, 2010 6:42 AM

The problem is that /tmp is a readonly dir you cannot create a directory there, you have to use a directory in ram like:

/var/dat

or an existing dir like /mmc /jffs

Discussion:    Add a Comment | Back to Top | Comments 1-5 of 5 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window