Kong said: @Avmat: It is a std + usb + ftp + samba3 + ntfs Samba and ntfs support need a lot of flash space, so for a wnr3500l it is not possible to integrate these features into big. @taekwon3dan: Yes
Hi,
it is nice compilation, but I have problem with set up permission. When I want to open folder "Share" in WinXP it is not possible or after open folder I'm not able to create subfolder, delete files etc...
I tried click right mouse button on folder "Share" but there is not possible set up permision for user. Maybe it is possible but not in my case.
How can I set permission for "Share" and subfolders. Ideally I need 3 folders and 2 users. Everyone can write and read from one folder and both can only read from third folder.
Can you advise me how can I set these permissions?
Sorry for my English I hope you understand my problem :-)
I want to run a ldna service.
I tried to install twonky which comes with optware.
The service is running but I can't connect with it by it's ip 192.168.1.1:9000
Do you have any sugestions of which ldna server I could use with this build that works?
Perhaps you've installed one youreselve.
As I have read, installing Optware requires repartioning the external disk drive. I want to be able to connect the router to my NTFS external disk drive, but I have been wowed by the vast amount of data that is availablem, but unorganized/uncategorized.
Optware seems to require a certain amount of data which would need external storage. I do really not trust repartitioning my external NTFS drive, as I have gotten it back from RMA fixed after issues with running Linux and the external drive. I don't mind tweaking my router (3500L), but not the drive.
Kong: I tried to set Samba according to your advice (comment from May 24, 2010 7:31 PM) but there is something wrong. Connection to Share1 (user1) work perfect but I not able to connect to Share2 (user2). When I want to connect to Share2 is displayed message with error:
Is not possible connect device: There is multiple connection to server and is not possible to use more than one user. Close other connection to server and try it again.
It is not exactly because my Windows are localized in Czech language :-) Do you know how I can solve this problem? I'm not sure where is problem (WinXp or Samba).
First off: THANK YOU. This is a great package. Perfect for my needs and I am sure many many others.
I am a complete newbie to DD-WRT. If you had the time, could you offer some advice on how to share a printer with your FW. I have found things like this that help in general, but I am left wondering what might be different with your FW.
cz_coxx said: Is not possible connect device: There is multiple connection to server and is not possible to use more than one user. Close other connection to server and try it again. It is not exactly because my Windows are localized in Czech language :-) Do you know how I can solve this problem? I'm not sure where is problem (WinXp or Samba). Thank you for your help
If you first connect to Share1 and then to Share2 Windows is still holding a connection to Share1 and that is why Wikndows tells you that you cannot connect multiple times with different users, see the error message:-)
So this is purely a windows problem, which can solved for example through a reboot.
So, I have done a ton of reading and am a little less of a newbie now. :-)
I think my question now is why jffs has no space available? It shows 4,224.00 KB / 0 for JFFS2. As I have read, I need to do a ipkg install of p910nd. However, I can't do so as /jffs has no space. Is it set to Read Only?
For JFFS you need to do the following. Enable JFFS and enable clean JFFS, then your router schould reboot and create the JFFS structure, now you need to reboot again, since JFFS filestructure is only read at boot time. Now you should see the correct space.
I'm trying it out and it works great. Fantastic job! Thanks for putting together this firmware.
I'm currently getting about a 3.8 MB/sec transfer rate on my file transfers with the CPU and RAM usage basically at 100%. Is this normal? I know that the capabilities of the router's hardware are limited. Are there any samba tweaks that might help me get better read/write speeds?
I'm trying this out and it works fantastic. Great job!.
I'm in the middle of a fairly large file transfer and I'm averaging 3.8 MB/sec with the CPU and RAM usage at approximately 100%. My external HD is formatted to ext2. Is this normal performance for Samba on one of these routers? I know the hardware is pretty limited. Are there any tweaks to make samba work better?
the settings are already tweaked for performance. Samba adds some overhead to its communication and it is not good in writing to the drives. Using proftpd you get better transferspeeds. However it depends a lot on what filesystem you use.
I did some testing with a flash drive and ext3 where I achieved about 5MB/s. NTFS is definitely a lot slower FAT should be okay too.
dragonator said: Hi, is it possible to add and openvpn in this build?
It's not a big deal to enable it in the build process, but I don't know yet how much flash it needs and if I can enable it along with the other features I added.
dragonator said: Hi, is it possible to add and openvpn in this build?
It's not a big deal to enable it in the build process, but I don't know yet how much flash it needs and if I can enable it along with the other features I added.
Hi
I was looking at the smb.conf in the /tmp directory. When i use the custom configuration field it puts ^M at the end of every line in there.
so i get
[global]^M
server string = Router^M
workgroup = Home^M
interfaces = br*^M
...
Will these character return symbols cause problems? I ask because i locked up my last router trying to apply this.
Thanks kong yeah was using putty, one last thing. I'm not able to get write access to any of the network drives. When i try to make a folder or drag n drop a file into it, it says i need permission to perform this action.
this is my setup file
[global]
server string = BCR BOX
workgroup = workgroup
interfaces = br*
bind interfaces only = Yes
map to guest = Bad User
smb passwd file = /var/samba/smbpasswd
private dir = /var/samba
passdb backend = smbpasswd
log file = /var/smbd.log
max log size = 1000
printing = none
load printers = No
usershare allow guests = Yes
[Public]
comment = Public Share
path = /mnt/Public
read only = No
guest ok = Yes
guest only = Yes
writeable = yes
[Share1]
comment = Restricted Area
path = /mnt/
read only = No
guest ok = No
valid users = newimage
This is because the guest user or any other "samba" user is not allowed to write to the mounted dir. DD-WRT by default mounts with only root write permission. My next release which should be out the next few days will have this changed
Supply chain attacks, ransomware attacks, phishing, data breaches; all these types of attacks are on the rise, thanks to the expansion of the connected world. With greater expansion comes greater security risk.
Hi!
Very useful features for all...
Is your mod based on "big" built feature set?
Thanks,
Mat
Which build is this? Is there printer support as well?
@Avmat: It is a std + usb + ftp + samba3 + ntfs
Samba and ntfs support need a lot of flash space, so for a wnr3500l it is not possible to integrate these features into big.
@taekwon3dan: Yes
svn#?
Hi,
it is nice compilation, but I have problem with set up permission. When I want to open folder "Share" in WinXP it is not possible or after open folder I'm not able to create subfolder, delete files etc...
I tried click right mouse button on folder "Share" but there is not possible set up permision for user. Maybe it is possible but not in my case.
How can I set permission for "Share" and subfolders. Ideally I need 3 folders and 2 users. Everyone can write and read from one folder and both can only read from third folder.
Can you advise me how can I set these permissions?
Sorry for my English I hope you understand my problem :-)
Hi cz_coxx, before you start make sure you got the latest image from here:
http://www.desipro.de/ddwrt/dd-wrt-usb-ftp-samba3-O2-v24-K26-broadcom.bin
There I have fixed a problem with permissions using fat32 volumes.
Then if you need to setup shares for different users:
-connect the external drive to your computer, create folder "Share1" "Share2" in its root
-connect the drive to your router, set up usb stuff to mount the drive in /jffs
-go to the samba setup page, enable custom configuration
enter user a + pass, user b + pass
-now add a custom setup like this one:
[global]
server string = My Samba
workgroup = Home
interfaces = br*
bind interfaces only = Yes
map to guest = Bad User
smb passwd file = /var/samba/smbpasswd
private dir = /var/samba
passdb backend = smbpasswd
log file = /var/smbd.log
max log size = 1000
printing = none
load printers = No
usershare allow guests = Yes
[Share1]
comment = Restricted Area
path = /jffs/Share1
read only = No
guest ok = No
valid users = a
[Share2]
comment = Restricted Area
path = /jffs/Share2
read only = No
guest ok = No
valid users = b
Kong:
Thank you for your advice.
If I understand when I want to have Share3 where will be only read permision for both users add to custom setup this paragraph:
[Share3]
comment = Restricted Area
path = /jffs/Share3
read only = Yes
guest ok = No
valid users = a
valid users = b
It is correct?
Almost, it would be:
valid users = a b
@kong
I want to run a ldna service.
I tried to install twonky which comes with optware.
The service is running but I can't connect with it by it's ip 192.168.1.1:9000
Do you have any sugestions of which ldna server I could use with this build that works?
Perhaps you've installed one youreselve.
Hi Pablo you could try:
http://www.myopenrouter.com/download/18561/miniDLNA-experimental-optware...
The above article mentions automatic discovery is not working, it should using my mod, since I have included inotify.
Thanks Kong, this is what I need. Perfect. Thanks, thanks, thanks.
As I have read, installing Optware requires repartioning the external disk drive. I want to be able to connect the router to my NTFS external disk drive, but I have been wowed by the vast amount of data that is availablem, but unorganized/uncategorized.
Optware seems to require a certain amount of data which would need external storage. I do really not trust repartitioning my external NTFS drive, as I have gotten it back from RMA fixed after issues with running Linux and the external drive. I don't mind tweaking my router (3500L), but not the drive.
ujjain, just use my dd-wrt mod, it has ntfs-3g included:
http://www.desipro.de/ddwrt/dd-wrt-usb-ftp-samba3-O2-v24-K26-broadcom.bin
you won't need any optware setup.
Kong:
I tried to set Samba according to your advice (comment from May 24, 2010 7:31 PM) but there is something wrong. Connection to Share1 (user1) work perfect but I not able to connect to Share2 (user2). When I want to connect to Share2 is displayed message with error:
Is not possible connect device: There is multiple connection to server and is not possible to use more than one user. Close other connection to server and try it again.
It is not exactly because my Windows are localized in Czech language :-) Do you know how I can solve this problem? I'm not sure where is problem (WinXp or Samba).
Thank you for your help
First off: THANK YOU. This is a great package. Perfect for my needs and I am sure many many others.
I am a complete newbie to DD-WRT. If you had the time, could you offer some advice on how to share a printer with your FW. I have found things like this that help in general, but I am left wondering what might be different with your FW.
Thanks a ton.
If you first connect to Share1 and then to Share2 Windows is still holding a connection to Share1 and that is why Wikndows tells you that you cannot connect multiple times with different users, see the error message:-)
So this is purely a windows problem, which can solved for example through a reboot.
So, I have done a ton of reading and am a little less of a newbie now. :-)
I think my question now is why jffs has no space available? It shows 4,224.00 KB / 0 for JFFS2. As I have read, I need to do a ipkg install of p910nd. However, I can't do so as /jffs has no space. Is it set to Read Only?
Any help would be appreciated.
WNR3500L
For JFFS you need to do the following. Enable JFFS and enable clean JFFS, then your router schould reboot and create the JFFS structure, now you need to reboot again, since JFFS filestructure is only read at boot time. Now you should see the correct space.
Hi jsims,
first disable Public hare, then enable "Use Custom Configuration" and enter for example:
[global]
server string = Router
workgroup = Home
interfaces = br*
bind interfaces only = Yes
map to guest = Bad User
smb passwd file = /var/samba/smbpasswd
private dir = /var/samba
passdb backend = smbpasswd
log file = /var/smbd.log
max log size = 1000
printing = none
load printers = No
usershare allow guests = Yes
[Public]
comment = Public Share
path = /mnt/
read only = No
guest ok = Yes
guest only = Yes
Hi, is it possible to add and openvpn in this build?
I'm trying it out and it works great. Fantastic job! Thanks for putting together this firmware.
I'm currently getting about a 3.8 MB/sec transfer rate on my file transfers with the CPU and RAM usage basically at 100%. Is this normal? I know that the capabilities of the router's hardware are limited. Are there any samba tweaks that might help me get better read/write speeds?
I'm trying this out and it works fantastic. Great job!.
I'm in the middle of a fairly large file transfer and I'm averaging 3.8 MB/sec with the CPU and RAM usage at approximately 100%. My external HD is formatted to ext2. Is this normal performance for Samba on one of these routers? I know the hardware is pretty limited. Are there any tweaks to make samba work better?
Hi an0dos,
the settings are already tweaked for performance. Samba adds some overhead to its communication and it is not good in writing to the drives. Using proftpd you get better transferspeeds. However it depends a lot on what filesystem you use.
I did some testing with a flash drive and ext3 where I achieved about 5MB/s. NTFS is definitely a lot slower FAT should be okay too.
It's not a big deal to enable it in the build process, but I don't know yet how much flash it needs and if I can enable it along with the other features I added.
Thanks, I will look forwart to this feature.
Hi
I was looking at the smb.conf in the /tmp directory. When i use the custom configuration field it puts ^M at the end of every line in there.
so i get
[global]^M
server string = Router^M
workgroup = Home^M
interfaces = br*^M
...
Will these character return symbols cause problems? I ask because i locked up my last router trying to apply this.
I guess you are using putty, these chars only show up if the terminal, encoding settings of the clients application are wrong.
Thanks kong yeah was using putty, one last thing. I'm not able to get write access to any of the network drives. When i try to make a folder or drag n drop a file into it, it says i need permission to perform this action.
this is my setup file
[global]
server string = BCR BOX
workgroup = workgroup
interfaces = br*
bind interfaces only = Yes
map to guest = Bad User
smb passwd file = /var/samba/smbpasswd
private dir = /var/samba
passdb backend = smbpasswd
log file = /var/smbd.log
max log size = 1000
printing = none
load printers = No
usershare allow guests = Yes
[Public]
comment = Public Share
path = /mnt/Public
read only = No
guest ok = Yes
guest only = Yes
writeable = yes
[Share1]
comment = Restricted Area
path = /mnt/
read only = No
guest ok = No
valid users = newimage
This is because the guest user or any other "samba" user is not allowed to write to the mounted dir. DD-WRT by default mounts with only root write permission. My next release which should be out the next few days will have this changed
In your case for now all you need to do is, add:
chmod 777 /mnt
to startup:
Administration->Save Startup
Kong,
What and where is your latest release for this issue?
Tim
Pages